A lightweight and secure image proxy for trusted domains, used by Chytanka and its subdomains.
- β Domain whitelist to prevent abuse
- β Base64 URL support
- β
Custom
RefererandUser-Agentheaders - β
CORS support for
*.chytanka.ink - β Rate limiting (100 requests / 15 minutes)
- β Binary-safe proxying (images, files)
GET /api?url={encodedUrl}[&ref={referer}]
url: target URL (can be raw or Base64-encoded)ref: optional referer header
npm install
node index.jsRuns on http://127.0.0.1:5000 by default.
Only requests to the following domains (and their subdomains) are allowed:
- imgur.com
- mangadex.org
- comick.fun
- imgchest.com
- mangadex.network
- nhentai.net
- pixiv.net
- pximg.net
- redd.it
- telegra.ph
- yande.re
- b-cdn.net
- CORS is restricted to *.chytanka.ink
- Rate-limited to prevent abuse
- No caching β you may place this behind a CDN or nginx for production use
π License
MIT