All Projects β†’ zeroone2numeral2 β†’ qbittorrent-bot

zeroone2numeral2 / qbittorrent-bot

Licence: other
Telegram bot to mange your qBittorrent torrents

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to qbittorrent-bot

slam-mirrorbot
Aria/qBittorrent Telegram mirror/leech bot.
Stars: ✭ 1,072 (+1078.02%)
Mutual labels:  telegram-bot, qbittorrent
Trackerslistcollection
🎈 Updated daily! A list of popular BitTorrent Trackers! / 每倩更新!全网热门 BT Tracker εˆ—θ‘¨οΌ
Stars: ✭ 9,761 (+10626.37%)
Mutual labels:  torrent, qbittorrent
MIRROR-HUNTER
Who are we? We are the Hunters of all Torrent in this world.πŸ—‘οΈ.Fork from SlamDevs
Stars: ✭ 86 (-5.49%)
Mutual labels:  torrent, telegram-bot
Monitorrent
Automatic torrents downloader
Stars: ✭ 383 (+320.88%)
Mutual labels:  torrent, qbittorrent
exatorrent
Easy to Use Torrent Client. Can be hosted in Cloud. Files can be streamed in Browser/Media Player.
Stars: ✭ 1,557 (+1610.99%)
Mutual labels:  torrent, qbittorrent
mirror-leech-telegram-bot
Aria/qBittorrent Telegram mirror/leech bot
Stars: ✭ 1,289 (+1316.48%)
Mutual labels:  telegram-bot, qbittorrent
Electorrent
A remote control client for Β΅Torrent, qBittorrent, rTorrent, Transmission, Synology & Deluge
Stars: ✭ 582 (+539.56%)
Mutual labels:  torrent, qbittorrent
Flood Mobile
GSoC 21' @CCExtractor. A modern mobile UI for various torrent clients with a Node.js backend and Flutter frontend.
Stars: ✭ 48 (-47.25%)
Mutual labels:  torrent, qbittorrent
Python Qbittorrent
Python wrapper for qBittorrent Web API (for versions above v3.1.x)
Stars: ✭ 163 (+79.12%)
Mutual labels:  torrent, qbittorrent
Teletor
Telegram Torrents Bot
Stars: ✭ 54 (-40.66%)
Mutual labels:  torrent, telegram-bot
Moviemagnetbot
πŸ€– telegram bot for movies
Stars: ✭ 39 (-57.14%)
Mutual labels:  torrent, telegram-bot
MiXLab
MiXLab is a mix of multiple amazing Colab Notebooks found on the internet such as rcloneLab, RLabClone, Torrent to Google Drive Downloader and some more.
Stars: ✭ 143 (+57.14%)
Mutual labels:  torrent, qbittorrent
autobrr
Automation for downloads.
Stars: ✭ 288 (+216.48%)
Mutual labels:  torrent, qbittorrent
qbittorrentui
text user interface for qbittorrent
Stars: ✭ 19 (-79.12%)
Mutual labels:  torrent, qbittorrent
cowin-slot-tracker
Tracker to check the covid shot slot availability in India and send mobile alerts via Telegram Bot.
Stars: ✭ 30 (-67.03%)
Mutual labels:  telegram-bot
olx-parser
Looks for new flats in Odessa and notify in the telegram through the bot
Stars: ✭ 39 (-57.14%)
Mutual labels:  telegram-bot
ocelot
Alternative compiled announcer (ocelot)
Stars: ✭ 14 (-84.62%)
Mutual labels:  torrent
torrent-pizza
πŸ• Stream video from torrents in your browser
Stars: ✭ 39 (-57.14%)
Mutual labels:  torrent
Telegram-Invite-Users-From-Source-To-Destination-Group
This application invite users in Telegram from a source to destination group.
Stars: ✭ 20 (-78.02%)
Mutual labels:  telegram-bot
Telegram-Music-Bot
A Telegram music catalog bot.
Stars: ✭ 19 (-79.12%)
Mutual labels:  telegram-bot

qBittorrent Telegram interface

Extremely simple Telegram bot I made to get some basic info about the currently active torrents on my home Raspberry, using the qBittorrent WebUI APIs (v4.1+) through the python-qBittorrent library.

Features

Only a small set of features of the qBittorrent web API has been implemented:

  • see a list of torrents based on their downloading status
  • add torrents by magnet link/torrent file
  • manage a torrent (pause/resume, set force-start, increase priority, force re-check, delete)
  • enable/disable/change your alternative speed limits
  • see your qBittorrent settings
  • see a pretty overview of your speed, queueing and share rateo settings
  • export your torrents list as a json file

For a list of commands, use /help

Setup

Requires Python >= 3.6.2

  1. enable qBittorrent's Web UI
  2. copy config.example.toml to config.toml
  3. edit config.toml in the following way:
  • [telegram] section: place your API token in token and your user ID in admins
  • [qbitttorrent] section: fill the url, login and secret values according to your qBittorrent WebUI settings
  • all the other values in the config file are optional, and their function is described in config.example.toml. Make sure your config file contains all the keys in the example file (the bot won't start if some are missing, but it will tell you which), and that their type is correct
  1. install the rquirements via pip install -r requirements.txt

Permissions

By default, only admins are allowed to use the bot (users listed under telegram.admins in config.toml), but thereare some values in the permissions.json file (default_permissions.json if you have not started the bot yet) that can be toggled to set who can use the bot:

  • read: when true, anyone can use read-only commands (viewing the torrents list, the torrents' info etc.)
  • write: when true, anyone can add torrents by magnet link/file/link. Only works if read is true
  • edit: when true, anyone can manage a torrent's settings and qbittorrent's setting. Only works if read is true
  • admins_only: nobody can use the bot except for the users listed as admins, which can do anything. When true, this setting has the priority over the read/write/edit settings (they will be ignored and the bot will only work for the admins)

You can see and change the current permissions configuration from the bot's chat, using the /permissions and /pset commands

Docker

Docker is only tested on Linux. It will most likeyly work on macOS too, but not on Windows: Docker doesn't create the docker0 network interface

Build your own image

  1. clone the source code
  2. copy config.example.toml to config.toml
  3. edit config.toml in the following way:
  • [telegram] section: place your API token in token and your user ID in admins
  • [qbitttorrent] section: fill the three values according to your qBittorrent WebUI settings. IMPORTANT read the config file comment about docker0 network!
  1. build your image with docker build . -t {YOUR_TAG}
  2. run docker docker run -d -v ${PWD}/config.toml:/app/config.toml {YOUR_TAG}

Use the prebuilt image

  1. download config.example.toml to your directory of choice, such as /etc/qbbot/config.toml
  2. edit config.toml in the following way:
  • [telegram] section: place your API token in token and your user ID in admins
  • [qbitttorrent] section: fill the three values according to your qBittorrent WebUI settings. IMPORTANT read the config file comment about docker0 network!
  1. pull the image: docker pull 0one2/qbittorrent-bot
  2. run docker docker run -d -v ${PWD}/config.toml:/app/config.toml 0one2/qbittorrent-bot

Currently running on...

I made this bot to be able to manage what I'm downloading on my Raspberry running Raspbian (using qBittorrent's headless version), and that's the only environment I've tested this thing in. There's also the systemd file I'm using, qbtbot.service (which assumes you're going to run the bot in a python3 virtual environment)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].