Skip to content
/ mot Public

mot is a command-line interface (CLI) for interacting with qBittorrent in the UNIX tradition.

License

Notifications You must be signed in to change notification settings

alzabo/mot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mot: a qBittorrent CLI

mot is a command-line interface (CLI) for interacting with qBittorrent in the UNIX tradition.

Features

  • Add torrents: Add torrents from files or URLs.
  • List torrents: View the status of your torrents.
  • Pause/Resume/Delete torrents: Control downloads and seeding.
  • Set download location: Specify where torrents should be saved.
  • Category management: Add, remove and list categories.
  • Tag management: Add, remove and list tags.
  • WebUI alternative: For headless servers or terminal lovers.
  • Cross Platform: Supports Linux, macOS, and Windows.

Installation

From Source

go install github.com/alzabo/mot@latest

Setup

Prerequisites

  • qBittorrent Web UI enabled.

Authentication

The qBittorrent Web UI username, password and URL must be supplied to allow mot to connect. These configuration options may be set using one of the methods described below.

Note: Replace "admin" and "password" with your qBittorrent Web UI credentials and the URL with the correct value.

CLI args

mot --username admin --password password --url http://localhost:8080 get torrents

Environment variables

export MOT_USERNAME=admin
export MOT_PASSWORD=password
export MOT_URL=http://localhost:8080
mot get torrents

Config file

By default, mot looks for its configuration in ~/.mot.yaml. A different location may be specified by setting the --config flag or the MOT_CONFIG environment var.

Example ~/.mot.yaml:

username: "admin"
password: "password"
url: "http://localhost:8080"

Usage

Basic Commands

Add a torrent from a file:

mot add torrent -f path/to/torrent.torrent

Add a torrent from a magnet link:

mot add torrent --url magnet:?xt=urn:btih:...

List all torrents:

mot get torrents

Pause a torrent:

mot pause <torrent_hash>

Resume a torrent:

mot resume <torrent_hash>

Delete a torrent (and optionally data):

mot delete <torrent_hash> [--delete-data]

Help For detailed usage information, use the --help flag:

mot --help
mot <command> --help

About

mot is a command-line interface (CLI) for interacting with qBittorrent in the UNIX tradition.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published