https://github.com/unixource/mtdntg
Bridge from Mastodon to Telegram
https://github.com/unixource/mtdntg
mastodon mastodon-bot telegram telegram-bot
Last synced: about 1 year ago
JSON representation
Bridge from Mastodon to Telegram
- Host: GitHub
- URL: https://github.com/unixource/mtdntg
- Owner: unixource
- License: gpl-3.0
- Created: 2025-01-30T04:31:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T18:10:24.000Z (over 1 year ago)
- Last Synced: 2025-03-26T20:26:48.104Z (about 1 year ago)
- Topics: mastodon, mastodon-bot, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mtdntg - Matrix to Telegram bridge.
## About
This is the source code for the Telegram bot [@MastodonBridgeBot](https://t.me/MastodonBridgeBot). It allows you to redirect messages from Mastodon to Telegram with absolutely no restrictions. The bridge requires minimal information and is easy to use.
## Setting up
- Linux
```
git clone https://github.com/unixource/mtdntg.git
cd mtdntg
python -m venv env
source env/bin/activate
pip install -r requirements.txt
pysondb create db/db.json
pysondb create db/channels.json
```
After that, create an .env file with the contents:
```
TOKEN="YOUR_TELEGRAM_BOT_TOKEN"
VERSION="BOT_VERSION" #optional
```
Done :D
Now you can run the main script