Skip to content

Convert images from tweets into Slack-worthy emojis.

Notifications You must be signed in to change notification settings

codebytere/emoji-mashup-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ 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://<your_workspace>.slack.com/customize/emoji, you should then see:

Screen Shot 2019-09-13 at 7 33 04 PM

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.

About

Convert images from tweets into Slack-worthy emojis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published