This project provides an automated setup for running a qBittorrent client within a Docker container, alongside a Telegram bot for remote control the qBittorrent and an FTP server for accessing downloaded files. The primary purpose is to simplify the process of managing torrent downloads and making them easily accessible via an FTP server. Users can start the torrent client, control it remotely through a Telegram bot, and access their downloaded files from any FTP client. You can have different use cases. But my purpose was to download movies whenever I want in my private server through telegram and access them using vlc player in my phone or laptop.
- First clone this repo.
- Setup
.env
variables. Checkout.env.example
for reference. - Install docker if you don't have already installed.
- Then run
docker compose up -d
. Your machine should have 21 and 21000-21010 ports available because it is a passive ftp connection. If not then configure that in the docker compose file. - Run
yarn start
ornode index.js
to start the telegram bot. Usepm2
if you want to run it in the background.