tg2toot/README.md
2023-12-12 07:46:30 -05:00

504 B

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