GitHub - FifteenthStandard/Quartermaster

1 min read Original article ↗

Quartermaster

Search and download torrents. Torrents are sourced from The Pirate Bay via the API at https://apibay.org/q.php?q=%SEARCH_TERMS%.

Usage

qm <search>... [options]

Arguments:
  <search>  Search terms, e.g. title, IMDb ID

Options:
  -p, --path <path>  Download directory [default: current working directory]

asciicast

Dependencies

Quartermaster uses the following dependencies:

  • Developed with .NET 7
  • CLI developed with System.CommandLine
  • https://apibay.org/q.php?q=%SEARCH_TERMS% to search for torrents
  • https://itorrents.org/torrent/%INFO_HASH%.torrent to download torrent files
  • MonoTorrent to download torrents

Build

To build, download and install the .NET 7 SDK and then run the following.

To run locally, run the following.

dotnet run -- <search>... [options]

To build a standalone executable, run the following.

This standalone executable can then be copied to a directory on your PATH to easily run from anywhere.