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.7.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.7-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torrra-2.0.7.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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.7.tar.gz
Algorithm Hash digest
SHA256 7a0eeffcc28b4a6e9b9c112d484551fbf8cc9d29c4ce16d91c7f15dd1cd19e5a
MD5 859f3f5097123dc0e5004df5adda4c42
BLAKE2b-256 f9125102a5e69a07e8e7500928087ae850b5940404f31681a588084b4d50985e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torrra-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 75cf9f18dfacbdd679dc4350309041cf7bf007661cde4673e3592e4db453279c
MD5 00637f1e40d92a3b7e50a6c378080c7b
BLAKE2b-256 e98ebc4cb8124331f03e3afe4774cb56e730795cc3e4ed3e0effd5dad7c5798e

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