- emo is a CLI tool to find emojis with fuzzy-find window.
- This tool is using data of https://github.com/iamcal/emoji-data
- This tool requires Go 1.23.3+ for installation.
go install github.com/syumai/emo/cmd/emo@latest
$ emo exclamation
❗
# Open fuzzy find window
$ emo
> exclamation
3/1643
> excla # Enter to get emoji
❗
$ emo -rand
😁
$ emo -listsub
alphanum
animal-amphibian
animal-bird
...
warning
writing
zodiac
$ emo -findsub
> warning_
16/1817
> warning_no_bicycles # Enter to get emoji
🚳
$ emo -randsub animal-bird
🦜
- To copy emoji to your clipboard, please use commands like pbcopy (on Mac) or xsel (on Linux).
# Copy emoji of star to clipboard.
$ emo star | pbcopy (or `xsel -ib` on Linux)
go get github.com/syumai/emo
// EmojiData is a list of emoji
emoji := emo.EmojiData[0]
// print data of emoji
// { Name, Unified, NonQualified, Docomo, Au, Softbank, Google...
fmt.Println(emoji)
// get specified emoji by short name
starEmoji := emo.Get("star")
// print emoji as string: ⭐
fmt.Println(starEmoji.String())
- MIT