Skip to content
/ emo Public

a CLI tool to find emojis with fuzzy-find window.

License

Notifications You must be signed in to change notification settings

syumai/emo

Repository files navigation

emo

Go Reference

Installation

  • This tool requires Go 1.23.3+ for installation.
go install github.com/syumai/emo/cmd/emo@latest

Usage

Simple find

$ emo exclamation
❗

Fuzzy find

# Open fuzzy find window
$ emo
> exclamation
  3/1643
> excla # Enter to get emoji
❗

Random select

$ emo -rand
😁

Fuzzy find / Random select by subcategory

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

Copying emoji

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

Using as library

Installation

go get github.com/syumai/emo

Usage

// 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())

License

  • MIT

Author

About

a CLI tool to find emojis with fuzzy-find window.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published