Usage¶
torrra provides a streamlined command-line interface for your torrent needs, allowing you to search for, download, and manage torrents directly from your terminal.
To get started, you need to specify an indexer (like Jackett or Prowlarr) and provide its connection details.
Initializing with an Indexer¶
Using Jackett¶
To use Jackett as your torrent indexer, provide its URL and API key:
torrra jackett --url http://localhost:9117 --api-key <your_jackett_api_key>
Replace
<your_jackett_api_key>with your actual Jackett API key.
Using Prowlarr¶
Similarly, to use Prowlarr as your torrent indexer:
torrra prowlarr --url http://localhost:9696 --api-key <your_prowlarr_api_key>
Replace
<your_prowlarr_api_key>with your actual Prowlarr API key. Note: When using Prowlarr, ensure the"Prefer Magnet URL"option is checked in your Prowlarr settings for optimal compatibility.
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"
This command will immediately display the search results for the given query.
The search command also supports the --no-cache option:
torrra search "ubuntu iso" --no-cache
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"
This command will immediately start the download and open the downloads interface showing the new torrent.
Command-Line Interface (CLI)¶
torrra offers a comprehensive CLI for managing configurations and launching the application with specific indexers.
Command |
Description |
|---|---|
|
Displays the help message if no subcommand is provided |
|
Shows the general help message |
|
Displays the current installed version of |
|
Searches for a torrent directly from the command line, bypassing the welcome screen. |
|
Downloads a torrent directly from a magnet URI or .torrent file. |
|
Accesses the configuration subcommands (see below) |
|
Initializes |
|
Initializes |
torrra config Subcommands¶
These subcommands allow you to manage torrra’s configuration directly from the command line.
Subcommand |
Description |
|---|---|
|
Retrieves the value associated with a specific configuration key |
|
Sets a configuration key to a specified value |
|
Lists all currently set configuration values |
Indexer Options¶
Both the jackett and prowlarr commands support the following options:
--url(Required): The base URL of your Jackett or Prowlarr instance.--api-key(Required): Your API key for authentication with the indexer.--no-cache: Disables the opt-in caching feature for searches.--help: Displays specific help for the indexer command.
Text-User Interface (TUI) Controls¶
Once torrra is running (after specifying an indexer), you’ll interact with it through its intuitive Text-User Interface (TUI). Here are the primary keyboard controls for navigation and interaction:
Key |
Action |
|---|---|
|
Navigate up through the list of search results |
|
Navigate down through the list of search results |
|
Initiate the download for the currently selected torrent |
|
Page up in the results list |
|
Page down in the results list |
|
Open the theme switcher to change the application’s appearance |
|
Scroll to the bottom of the results list |
|
Scroll to the top of the results list (press |
|
Move focus to the next interactive widget (e.g., search box, results list) |
|
Pause the currently active download |
|
Resume a previously paused download |
|
Quit |