Telegram bot for download torrents without persistent storage. Torrents content can be stored into telegram or temporarily in fex.net.
Python3 dependencies install via pip3 install -r requirements.txt
Run ./build-lt.sh
script to build libtorrent. Then copy ./boost_1_64_0/bin.v2/libs/python/build/gcc-7/release/asserts-production/i2p-off/libtorrent-link-static/libtorrent-python-pic-on/lt-visibility-hidden/libboost_python3.so.1.64.0
and libtorrent/bindings/python/bin/gcc-7/release/asserts-production/i2p-off/libtorrent-link-static/libtorrent-python-pic-on/lt-visibility-hidden/libtorrent.so
to project dir.
Run cd src; python3 main.py
.
Set the following enviroment variables:
- Bot token(from Bot Father):
BOT_TOKEN
- Api id (https://core.telegram.org/api/obtaining_api_id):
API_ID
- Api hash (https://core.telegram.org/api/obtaining_api_id):
API_HASH