Skip to content

A cli tool to search torrents made with the jackett api

Notifications You must be signed in to change notification settings

rodrigo-sys/jsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Jackett Search Cli

A cli tool to search torrents made with the jackett api

Demo

jsc demo

Installation

  • Install the dependencies (jq, fzf, jackett)

  • Add some indexers to jackett

  • Copy your api key

  • Download the script

    wget https://raw.githubusercontent.com/rodrigo-sys/jsc/main/jsc
  • Open it

  • Change 'YOUR_API_KEY_HERE' string, in the head of the file for you jackett api key

  • Made it executable

    chmod +x jsc
  • Put the script in somewhere in your path

Usage

jsc <search_term>

if you want to filter by tracker:

jsc -t <tracker> -s <search_term>

Examples

jsc -t rarbg -s 'palm springs'

(you need to use quotes if the search have spaces)

jsc palm springs

(you dont need quotes when not uses flags)

Tips

This program just output the magnet link of the selected result.

But if you want...

  • Stream

    jsc palm springs | xargs -n 1 -r webtorrent --mpv
      jsc queen gambit | xargs -n 1 -r mpv
  • Download

    jsc palm springs | xargs -n 1 -r xdg-open 
    

    or

    jsc palm springs | xargs -n 1 -r <torrent_client>
    

Make functions to make easy:

nfx(){ # netflix
  jsc "$@" | xargs -n 1 -r webtorrent --mpv
}
tpb(){ # the pirate bay
  jsc "$@" | xargs -n 1 -r xdg-open 
}

Dependencies

  • jq
  • fzf
  • jackett

TODO

  • Improve readme
  • Make the demo a gif
  • Share in social media
  • Maybe add stream and open flag

Donations

Monero address: 4AAMMG4faRAhThF2hATV3BbxauGBdoD9AKzcZwANcr2sXtCADe7jpwABkDFtrkNEodJQq4xFVhPaMAHpFUZwZ9sqCwVLM7m

About

A cli tool to search torrents made with the jackett api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages