This project dedicated to a telegram bot which can download magnet links and upload it to a server.
- Clone and cd to repo using
git clone https://github.com/lsnnt/tgmagnet && cd tgmagnet
- To run the bot first set the necessary variables
token should be your telegram bot token and path should be where the torrents are going to be downloaded
Lines 9 to 10 in 0e4c9d6
- Then install the necessary dependency using
pip3 install -r requirements.txt
- Then run the bot using
python3 __main__.py
Ctrl+C to exit If you want to run the bot in background
python3 __main__.py & disown
This is bandwith hungry as it first downloads the torrent and upload it to the server and then provide link to access the file. However if you want to only download the file download using aria2c or transmission-cli