CLI to bulk upload emojis to Rocketchat
All required pip packages are in the requirements.txt file, install like so:
pip install -r requirements.txt
In order to work you will need access to your rockechat mongo instance
$ python emoji-upload.py
URL for YAML file?https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/futurama.yaml
MongoDB URI for your rocketchat deployment?mongo://<mongoserver>
Note that the emoji pack to upload must be a URL, like http://www.emojipacks.com/packs/food.yaml.
Also note that the yaml file must be indented properly and formatted as such:
title: food
emojis:
- name: apple
src: http://i.imgur.com/Rw0Vlda.png
- name: applepie
src: http://i.imgur.com/g4RU1fM.png
..with the src
pointing to an image file.
- animals
- clippy
- fika
- frontend
- harrypotter
- mario
- occupy
- officespace
- omnom
- futurama
- food
- skype
- starwars
- startups
- businessfish
- hipchat
- twitch
- parrotparty (Parrot Paint)
- Finland
- pokemongo: items
- Pokémon Go: Pokémon (Prefixed
pokemon-*
) - politipack
- nekoatsume
- octicons
- pokemon
- devicon (Devicon)
- hamsterdance (snipe/emojipacks)
- avengers
- Shiba Stickers (from Messenger)
- gamedevmoji
- AWS simple icons
Emoji packs from slackmojis.com
- Uncategorized
- Facebook Reaction
- Logo
- Meme
- MLB
- NBA
- NFL
- NHL
- NYC Subway
- Party Parrot
- Pokemon
- Retro Game
- Scrabble Letters
- Skype
- Star Wars
- Turntable.fm
- Yoyo
This is based on lambtron's emojipacks