Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kfur/torrentit
Telegram bot for downloading torrents without storage
https://github.com/kfur/torrentit
bittorrent-client download-torrents fexnet in-memory libtorrent telegram telegram-bot torrent
Last synced: 2 months ago
JSON representation
Telegram bot for downloading torrents without storage
- Host: GitHub
- URL: https://github.com/kfur/torrentit
- Owner: kfur
- Created: 2020-02-01T19:17:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-16T20:16:11.000Z (over 3 years ago)
- Last Synced: 2023-11-15T17:46:00.573Z (about 1 year ago)
- Topics: bittorrent-client, download-torrents, fexnet, in-memory, libtorrent, telegram, telegram-bot, torrent
- Language: Python
- Homepage: https://t.me/bitmagnetbot
- Size: 20.1 MB
- Stars: 36
- Watchers: 6
- Forks: 40
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# torrentit
Telegram bot for download torrents without persistent storage.
Torrents content can be stored into telegram or temporarily in fex.net.# Dependencies
Python3 dependencies install via `pip3 install -r requirements.txt`# Build
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.# Running
Run `cd src; python3 main.py`.Set the following enviroment variables:
1. Bot token(from Bot Father):
`BOT_TOKEN`
2. Api id (https://core.telegram.org/api/obtaining_api_id):
`API_ID`
3. Api hash (https://core.telegram.org/api/obtaining_api_id):
`API_HASH`