{"id":13740568,"url":"https://github.com/NyaaPantsu/nyaa","last_synced_at":"2025-05-08T20:31:59.559Z","repository":{"id":38899680,"uuid":"90023962","full_name":"NyaaPantsu/nyaa","owner":"NyaaPantsu","description":"Nyaa.se replacement written in golang","archived":false,"fork":false,"pushed_at":"2023-09-20T05:49:29.000Z","size":22241,"stargazers_count":994,"open_issues_count":72,"forks_count":148,"subscribers_count":53,"default_branch":"dev","last_synced_at":"2024-11-15T10:42:38.014Z","etag":null,"topics":["anime","archive","database","docker","golang","nyaa","nyaa-replacement","tracker"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NyaaPantsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-05-02T11:07:24.000Z","updated_at":"2024-11-08T20:16:37.000Z","dependencies_parsed_at":"2022-08-18T13:52:54.636Z","dependency_job_id":"4c4c28d0-9ad7-4bdd-aaa9-6a725d937ca4","html_url":"https://github.com/NyaaPantsu/nyaa","commit_stats":{"total_commits":2803,"total_committers":123,"mean_commits":"22.788617886178862","dds":0.7231537638244738,"last_synced_commit":"ee808dc7a18ef6d4ff7ff0d21aa5e18c4f406806"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyaaPantsu%2Fnyaa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyaaPantsu%2Fnyaa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyaaPantsu%2Fnyaa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyaaPantsu%2Fnyaa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NyaaPantsu","download_url":"https://codeload.github.com/NyaaPantsu/nyaa/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253144899,"owners_count":21861144,"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","archive","database","docker","golang","nyaa","nyaa-replacement","tracker"],"created_at":"2024-08-03T04:00:49.851Z","updated_at":"2025-05-08T20:31:59.048Z","avatar_url":"https://github.com/NyaaPantsu.png","language":"Go","funding_links":[],"categories":["Data Sources","Go","golang"],"sub_categories":[],"readme":"![nyanpasu~](https://my.mixtape.moe/aglaxe.png)\n\n# Nyaa replacement [![Build Status](https://travis-ci.org/NyaaPantsu/nyaa.svg?branch=master)](https://travis-ci.org/NyaaPantsu/nyaa) [![Go Report Card](https://goreportcard.com/badge/github.com/NyaaPantsu/nyaa)](https://goreportcard.com/report/github.com/NyaaPantsu/nyaa) [![GoDoc](https://godoc.org/github.com/NyaaPantsu/nyaa?status.svg)](https://godoc.org/github.com/NyaaPantsu/nyaa)[![Coverage Status](https://coveralls.io/repos/github/NyaaPantsu/nyaa/badge.svg?branch=dev)](https://coveralls.io/github/NyaaPantsu/nyaa?branch=dev)\n\n## Motivation\nThe aim of this project is to write a fully featured nyaa replacement in golang\nthat anyone will be able to deploy locally or remotely.\n\n## [Roadmap](https://github.com/NyaaPantsu/nyaa/projects/2)\nAs of August 17th the [trello board](https://trello.com/b/gMJBwoRq/nyaa-pantsu-cat-roadmap) has been moved to [GitHub Projects](https://github.com/NyaaPantsu/nyaa/projects/2)\n\nThe Roadmap will give you an overview of the features and tasks that the project are currently discussing, working on and have completed.\nIf you are looking for a feature that is not listed just make a GitHub Issue and it will get added to the trello board.\n\nYou can view the public GitHub Projects board [here](https://github.com/NyaaPantsu/nyaa/projects/2) or click on the \"Roadmap\".\n\n# Requirements\n\n* Golang ![golang](http://i.imgur.com/UEdZpr4.png)\n\n# Installation\nAll tested versions of Ubuntu fail to build, use a different OS or docker\n* Install [Golang](https://golang.org/doc/install) (version \u003e=1.8)\n* `go get -u github.com/tools/godep`\n* `go get github.com/NyaaPantsu/nyaa`\n\nOn Windows, a specific version of GCC is used to build a specific depedency we use\nThe GCC version packaged with [msys2](https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--\u0026-MSYS2) should work\n\nNow proceed to build godep\nEither use:\n* `godep go build`\nOr use this to have the build version in index.html:\n* `godep go build -ldflags \"-X main.buildversion=$(git rev-parse HEAD)\"`\nOr you can build using package.sh (Windows \u0026 Linux):\n* `./package.sh`\n\n\n* Download the DB and place it in your root folder named as \"nyaa.db\" (You want the merged.sqlite3 database, see the dev IRC for more info)\n* `./nyaa`\n* You can now access your local site over on [localhost:9999](http://localhost:9999)\n\n## Usage\n\nType `./nyaa -h` for the list of options.\n\n## Systemd\n\n* Edit the unit file `os/nyaa.service` to your liking\n* Copy the package's content so that your unit file can find them.\n* Copy the unit file in `/usr/lib/systemd/system`\n* `systemctl daemon-reload`\n* `systemctl start nyaa`\n\nThe provided unit file uses options directly; if you prefer a config file, do the following:\n\n* `./nyaa -print-defaults \u003e /etc/nyaa.conf`\n* Edit `nyaa.conf` to your liking\n* Replace in the unit file the options by `-conf /etc/nyaa.conf`\n\n\n## Docker\n\nWe support docker for easy development and deployment. Simply install docker and\ndocker-compose by following the instructions [here](https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository).\n\nOnce you've successfully installed docker, make sure you have the database file\nin the project's directory as nyaa.db. Then, follow these steps to build and run\nthe application.\n\nWindows Users If you get `\"standard_init_linux.go:178: exec user process caused \"no such file or directory\"`\ndownload [dos2unix](https://sourceforge.net/projects/dos2unix/files/latest/download) and run \"dos2unix.exe\"\non the /deploy/init.sh to convert CR+LF to LF.\n\n```sh\n# Make sure the project is in here $GOPATH/src/github.com/NyaaPantsu/nyaa\n$ cd deploy/\n# You may choose another backend by pointing to the\n# appropriate docker-compose file.\n$ docker-compose -f docker-compose.sqlite.yml build\n$ docker-compose -f docker-compose.sqlite.yml up\n```\n\nAccess the website by going to [localhost:9999](http://localhost:9999).\n\n\u003e For postgres, place the dump in the toplevel directory and name it to\n\u003e nyaa_psql.backup.\n\n# LICENSE\nThis project is licensed under the MIT License - see the LICENSE.md file for details\n\n# Contributing\n Use tabs for css and js files.\n# Contributing to translation\nPlease look at /translations/README.md\n# IRC\n#nyaapant\u003cspan\u003esu@irc\u003cspan\u003e.rizon.n\u003c/span\u003eet\u003c/span\u003e\n\n#nyaapantsu-dev\u003cspan\u003e@ir\u003cspan\u003ec.rizon.n\u003c/span\u003eet\u003c/span\u003e (Serious buisness only)\n\n# Disclaimer\nWe take no legal responsibility for anything this code is used for. This is purely an educational proof of concept.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNyaaPantsu%2Fnyaa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNyaaPantsu%2Fnyaa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNyaaPantsu%2Fnyaa/lists"}