Skip to main content

A Python tool that lets you find and download torrents without leaving your CLI.

Project description

Torrra - “rrr”

A Python tool that lets you search and download torrents without leaving your CLI.

Python Versions PyPI AUR Version Pepy Total Downloads CI Status Docs License

demo

Torrra provides a streamlined command-line interface for torrent search and downloads, powered by Jackett/Prowlarr and Libtorrent. Built with Textual, it offers a beautiful TUI with pause/resume support - all without leaving your terminal.

Full documentation: https://torrra.readthedocs.io/en/latest/

Installation

pipx install torrra
# or uv tool install torrra

Other options: AUR, standalone binaries, Homebrew or Docker.

See full install options →

Quick Usage

1. Interactive Search

Launch torrra with an indexer.

torrra # if default indexer is configured
# or torrra jackett
# or torrra jackett --url http://localhost:9117 --api-key <your_api_key>

Replace <your_jackett_api_key> with your actual Jackett API key.

2. Direct Search

You can bypass the initial welcome screen and search
for torrents directly from your command line using the search command:

torrra search "arch linux iso"
# or torrra search "arch linux iso" --no-cache

3. Direct Download

You can download torrents directly from magnet URIs or .torrent files
without searching using the download command:

torrra download "magnet:?xt=urn:btih:..."
# or torrra download "/path/to/file.torrent"

Full Usage guide →
See full CLI & TUI guide →

Configuration

For persistent settings, torrra uses a config.toml file where you can configure your indexers, download paths, and themes. This avoids the need to pass arguments on every run.

For example, to set up Jackett as your default indexer:

# set your Jackett URL and API key
torrra config set indexers.jackett.url http://localhost:9117
torrra config set indexers.jackett.api_key <your_api_key>

# set Jackett as the default indexer
torrra config set indexers.default jackett

Now you can simply run torrra to start searching:

torrra # default indexer will be used

Learn more about configuration →

Features

  • Search with Jackett or Prowlarr
  • Download torrents directly with pause/resume support
  • Beautiful and responsive TUI built with Textual
  • Customizable themes (dark, light, and more)
  • Smart config + opt-in caching for fast searches
  • Native support for Linux, macOS, and Windows

Full feature list →

Contributing

Contributions are welcome and greatly appreciated!
Whether it's reporting a bug, submitting a feature request, or writing code, we value your help.

  • Found a bug or have an idea? Open an issue to let us know.
  • Want to contribute code? Check out the Contributing Guide,
    to learn how to set up your development environment and submit a pull request.

License

MIT © 2025 ^_^ @stabldev

Like my work?

This project needs a ⭐ from you. Don't forget to leave a ⭐
If you found this helpful, consider supporting me with a coffee.

"Buy Me A Coffee"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torrra-2.0.6.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torrra-2.0.6-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file torrra-2.0.6.tar.gz.

File metadata

  • Download URL: torrra-2.0.6.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for torrra-2.0.6.tar.gz
Algorithm Hash digest
SHA256 37956d9ac7dec31941931c6bfda232777b5724df56c2a8d093a1cc12cbd94f8f
MD5 5f0940c1a2dd64d43ef230b57c960e39
BLAKE2b-256 78dc55d1767e99119e09ec98fddb648e7773fe02c621e2a02607b1c19db181e4

See more details on using hashes here.

File details

Details for the file torrra-2.0.6-py3-none-any.whl.

File metadata

  • Download URL: torrra-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for torrra-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6f96becb20f8ee084ffcea4c5ba14412bb1b44b638c2bbe698492fd3fc78159d
MD5 45d4fd3027cfc5ca5bbe6d71f8d6a335
BLAKE2b-256 6288b11df6785b22367c40217e1fad53249063ababa9fdb9d0ccfe4d78cacacd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page