Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f/emoji-downloader
A simple Emoji downloader for CLI
https://github.com/f/emoji-downloader
emoji oneliner
Last synced: 17 days ago
JSON representation
A simple Emoji downloader for CLI
- Host: GitHub
- URL: https://github.com/f/emoji-downloader
- Owner: f
- License: cc0-1.0
- Created: 2021-08-22T13:12:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-24T14:38:29.000Z (about 3 years ago)
- Last Synced: 2024-10-12T13:11:07.816Z (about 1 month ago)
- Topics: emoji, oneliner
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⏬ Emoji Downloader
A simple Emoji downloader for CLI
## Features
- Uses emojipedia to get the file
- Supports all the emojis including the variants/skin tones## Installation
Copy and paste `emojidl.sh` contents (or following snippet) into your .bashrc or .zshrc file. It's a simple function:
```bash
emojidl() {
curl -kLss "https://emojipedia.org/search/?q=$1" | grep "on Apple" | grep " 2x" | sed -n 's/.*`
- Finds the lines including "on Apple" text
- Finds "2x" ones
- Parses the line using `sed` to extract the src attribute
- Uses `curl` once again to download the extracted URL## Usage
Just write the `emojidl ` and it'll find and download the emoji.
```bash
$ emojidl 🚂% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16940 100 16940 0 0 12233 0 0:00:01 0:00:01 --:--:-- 9472
```## License
It's CC0.