https://github.com/codebytere/emoji-mashup-convert
Convert images from tweets into Slack-worthy emojis.
https://github.com/codebytere/emoji-mashup-convert
Last synced: 9 months ago
JSON representation
Convert images from tweets into Slack-worthy emojis.
- Host: GitHub
- URL: https://github.com/codebytere/emoji-mashup-convert
- Owner: codebytere
- Created: 2019-09-07T03:55:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T06:17:49.000Z (over 1 year ago)
- Last Synced: 2025-04-14T07:44:27.046Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 198 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emoji-mashup-convert
This cli tool converts media from tweets into emojis and then optionally uploads them to the Slack workspace of your choice.
## Usage
```sh
$ emoji-mashup-convert
? Enter tweet url: # https://twitter.com/EmojiMashupBot/status/1172404610159411200
? Upload emoji to Slack workspace? # Yes
? Enter name of new emoji: # sad-expressionless
? Enter Slack user token # xoxs-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# On success, outputs:
✓ See new image at: /Users/codebytere/Desktop/1172616005740388354.png
✓ New emoji successfully uploaded to Electron HQ.
```
After logging into `https://.slack.com/customize/emoji`, you should then see:

By default, the converted photo will go to `/path/to/Desktop` but if you'd like it to go elsewhere, you can set `process.env.OUT_DEST` to specify a custom destination.
You can set `process.env.SLACK_TOKEN` to avoid pasting in your token multiple times. You would still type `Yes` for "Upload emoji to Slack workspace?", but if it detects this env var it won't ask you for a token.