Skip to main content

Rofi module for searching torrents using Jackett API.

Project description

🏴‍☠ Rofi Pirate

Rofi module for searching torrents using Jackett API. You can also instantly play media files without having to leave the Rofi menu. The project is still in beta.

Requirements

  1. Streaming torrent client: Peerflix (to play media files without downloading it first)
  2. qBittorent (optional)
  3. Nerd Fonts

Setup process

  1. First, you need a running instance of Jackett and install Peerflix
# Arch Linux users
yay -S jackett-bin
systemctl start jackett.service # then go to http://localhost:9117/
# Or Docker image
docker pull linuxserver/jackett
# Peerflix install
npm install -g peerflix
  1. Set up your indexers through the dashboard and also obtain an API key from there.

  2. Install rofi-python package.

pip install rofi-pirate
  1. Place the configuration file under ~/.config/rofi_pirate/config.json. Don't forget to specify your API key.

Config example:

{
  "JACKETT_ENDPOINT": "http://127.0.0.1:9117",
  "JACKETT_APIKEY": "<API_KEY>", 
  "SEARCH_LIMIT": 25,
  "PEERFLIX_CMD": "peerflix -t -k -a",
  "PEERFLIX_CACHE": "~/Downloads/Torrents",
  "HISTORY_CACHE": "~/.config/rofi_pirate/history.db",
}

TODO

  • Dynamic indexer configuration.
  • Ability to preview torrent images (movie/music covers).

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

rofi-pirate-1.0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

rofi_pirate-1.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file rofi-pirate-1.0.1.tar.gz.

File metadata

  • Download URL: rofi-pirate-1.0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.18.10-arch1-1

File hashes

Hashes for rofi-pirate-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e8e393d195df2a7ca387ac193d6b7197f43faff02e5dbfd762dd39795474eac5
MD5 9f12d1e0cda80e0586e61b76a36e01a7
BLAKE2b-256 345b16d9d029f70429649631f3d1f986ecb644f7b706319baf26b2b666773c09

See more details on using hashes here.

File details

Details for the file rofi_pirate-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rofi_pirate-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.18.10-arch1-1

File hashes

Hashes for rofi_pirate-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b34205c7a18f2d29ced3c356c1769625ebb736fcd63e6b00abafd966dce70748
MD5 8447837836e52cdfa8792f30b61ceaa0
BLAKE2b-256 b741182a02cf9cc795ba2b62ace7f010ed8960dfa1e186577957dfc11210058a

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