⚠️ IMPORTANT NOTICEAll publicly hosted proxies have been nuked/blocked. It's highly recommended to host your own instance for reliable access. Vercel and Netlify are the preferred platforms for easy deployment.
Easily deployable nyaa proxy to access nyaa from blocked regions
Report Bug
·
Request Feature
Copy sample.env to .env (local) or import into your platform.
| Variable | Default | Description |
|---|---|---|
PROXY_URL |
https://nyaa.si | Base upstream site to proxy |
PORT |
8000 | Local server port (Docker/Node) |
PROXY_RSS_PAGE |
true | If true, rewrite RSS feed URLs to your deployed domain |
cp sample.env .env
# Edit .env if you want a different upstreamInstall CLI:
npm i -g vercelAdd env vars interactively:
vercel env add PROXY_URL production
vercel env add PROXY_RSS_PAGE productionPull all remote envs into a local file:
vercel env pull .env.localSet for preview / development similarly (vercel env add PROXY_URL preview).
Install CLI:
npm i -g netlify-cliSet individual variables:
netlify env:set PROXY_URL https://nyaa.si
netlify env:set PROXY_RSS_PAGE trueImport all from file:
netlify env:import .envList:
netlify env:listUsing the included docker-compose.yml (expects .env in the same directory):
# start (detached)
docker compose up -d
# start and build
docker compose up -d --build
# stop and remove containers
docker compose down
# stream service logs
docker compose logs -f nyaa-proxyRun the official image without compose:
docker run --env-file .env -p 8000:8000 ghcr.io/biohazard786/nyaa-proxy:latestBuild and run locally:
docker build -t nyaa-proxy .
docker run --env-file .env -p 8000:8000 nyaa-proxyOverride specific env vars on the CLI:
docker run -e PROXY_URL=https://example.com -e PORT=8000 -e PROXY_RSS_PAGE=true -p 8000:8000 nyaa-proxyCloudflare IP ranges appear banned by nyaa.si; prefer Vercel/Netlify or a VPS. Workers script kept for reference but may not function reliably against the upstream.
Change only the environment variable; no code edits required. For Netlify Functions and Vercel Edge, deploy after updating env vars.
Distributed under the MIT License. See LICENSE for more information.
Mohd Zaid - Telegram - [email protected]
Project Link : https://github.com/BioHazard786/Nyaa-Proxy