Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 27 days ago
JSON representation

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:

Awesome Lists containing this project

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

- [alfred-emoj](https://github.com/sindresorhus/alfred-emoj) - Alfred plugin