Telegram -> Matrix stickerpack bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dawid Rejowski cf8e8ff2a1 Add missing prefixes in README.md 2 weeks ago
.idea Initial commit 3 weeks ago
stickerbridge Multiprocessed convertion 3 weeks ago
.gitignore Ignore Dolphin .directory files 3 weeks ago
LICENCE.md Add LICENCE.md 3 weeks ago
README.md Add missing prefixes in README.md 2 weeks ago
avatar.png Initial commit 3 weeks ago
config.yaml.example Add README.md 3 weeks ago
requirements.txt Automatic detecting mime type of images 3 weeks ago

README.md

Telegram -> Matrix stickerpack importer

This bot allows for simple and quick copying Telegram stickers into Matrix rooms. Stickers can be used in clients that implemented them natively by Matrix (msc2545) like FluffyChat, Nheko and Cinny. Element currently does not support native stickers (can only display them when send by others).

Requirements

  • Python 3.9+ and pip
  • Matrix account dedicated for the bot
  • Telegram API keys and bot token (Please don't share it with anyone)

Instalation

git clone https://codeberg.org/ghostermonster/stickerbridge 
cd stickerbridge
pip install -r requirements.txt
  • Copy example config file cp config.yaml.example config.yaml
  • Fill the config file with creditials for Matrix account and Telegram bot you created
  • Run the bot python stickerbridge/main.py

Usage

Invite the bot in a room (currently does not support encrypted rooms), type !sb help to list available commands. Type !sb import <stickerpack name> to import stickerpack to the room, ex. !sb import bestblobcats. After importing is completed, you will see stickerpack in the menu.