https://github.com/stabldev/torrra
A Python tool that lets you find and download torrents without leaving your CLI.
https://github.com/stabldev/torrra
libtorrent-python python-cli torrent torrent-downloader
Last synced: 24 days ago
JSON representation
A Python tool that lets you find and download torrents without leaving your CLI.
- Host: GitHub
- URL: https://github.com/stabldev/torrra
- Owner: stabldev
- License: mit
- Created: 2025-07-06T12:02:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-16T15:14:26.000Z (7 months ago)
- Last Synced: 2025-07-17T05:29:17.703Z (6 months ago)
- Topics: libtorrent-python, python-cli, torrent, torrent-downloader
- Language: Python
- Homepage: https://pypi.org/project/torrra
- Size: 4.06 MB
- Stars: 210
- Watchers: 2
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Torrra - “rrr”
> A Python tool that lets you search and download torrents without leaving your CLI.
[](https://pypi.org/project/torrra/)
[](https://pypi.org/project/torrra/)
[](https://aur.archlinux.org/packages/torrra)
[](https://pypi.org/project/torrra/)
[](https://github.com/stabldev/torrra/actions/workflows/ci.yml)
[](https://torrra.readthedocs.io/)
[](https://github.com/stabldev/torrra/blob/main/LICENSE)

_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
```bash
pipx install torrra
# or uv tool install torrra
```
Other options: [`AUR`](https://aur.archlinux.org/packages/torrra), [`standalone binaries`](https://github.com/stabldev/torrra/releases), [`Homebrew`](https://github.com/Maniacsan/homebrew-torrra) or [`Docker`](https://hub.docker.com/r/stabldev/torrra).
[See full install options →](https://torrra.readthedocs.io/en/latest/installation.html)
## Quick Usage
### 1. Interactive Search
Launch `torrra` with an indexer.
```bash
torrra # if default indexer is configured
# or torrra jackett
# or torrra jackett --url http://localhost:9117 --api-key
```
> Replace `` 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:
```bash
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:
```bash
torrra download "magnet:?xt=urn:btih:..."
# or torrra download "/path/to/file.torrent"
```
[Full Usage guide →](https://torrra.readthedocs.io/en/latest/usage.html)\
[See full CLI & TUI guide →](https://torrra.readthedocs.io/en/latest/usage.html#text-user-interface-tui-controls)
## 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:
```bash
# set your Jackett URL and API key
torrra config set indexers.jackett.url http://localhost:9117
torrra config set indexers.jackett.api_key
# set Jackett as the default indexer
torrra config set indexers.default jackett
```
Now you can simply run `torrra` to start searching:
```bash
torrra # default indexer will be used
```
[Learn more about configuration →](https://torrra.readthedocs.io/en/latest/configuration.html)
## Features
- Search with [`Jackett`](https://github.com/Jackett/Jackett) or [`Prowlarr`](https://github.com/Prowlarr/Prowlarr)
- Download torrents directly with pause/resume support
- Beautiful and responsive TUI built with [`Textual`](https://textual.textualize.io/)
- Customizable themes (dark, light, and more)
- Smart config + opt-in caching for fast searches
- Native support for Linux, macOS, and Windows
[Full feature list →](https://torrra.readthedocs.io/en/latest/#features)
## 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](https://github.com/stabldev/torrra/issues/new/choose) to let us know.
- **Want to contribute code?** Check out the [Contributing Guide](https://torrra.readthedocs.io/en/latest/contributing.html),\
to learn how to set up your development environment and submit a pull request.
## License
[MIT](LICENSE) © 2025 ^\_^ [`@stabldev`](https://github.com/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.
[](https://www.buymeacoffee.com/stabldev)