Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/emoj
Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
https://github.com/sindresorhus/emoj
Last synced: 7 days ago
JSON representation
Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
- Host: GitHub
- URL: https://github.com/sindresorhus/emoj
- Owner: sindresorhus
- License: mit
- Created: 2016-06-22T19:21:27.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T11:13:50.000Z (7 months ago)
- Last Synced: 2024-10-29T15:27:22.719Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 577 KB
- Stars: 2,361
- Watchers: 17
- Forks: 57
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-nodejs-cn - emoj - 命令行下从文本中查找相关的 emoji (包 / 命令行程序)
- awesome-starred-test - sindresorhus/emoj - Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil: (TypeScript)
- awesome-typography - Emoj - Find relevant emoji from text on the command-line 😮 ✨ 🙌 🐴 💥 🙈. (Miscellaneous / Free)
- awesome-list - emoj - line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil: | sindresorhus | 2116 | (JavaScript)
- awesome-nodejs - emoj - Find relevant emoji from text on the command-line - ★ 1557 (Command-line apps)
- awesome-node - emoj - Find relevant emoji from text on the command-line. (Packages / Command-line apps)
- awesome-nodejs-cn - emoj - 在命令行上的文本中找到相关的表情符号. (目录 / 命令行应用)
README
# emoj
> Find relevant emoji from text on the command-line
Uses a local emoji database.
## Install
Ensure you have [Node.js 18+](https://nodejs.org) installed, and then run the following:
```sh
npm install --global emoj
```Works best on macOS and Linux. Older Linux distributions don't support color emoji in the terminal, but newer ones (like Ubuntu 18.04 and Fedora 28) do. On Linux, I would recommend installing [Emoji One](https://github.com/eosrei/emojione-color-font#install-on-linux) for full emoji coverage. [Doesn't really work on Windows.](https://github.com/sindresorhus/emoj/issues/5)
## Usage
```
$ emoj --helpUsage
$ emoj [text]Example
$ emoj 'i love unicorns'
🦄 🎠 🐴 🐎 ❤ ✨ 🌈Options
--copy -c Copy the first emoji to the clipboard
--skin-tone -s Set and persist the default emoji skin tone (0 to 5)Run it without arguments to enter the live search
Use the up/down keys during live search to change the skin tone
```## Related
- [alfred-emoj](https://github.com/sindresorhus/alfred-emoj) - Alfred plugin