dfithian / slack-emoji

Render kaomoji in Slack - superceded by https://kaomoji.moe/
2 stars 0 forks source link

slack-emoji

No longer maintained, see https://kaomoji.moe/

Web service providing text emojis by lookup term. Originally developed as a slash command in Slack.

TODO needs instructions for setting up Slack.

Environment

Haskell

If you haven't already, install stack. You'll need to install GHC as well: stack setup --install-ghc.

Docker (optional)

If you want to build locally for another architecture (like linux) you'll need to install docker and then build with --docker.

Building

# if you want to build for release you can remove `--fast`
# if you want to target linux for example (in the case you're deploying there you can specify `--docker`)
stack build --fast

Running

# TODO need to run the seed script to seed the database
stack exec slack-emoji
curl http://localhost:3000/?text=happy