cargo install nyaa
On Arch Linux (AUR)
yay -S nyaa
or
yay -S nyaa-bin
nix run github:Beastwick18/nyaa
Add to inputs
in flake.nix
nyaa = {
url = "github:Beastwick18/nyaa";
inputs.nixpkgs.follows = "nixpkgs";
};
Add to home.nix
home.packages = [ inputs.nyaa.packages.x86_64-linux.default ];
nix profile install github:Beastwick18/nyaa
Download the .deb file from the latest release and install with apt
:
sudo apt install ./nyaa-VERSION-x86_64.deb
or dpkg
sudo dpkg -i ./nyaa-VERSION-x86_64.deb
Binaries for Linux and Windows are available on the releases page.
To build from source, you must have both git
and cargo
installed.
git clone https://github.com/Beastwick18/nyaa
cd nyaa
cargo install --path .
Like modal text editors such as Vim, there are several modes. Each have their own keybinds, which can be found out by pressing F1
or ?
while in that mode. Some of the important ones are:
- hjkl or arrow keys for general navigation
- / or i to search
- Ctrl-s to change sources
- d to change download client
- c to change category
- s to change sort (S for reverse sort)
- f to change filter
- t to change theme
- n, p or l, h for next and previous page
- q to quit
For a list of all modes and their respective keybinds, check Keybinds on the wiki.
If either nyaa.si
or torrentgalaxy
is not accessible in your region, try one of the proxies (nyaa proxies, TorrentGalaxy proxies). Once you find one that works, replace the value for base_url
in the source config with the working proxy url. For nyaa
, I would recommend nyaa.land
, as it is very compatible, and usually working. Here's what the config for nyaa.land
would look like:
[source.nyaa]
base_url = 'nyaa.land'
If you have your own proxy setup, you use it by adding:
request_proxy = "localhost:8118"
to the top of your config. Replace the value with the IP and port for your proxy.
The location of the config file for linux is:
~/.config/nyaa/config.toml
and on windows is
C:\Users\%USERNAME%\AppData\Roaming\nyaa\config\config.toml
theme = "Default"
default_source = "Nyaa"
download_client = "Cmd"
date_format = "%Y-%m-%d %H:%M" # Unset by default
request_proxy = "localhost:8118" # Unset by default
timeout = 30 # Timeout for requests, measured in seconds
[source.nyaa]
...
[source.torrentgalaxy]
...
[client.cmd]
...
# ...
-
theme
refers to the theme selected by default when the app is opened. Possible values areDefault
,Dracula
,Gruvbox
, orCatppuccin Macchiato
. Custom themes coming soon! -
default_source
refers to the source selected by default once the app is opened. Possible values areNyaa
,TorrentGalaxy
, orSukebei
.- Each source has its own configuration. Check the wiki for more information on each sources config.
-
download_client
refers to the download client selected by default once the app is opened.- Each download client has its own configuration. Check the wiki for more information on each download clients config.
-
date_format
refers to the formatting of the dates in the Date column of the results table. Refer to chrono's documentation for information on how to format the date. -
request_proxy
refers to the url to proxy request through. This is not to be confused with nyaa proxies, which are defined withbase_url
. -
timeout
refers to how long the program will wait for a search request before it times out. This value is measured in seconds. You may want to increase this if your request times are usually long.
- Check the wiki for connecting to your torrent client:
Check the wiki for how to add User-defined Themes
- Mouse support
- Sources other than nyaa/Custom user-defined sources
-
User-defined themes -
Integration with torrent clients -
RPM Release -
Nyaa proxies/mirrors support -
Page navigation -
Choice between HTML scraper or RSS feed