1
0
Fork
You've already forked stickerbridge
0
forked from didek/stickerbridge
Telegram -> Matrix stickerpack bot
  • Python 100%
2024年02月28日 15:59:49 +08:00
.idea Initial commit 2022年09月11日 18:34:24 +02:00
stickerbridge Various hacks 2024年02月28日 15:59:49 +08:00
.gitignore Ignore Dolphin .directory files 2022年09月12日 13:05:30 +02:00
avatar.png Initial commit 2022年09月11日 18:34:24 +02:00
config.yaml.example Add README.md 2022年09月11日 22:38:20 +02:00
LICENCE.md Add LICENCE.md 2022年09月11日 20:18:23 +02:00
README.md Add missing prefixes in README.md 2022年09月20日 14:56:20 +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/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.