Automatically send telegram channel posts as mastodon toot
https://framagit.org/danialbehzadi/tgchannel2toot
.gitignore | ||
config.py.temp | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
run.sh | ||
tgchannel2toot.py |
This is a project to automatically send messages in a Telegram channel as a Mastodon toot.
Install
To make it work, do the following:
$ git clone https://gitlab.com/danialbehzadi/tgchannel2toot.git
$ cd tgchannel2toot
$ python3 -m venv .env
$ source .env/bin/activate
(.env)$ pip3 install -r requirements.txt
Config
Make a copy of config file:
(.env)$ cp config.py.temp config.py
Fill out config files.
Run
To run the bot do as following:
$ ./run.sh