chardidathing / signal-tgstickers

Small tool to grab and convert a Telegram Sticker pack to be ready to import into Signal Messenger
MIT License
23 stars 1 forks source link

Telegram Sticker Conversion Tool for Signal (or for anything else???)

READ THIS BEFORE SUBMITTING AN ISSUE!!!

As #3 pointed out, There is currently an issue where if the sticker pack has is_animated set to true, it's using the .tgs format, which for now is unsupported. I'll add in some code for a jank workaround to skip it for now but that is a thing that needs to be fixed. If you have any ideas let me know!


I wanted to pull some of the stickers I use on Telegram and move them into Signal, but didn't want to go through the process of doing it manually, so I took 10x the time in writing a script to do it! Woo,,,,, development.

Getting Started

Requirements

Setup

  1. Clone/Download the repository.
  2. Create a copy of config.ini.example called config.ini, specify your Bot Token here, and the default output directory of ./out should be fine, however change it if you like.
  3. Run python3 ./main.py, you will be prompted for the Sticker Pack URL, and it should begin downloading.

Issues

Troubleshooting

I haven't had any issues to really add here, but if you have any issues, feel free to let me know by opening an issue and I try to help!

Thanks!

If you used the script and thought it was helpful, feel free to star it!