Skip to content

yaaaarn/nyaa-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nyaa-cli

a simple cli client for nyaa.si. search, view, and download torrents from the terminal.

install

run directly (no install)

bun run start

nix flake

add to your flake.nix inputs:

nyaa-cli = {
  url = "github:yaaaarn/nyaa-cli";
  inputs.nixpkgs.follows = "nixpkgs";
};

then add nyaa-cli.packages.${system}.default to your environment.systemPackages or home-manager packages.

usage

usage: nyaa [options] [command]

options:
  -x, --sukebei   use sukebei.nyaa.si (nsfw)
  -v, --version   display version
  -h, --help      display help

commands:
  search [query]  search torrents
  id <id>         view torrent details or download .torrent file
  open <id>       open torrent page in browser

search

nyaa search [options] [query]

options:
  -c, --category <cat:sub>  category filter (e.g. anime, anime:raw)
  -f, --filter <n>          filter: 0=none, 1=no remakes, 2=trusted only
  -p, --page <n>            page number
  -s, --sort <field>        sort by: comments, size, date, seeders, leechers, downloads
  -o, --order <dir>         sort order: asc, desc
  -l, --limit <n>           limit results shown

id

nyaa id [options] <id>

options:
  -d, --download [file]  download .torrent file

open

nyaa open <id>

dev

# enter the dev shell (if using nix)
nix develop

# install dependencies
bun install

# build the binary
bun run build  # produces ./nyaa

license

mit

About

a simple cli client for nyaa.si.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors