Skip to content
Find relevant emoji from text on the command-line 😮 🙌 🐴 💥 🙈
JavaScript
Branch: master
Clone or download
Latest commit e9da746 May 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create funding.yml May 28, 2019
.editorconfig Meta tweaks May 10, 2017
.gitattributes Meta tweaks Jan 13, 2017
.gitignore Meta tweaks Jul 6, 2017
.npmrc Meta tweaks Jul 6, 2017
.travis.yml Require Node.js 8 and use async/await (#22) Jul 9, 2017
cli.js Update to use ink@0.3.x (#29) Jul 20, 2017
index.js Require Node.js 8 and use async/await (#22) Jul 9, 2017
license Meta tweaks Jul 6, 2017
package.json 2.0.0 Jul 20, 2017
readme.md Add link to related package inquirer-emoji (#37) Feb 16, 2019
screenshot.gif init Jun 22, 2016
test.js Meta tweaks May 10, 2017
ui.js Update to use ink@0.3.x (#29) Jul 20, 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 8 or higher installed. Then run the following:

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

You can’t perform that action at this time.