Navigate torrents in CLI
Project description
Mariner

Navigate torrents in CLI with Mariner. It offers a simple interface for a streamlined experience without annoying ads and pop-up windows.
Features
- Works on Linux and Windows
- Download torrent files and copy magnet links to clipboard
- Open torrents in your default torrent application
- Show detailed torrent information (seeders, leechers, upload date, size)
- Interactive and non-interactive modes
- Asynchronous I/O for responsive performance
- Extensible via YAML-based tracker definitions
- Supports multiple trackers:
- LimeTorrents
- LinuxTracker
- Nyaa
- TokyoTosho
Installation
Mariner requires Python 3.10 or newer.
Python package
Install from PyPI using pip:
pip3 install mariner
From source
Clone the repository and build locally:
git clone git@gitlab.com:radek-sprta/mariner.git
cd mariner
uv build
pip install dist/*.whl
Usage
Interactive Mode
Start the interactive shell:
mariner
Then search for torrents:
(mariner) search Ubuntu -t linuxtracker
(mariner) download 0
(mariner) quit
Non-Interactive Mode
Search for torrents:
mariner search Ubuntu -t linuxtracker
Download results:
mariner download 0 1 2
Copy magnet link to clipboard:
mariner magnet 0
Open in torrent application:
mariner open 0
View torrent details:
mariner details 0
For more information and options, run:
mariner search --help
Contributing
For information on how to contribute to the project, please check the Contributor's Guide
Disclaimer
I do not encourage anyone to act in conflict with their local laws and I do not endorse any illegal activity. Some content in the search results provided be Mariner might be illegal in your country and it is up to you to check your local laws before using it. Neither I, nor Mariner can be held liable for any action taken against you as the result of using it.
Contact
incoming+radek-sprta/mariner@gitlab.com
Acknowledgements
Mariner uses excellent open-source libraries:
- BeautifulSoup — HTML parsing
- Cliff — CLI framework
- httpx — Async HTTP client
- ruamel.yaml — YAML parsing and serialization
- Cachalot — Caching
- platformdirs — Platform-specific paths
License
GNU General Public License v3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mariner-1.6.0.tar.gz.
File metadata
- Download URL: mariner-1.6.0.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260308","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ab4328b9975d52a77d6ed8b11c5a5fd9a934983ece9f22506e162b902e0c015
|
|
| MD5 |
bde66f709a8d260dff99936462578798
|
|
| BLAKE2b-256 |
b69091911cdd09c81d19b3acd967b92582afb588068d134e3cbd808d3df0700b
|
File details
Details for the file mariner-1.6.0-py3-none-any.whl.
File metadata
- Download URL: mariner-1.6.0-py3-none-any.whl
- Upload date:
- Size: 66.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260308","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cbf90ecc8429f299c4dd49e07444974f594fe77cc4b2c7644459c5036cf236c
|
|
| MD5 |
f9721ff8e945807c70c1bc211c98788f
|
|
| BLAKE2b-256 |
e5ad002566a07585770132da500ae38d48285d47be2801945ae4e030005f70a1
|