Skip to content

Download torrents using telegram bot and access content through ftp server.

Notifications You must be signed in to change notification settings

jayeen28/torrent-to-ftp

Repository files navigation

Project Description

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.

Startup

  1. First clone this repo.
  2. Setup .env variables. Checkout .env.example for reference.
  3. Install docker if you don't have already installed.
  4. 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.
  5. Run yarn start or node index.js to start the telegram bot. Use pm2 if you want to run it in the background.

Screenshots

  1. The /start command: The /start command

  2. The /add magnetLink command: The /add magnetLink command

  3. The /seAll command: The /seeAll command

About

Download torrents using telegram bot and access content through ftp server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published