No Description

BezierQuadratic c3943d553e Fixed missing newlines in man page 1 month ago
man c3943d553e Fixed missing newlines in man page 1 month ago
.gitignore a757f77a6e Bugfix, output to stderr, added license and readme 2 years ago
LICENSE a757f77a6e Bugfix, output to stderr, added license and readme 2 years ago
README.md 93cdb83001 Updated readme 2 years ago
dmenu_nyaa.sh 96f07b6af2 Added rss link generation to dmenu front end 1 year ago
nyaa.sh cc683dd5d0 Fixed missing double quotes (not causing a bug) 8 months ago

README.md

nyaash

Nyaa querying CLI utility

The only time you leave the comfort of your CLI and open that piece of bloat known as "graphical browser" is to fetch some cute anime girls' magnet link? Fear not: this little script is here to the rescue! Featuring a stable CLI output and, most of all, it doesn't use GNU functionalities, so even you elites who are using Busybox/Linux or BSD and you degenerates on MacOS can use it.

FAQ

Why Lynx? It's not a core utility defined by POSIX!

The thing is, while Nyaa completely looks and feels like a static website that has no reason to have a single line of JavaScript, what it actually doesn't have a single like of is HTML, somehow, so a program that runs the JavaScript, does not render the HTML, and Lynx is the most universally available program I could find. I could parse the RSS, the problem is that it does not implement pages, so it would be impossible to see more than last 75 torrents.

For dmenu_nyaash, are any Dmenu patches required?

Nope, but I do advise to add the scroll patch, since torrent names can get pretty long (and the scripts prepends a bunch of info on top of that).