didek/stickerbridge
2
7
Fork
You've already forked stickerbridge
3
Telegram -> Matrix stickerpack bot
  • Python 100%
2025年07月27日 00:37:27 +02:00
.idea
stickerbridge allow for duplicate alter_text 2024年03月24日 03:51:05 +08:00
.gitignore Ignore Dolphin .directory files 2022年09月12日 13:05:30 +02:00
avatar.png
config.yaml.example Add README.md 2022年09月11日 22:38:20 +02:00
LICENCE.md
README.md Update README.md 2025年07月27日 00:37:27 +02:00
requirements.txt Automatic detecting mime type of images 2022年09月11日 23:12:24 +02:00

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/didek/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.