Skip to content

Python script to upload emojis in bulk to your rocketchat instance!

License

Notifications You must be signed in to change notification settings

amtypaldos/rocketchat-emoji-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocketchat-emoji-upload

CLI to bulk upload emojis to Rocketchat

Install

All required pip packages are in the requirements.txt file, install like so:

pip install -r requirements.txt

Usage

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.

Emoji Yaml File

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.

Emoji packs

Emoji packs from slackmojis.com

Credits

This is based on lambtron's emojipacks

About

Python script to upload emojis in bulk to your rocketchat instance!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages