Convert the aliases to emoji raw characters. (e.g. :+1:
→ 👍)
$ make && make install
The binary goemojify
will be located in $GOPATH/bin
.
- emoji.json: emoji data from gemoji (official?)
- go-bindata: inject json into executable
- json-iterator: High-Performance JSON Tool
- cobra: Modern CLI
Same as the original use except for the following:
- I renamed the executable to
goemojify
. - Interactive is not supported. (Should I do it? 🤔)
-f
string: convert aliases to emoji in text file
$ goemojify -f emojify_tests.bats
It's a golang port of the original emojify, all the glories should belong to mrowa44.
@haukened: His project is also aimed at converting aliases to emojis in Go, which can be imported into the Go module. I was able to get some hints on regular expressions (regexp) from his project. I am not going to distribute this project as a Go module.
@Nicola Apicella: Through his article I was able to learn how to use Linux pipe and cobra in Golang.
- Release (cross-compiled)
- Containerization
- Optimazation
MIT