暫無描述

BezierQuadratic cc683dd5d0 Fixed missing double quotes (not causing a bug) 6 月之前
man d1df347078 Added DMENU_COMMAND env variable configuration 1 年之前
.gitignore a757f77a6e Bugfix, output to stderr, added license and readme 2 年之前
LICENSE a757f77a6e Bugfix, output to stderr, added license and readme 2 年之前
README.md 93cdb83001 Updated readme 2 年之前
dmenu_nyaa.sh 96f07b6af2 Added rss link generation to dmenu front end 1 年之前
nyaa.sh cc683dd5d0 Fixed missing double quotes (not causing a bug) 6 月之前

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).