{"id":13599255,"url":"https://github.com/Beastwick18/nyaa","last_synced_at":"2025-04-10T12:31:59.595Z","repository":{"id":55282063,"uuid":"522965684","full_name":"Beastwick18/nyaa","owner":"Beastwick18","description":"A tui tool for browsing and downloading torrents","archived":false,"fork":false,"pushed_at":"2025-03-06T16:42:59.000Z","size":48693,"stargazers_count":458,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T14:04:49.991Z","etag":null,"topics":["anime","cli","nyaa","nyaa-magnet-links","nyaa-rss","nyaa-si","nyaasi","ratatui","rust","rust-lang","terminal-user-interface","torrent","torrent-downloader","torrent-management","torrent-search","torrent-search-engine","tui"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/nyaa","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Beastwick18.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-09T13:39:50.000Z","updated_at":"2025-04-05T12:50:24.000Z","dependencies_parsed_at":"2023-12-27T00:22:37.814Z","dependency_job_id":"4393a7c2-0530-46c9-984a-924a1d0172bc","html_url":"https://github.com/Beastwick18/nyaa","commit_stats":{"total_commits":393,"total_committers":6,"mean_commits":65.5,"dds":"0.012722646310432517","last_synced_commit":"c496c50451e12358f9f7b2bfe3b696a9bc10d47e"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beastwick18%2Fnyaa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beastwick18%2Fnyaa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beastwick18%2Fnyaa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beastwick18%2Fnyaa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beastwick18","download_url":"https://codeload.github.com/Beastwick18/nyaa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217131,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","cli","nyaa","nyaa-magnet-links","nyaa-rss","nyaa-si","nyaasi","ratatui","rust","rust-lang","terminal-user-interface","torrent","torrent-downloader","torrent-management","torrent-search","torrent-search-engine","tui"],"created_at":"2024-08-01T17:01:01.387Z","updated_at":"2025-04-10T12:31:55.024Z","avatar_url":"https://github.com/Beastwick18.png","language":"Rust","funding_links":[],"categories":["Rust","💻 Apps","\u003ca name=\"torrent\"\u003e\u003c/a\u003eTorrent","Table of Contents"],"sub_categories":["🌌 Other"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003enyaa 🐈‍⬛\u003c/h1\u003e\n  \u003ch3\u003eA simple TUI for browsing and downloading anime torrents from nyaa.si.\u003c/h3\u003e\n  \u003ca href=\"https://github.com/Beastwick18/nyaa/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/check-runs/Beastwick18/nyaa/main?label=build\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Beastwick18/nyaa/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/Beastwick18/nyaa.svg?color=#2ea043\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://aur.archlinux.org/packages/nyaa\"\u003e\u003cimg src=\"https://img.shields.io/aur/version/nyaa?color=blue\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://aur.archlinux.org/packages/nyaa-bin\"\u003e\u003cimg src=\"https://img.shields.io/aur/version/nyaa-bin?color=blue\u0026label=aur%20(bin)\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/nyaa\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/nyaa\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://crates.io/crates/nyaa\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/nyaa?label=crates.io%20downloads\u0026color=orange\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Beastwick18/nyaa/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/downloads/Beastwick18/nyaa/total?label=github%20downloads\u0026color=#2ea043\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/tty.gif\" width=\"800\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [Installation](#-installation)\n  - [With a package manager](#with-a-package-manager)\n  - [Nix (via home-manager)](#nix-via-home-manager)\n  - [Windows/Linux Binaries](#windowslinux-binaries)\n  - [From Source](#from-source)\n- [Wiki](#-wiki)\n- [Keybinds](#%EF%B8%8F-keybinds)\n- [Proxies](#-proxies)\n- [Configuration](#%EF%B8%8F-configuration)\n  - [Download Client Integration](#download-client-integration)\n- [Clipboard](#-clipboard)\n- [Custom Themes](#-custom-themes)\n- [Planned Features](#%EF%B8%8F-planned-features)\n\n## ⚡ Installation\n\n### With a package manager\n```sh\n### With cargo\ncargo install nyaa\n\n### On Arch Linux (AUR)\nyay -S nyaa # or `nyaa-bin` for a pre-compiled binary\n\n### Ubuntu/Debian (.deb file from latest release)\n# with `apt`:\nsudo apt install ./nyaa-VERSION-x86_64.deb\n# or `dpkg`:\nsudo dpkg -i ./nyaa-VERSION-x86_64.deb\n\n### Fedora (.rpm file from latest release)\nsudo dnf install ./nyaa-VERSION-x86_64.rpm\n\n### With `nix profile`\nnix profile install github:Beastwick18/nyaa\n\n### nix (flakes) run without installing\nnix run github:Beastwick18/nyaa\n```\n\n### Nix (via home-manager)\nAdd to `inputs` in `flake.nix`\n```nix\nnyaa = {\n  url = \"github:Beastwick18/nyaa\";\n  inputs.nixpkgs.follows = \"nixpkgs\";\n};\n```\nAdd to `home.nix` imports and enable\n```nix\nimports = [\n  inputs.nyaa.homeManagerModule\n]\nprograms.nyaa.enable = true;\n```\nCheck the [wiki](https://github.com/Beastwick18/nyaa/wiki/Home%E2%80%90manager) for more information\n\n### Windows/Linux Binaries\n\nBinaries for Linux and Windows are available on the [releases](https://github.com/Beastwick18/nyaa/releases/latest) page.\n\n### From Source\n\nTo install from source, you must have `git`, `cargo`, and Rust version $\\ge$ 1.75 installed.\n\n```sh\ngit clone https://github.com/Beastwick18/nyaa\ncd nyaa\ncargo install --path .\n```\n## 📗 Wiki\nFor detailed information on configuration, themes, sources, and download client integration check the [Wiki](https://github.com/Beastwick18/nyaa/wiki).\n\n## ⌨️ Keybinds\n\nLike 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:\n\n- \u003ckbd\u003ehjkl\u003c/kbd\u003e or arrow keys for general navigation\n- \u003ckbd\u003e/\u003c/kbd\u003e or \u003ckbd\u003ei\u003c/kbd\u003e to search\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e-\u003ckbd\u003es\u003c/kbd\u003e to change sources\n- \u003ckbd\u003ed\u003c/kbd\u003e to change download client\n- \u003ckbd\u003ec\u003c/kbd\u003e to change category\n- \u003ckbd\u003es\u003c/kbd\u003e to change sort (\u003ckbd\u003eS\u003c/kbd\u003e for reverse sort)\n- \u003ckbd\u003ef\u003c/kbd\u003e to change filter\n- \u003ckbd\u003et\u003c/kbd\u003e to change theme\n- \u003ckbd\u003en\u003c/kbd\u003e, \u003ckbd\u003ep\u003c/kbd\u003e or \u003ckbd\u003el\u003c/kbd\u003e, \u003ckbd\u003eh\u003c/kbd\u003e for next and previous page\n- \u003ckbd\u003eq\u003c/kbd\u003e to quit\n\nFor a list of all modes and their respective keybinds, check [Keybinds](https://github.com/Beastwick18/nyaa/wiki/Keybinds) on the wiki.\n\n## 🌐 Proxies\n\nIf either `nyaa.si` or `torrentgalaxy` is not accessible in your region, try one of the proxies ([nyaa proxies](https://nyaatorrents.info/#proxy), [TorrentGalaxy proxies](https://torrends.to/proxy/torrentgalaxy)). 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:\n\n```toml\n[source.nyaa]\nbase_url = 'nyaa.land'\n```\n\nIf you have your own proxy setup, you use it by adding:\n\n```toml\nrequest_proxy = \"localhost:8118\"\n```\n\nto the top of your config. Replace the value with the IP and port for your proxy.\n\n## ⚙️ Configuration\n\nThe location of the config file for linux is:\n\n```\n~/.config/nyaa/config.toml\n```\n\nand on windows is\n\n```\nC:\\Users\\%USERNAME%\\AppData\\Roaming\\nyaa\\config\\config.toml\n```\n\n### Default Config\n```toml\ntheme = \"Default\"                # the theme to use by default\ndefault_source = \"Nyaa\"          # the source to use by default\ndownload_client = \"qBittorrent\"  # the download client to use by default\ndate_format = \"%Y-%m-%d %H:%M\"   # date format for results (unset by default)\nrequest_proxy = \"localhost:8118\" # request proxy for sending requests through (unset by default)\ntimeout = 30                     # request timeout for sources and clients (measured in seconds)\nscroll_padding = 6               # scroll padding for results table\nsave_config_on_change = true     # save config when changing sources/themes\n\n\n[source.nyaa]\n# ...\n\n[source.torrentgalaxy]\n# ...\n\n[client.cmd]\n# ...\n\n# ...\n```\n\n`theme` refers to the theme selected by default when the app is opened. Possible values are `Default`, `Dracula`, `Gruvbox`, or `Catppuccin Macchiato`. You can also use custom [user-defined themes](https://github.com/Beastwick18/nyaa/wiki/User%E2%80%90defined-Themes).\n\n`default_source` refers to the source selected by default once the app is opened. Possible values are `Nyaa`, `TorrentGalaxy`, or `Sukebei`. Each source has its own configuration. Check the [wiki](https://github.com/Beastwick18/nyaa/wiki#sources) for more information on each sources config.\n\n`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](https://github.com/Beastwick18/nyaa/wiki#download-clients) for more information on each download clients config.\n\n### Download Client Integration\n\n- Check the wiki for connecting to your torrent client:\n  - [qBittorrent](https://github.com/Beastwick18/nyaa/wiki/qBittorrent)\n  - [Transmission](https://github.com/Beastwick18/nyaa/wiki/Transmission)\n  - [rqbit](https://github.com/Beastwick18/nyaa/wiki/rqbit)\n  - [Download to folder](https://github.com/Beastwick18/nyaa/wiki/Download-to-folder)\n  - [Open with default app](https://github.com/Beastwick18/nyaa/wiki/Open-with-default-app)\n  - [Run command](https://github.com/Beastwick18/nyaa/wiki/Run-command)\n\n# 📋 Clipboard\nBy default, nyaa uses [OSC52](https://www.reddit.com/r/vim/comments/k1ydpn/a_guide_on_how_to_copy_text_from_anywhere/) to copy to the clipboard. It's a type of ANSI escape sequence supported by *most* terminals. The state of support for some popular terminals are:\n\n| Terminal | OSC52 support |\n|----------|:-------------:|\n| [alacritty](https://github.com/alacritty/alacritty) | **yes** |\n| [contour](https://github.com/contour-terminal/contour) | **yes** |\n| [far2l](https://github.com/elfmz/far2l) | **yes** |\n| [foot](https://codeberg.org/dnkl/foot) | **yes** |\n| [gnome terminal](https://github.com/GNOME/gnome-terminal) (and other VTE-based terminals) | [not yet](https://gitlab.gnome.org/GNOME/vte/-/issues/2495) |\n| [hterm](https://chromium.googlesource.com/apps/libapps/+/master/README.md) | [**yes**](https://chromium.googlesource.com/apps/libapps/+/master/nassh/doc/FAQ.md#Is-OSC-52-aka-clipboard-operations_supported) |\n| [iterm2](https://iterm2.com/) | **yes** |\n| [kitty](https://github.com/kovidgoyal/kitty) | **yes** |\n| [konsole](https://konsole.kde.org/) | [not yet](https://bugs.kde.org/show_bug.cgi?id=372116) |\n| [qterminal](https://github.com/lxqt/qterminal#readme) | [not yet](https://github.com/lxqt/qterminal/issues/839)\n| [rxvt](http://rxvt.sourceforge.net/) | **yes** |\n| [st](https://st.suckless.org/) | **yes** (but needs to be enabled, see [here](https://git.suckless.org/st/commit/a2a704492b9f4d2408d180f7aeeacf4c789a1d67.html)) |\n| [terminal.app](https://en.wikipedia.org/wiki/Terminal_(macOS)) | no, but see [workaround](https://github.com/roy2220/osc52pty) |\n| [tmux](https://github.com/tmux/tmux) | **yes** |\n| [urxvt](http://software.schmorp.de/pkg/rxvt-unicode.html) | **yes** (with a script, see [here](https://github.com/ojroques/vim-oscyank/issues/4)) |\n| [wezterm](https://github.com/wez/wezterm) | [**yes**](https://wezfurlong.org/wezterm/escape-sequences.html#operating-system-command-sequences) |\n| [windows terminal](https://github.com/microsoft/terminal) | **yes** |\n| [xterm.js](https://xtermjs.org/) (Hyper terminal) | **yes** |\n| [zellij](https://github.com/zellij-org/zellij/) | **yes** |\n\nSource: [vim-oscyank](https://github.com/ojroques/vim-oscyank)\n\nIf your terminal is not supported, you should disable OSC52 by adding\n```toml\n[clipboard]\nosc52 = false\n```\nto your `config.toml`. This will make nyaa use an alternative method for copying, such as X11 selections or wl-clipboard. To see more info on clipboards, check the [wiki](https://github.com/Beastwick18/nyaa/wiki/Clipboard-Configuration);\n\n# 🎨 Custom Themes\nCheck the wiki for how to add [User-defined Themes](https://github.com/Beastwick18/nyaa/wiki/User%E2%80%90defined-Themes)\n\n## 🗺️ Planned Features\n\n- [ ] Mouse support\n- [ ] Custom user-defined sources\n- [x] ~~Sources other than nyaa~~\n- [x] ~~User-defined themes~~\n- [x] ~~Integration with torrent clients~~\n- [x] ~~RPM Release~~\n- [x] ~~Nyaa proxies/mirrors support~~\n- [x] ~~Page navigation~~\n- [x] ~~Choice between HTML scraper or RSS feed~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeastwick18%2Fnyaa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBeastwick18%2Fnyaa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeastwick18%2Fnyaa/lists"}