Find relevant emoji from text on the command-line 😮 🙌 🐴 💥 🙈
JavaScript
Latest commit 2ea3c23 May 10, 2017 @sindresorhus 1.1.0
Permalink
Failed to load latest commit information.
.editorconfig Meta tweaks May 10, 2017
.gitattributes Meta tweaks Jan 13, 2017
.gitignore init Jun 22, 2016
.travis.yml init Jun 22, 2016
cli.js Fix issue from #19 with it not preserving the skin color May 10, 2017
index.js init Jun 22, 2016
license init Jun 22, 2016
package.json 1.1.0 May 10, 2017
readme.md Meta tweaks May 10, 2017
screenshot.gif init Jun 22, 2016
test.js Meta tweaks May 10, 2017

readme.md

emoj Build Status

Find relevant emoji from text on the command-line

Uses the API from this great article on Emoji & Deep Learning.
Check out the Dango app if you want something like this on your phone.

Install

Ensure you have Node.js version 4 or higher installed. Then run the following:

$ npm install --global emoj

Works best on macOS. Terminals on Linux render emojis in monochrome as they don't support color emojis. On Linux, I would recommend installing Emoji One for full emoji coverage. Doesn't really work on Windows.

Usage

$ emoj --help

  Usage
    $ 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

License

MIT © Sindre Sorhus