GithubHelp home page GithubHelp logo

leo9843 / torrentit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kfur/torrentit

0.0 0.0 0.0 33 KB

Telegram bot for downloading torrents without storage

Dockerfile 0.98% Shell 1.35% Python 97.68%

torrentit's Introduction

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. For running required phone number for bypassing telegram bot api upload files limitation to 50 MB.

Set the following enviroment variables:

  1. Bot token(from Bot Father): BOT_TOKEN

  2. Chat id between bot and agent (client id with phone number): BOT_AGENT_CHAT_ID

  3. Chat id between agent and bot (bot name): BOT_ID

  4. Api id (https://core.telegram.org/api/obtaining_api_id): API_ID

  5. Api hash (https://core.telegram.org/api/obtaining_api_id): API_HASH

torrentit's People

Contributors

kfur avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.