An open API service indexing awesome lists of open source software.

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

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