Coder Social home page Coder Social logo

prantadas / qbit-go Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.44 MB

The project aims to leverage the download of torrent file through a telegram bot. Simply add the download link to the bot and it will start downloading the torrent file in local mode using Qbit Torrent client.

License: MIT License

Dockerfile 9.03% Go 90.97%
golang plex-media-server qbittorrent-api telegram-bot

qbit-go's Introduction

Telegram Bot for qBitTorrent and Plex Integration.

This project is a Telegram bot that seamlessly integrates with the qBittorrent client and Plex media server, enabling easy torrent management and local streaming. Users can interact with the bot to add magnet links to the download queue, and once downloaded, the files are available for streaming on a local Plex media server.

Features

  • Seamless integration with Telegram for easy torrent management.
  • Automatic downloading of magnet links using qBittorrent.
  • Local streaming of downloaded content via Plex media server.
  • Easy deployment using Docker and Docker Compose.

Prerequisites

Before running the Telegram bot, ensure you have the following prerequisites installed:

  • Docker
  • Docker Compose

Installation

  1. Clone this repository to your local machine:

    git clone [email protected]:PrantaDas/Qbit-Go.git
  2. Navigate to the project directory:

    cd Qbit-Go
  3. Build and start the services using Docker Compose:

    docker-compose up -d

Usage

  1. Start the Telegram bot by sending /start command in the Telegram chat.
  2. Add a magnet link to the download queue using the /magnet command.
  3. Monitor the download progress in the qBittorrent web interface (accessible at http://localhost:8090).
  4. Once the download is complete, the file will be available for streaming on the Plex media server (accessible at http://localhost:8000).

Configuration

  1. Telegram Bot Token: Set your Telegram bot token in the docker-compose.yml file under the app service environment variables.

  2. qBittorrent Web UI Credentials: Update the username and password in the docker-compose.yml file under the app service environment variables if required.

  3. Plex Media Server Configuration: Customize Plex configuration options in the docker-compose.yml file under the plex service environment variables.

Set password

Add this in config/config/qBittorrent.conf. This will set the username admin and password adminadmin

[Preferences]
WebUI\Password_PBKDF2="@ByteArray(ARQ77eY1NUZaQsuDHbIMCA==:0WMRkYTUWVT9wVvdDtHAjU9b3b7uB8NR1Gur2hmQCvCDpm39Q+PsJRJPaCU51dEiz+dTzh8qbPsL8WkFljQYFQ==)"

Acknowledgements

Special thanks to Rakibul Yeasin for his guidance and contributions to this project. The implementation of the bot is also available in Rust. You can check out here ChatQbit.

qbit-go's People

Contributors

dreygur avatar prantadas avatar

Watchers

 avatar  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.