#cli #search #proxy #update #cli-tool #tool #install

app tpb

Cli tool to search The Pirate Bay using the fastest available proxy

17 releases (11 stable)

new 1.2.3 Sep 14, 2021
1.2.1 Feb 17, 2021
1.2.0 Nov 24, 2020
1.1.0 Oct 4, 2020
0.1.2 Feb 29, 2020

#1373 in Command line utilities

48 downloads per month

MS-PL license

177 lines


Search The Pirate Bay using the fastest available proxy.

Install or update

cargo install tpb


  tpb -q <query>    - search for <query> (prompts to select proxy)
  tpb -dq <query>   - search for <query> using best proxy
  tpb --help        - shows help

Use the Magnet link printed next to each search result to download the torrent.

Disclaimer: Never use piratebay to download anything other than the image of Debian or your favourite linux distribution.


Demo is old, use tpb --help to view the latest options



~449K SLoC