A simple CLI tool to download and archive your Slack workspace's custom emojis. It saves them to a local directory, skips aliases, and avoids re-downloading emojis you already have.
go install github.com/stahnma/slack-emoji-grabber@latestOr build from source:
make buildYou need a Slack Bot User OAuth Token with the emoji:read scope. Find it under "OAuth & Permissions" in your Slack App settings.
export SLACK_TOKEN="xoxb-1234567890-0987654321-AbCdEfGhIjKlMnOpQrStUvWxYz"slack-emoji-grabber [flags]| Flag | Default | Description |
|---|---|---|
-output |
emojis |
Directory to save emojis |
-v |
false |
Enable verbose/debug logging |
-version |
Print version and exit |
# Download all emojis to ./emojis
slack-emoji-grabber
# Download to a custom directory
slack-emoji-grabber -output /tmp/my-emojis
# See what's happening
slack-emoji-grabber -vmake help # Show available targets
make build # Build the binary
make test # Run tests
make lint # Run vet + gofmtMIT