A high-performance, edge-ready M3U8 and binary proxy designed for seamless anime streaming. Built with Hono and optimized for deployment on Vercel Edge, Railway, and Cloudflare Workers.
- M3U8 Rewriting: Automatically rewrites HLS manifests to proxy segments and sub-manifests.
- CORS Enabled: Seamlessly handle cross-origin requests for streaming players.
- Edge-Ready: Optimized for Vercel Edge Runtime and Cloudflare Workers.
- Relative Path Support: Intelligent cookie-based redirection for relative segment paths.
- Watch Order Scraper: Built-in API to fetch anime watch orders using Chiaki.site.
- Multi-Platform Support: Ready to deploy on Vercel, Railway, and Cloudflare.
Deploy your own instance of Anime Proxy with a single click:
To proxy an M3U8 or any media file, use the url query parameter:
GET /api?url=https://example.com/playlist.m3u8
Get detailed project metadata and endpoint documentation:
GET /api/info
Check the service status (available as HTML badge or JSON):
GET /api/status [Accept: application/json]
origin: Override theOriginandRefererheaders for the upstream request.headers: Pass a JSON-encoded object for custom headers.debug=1: Enable debug information in the response (for manifests).
Fetch the recommended watch order for an anime using its AniList ID:
GET /api/watch-order?id=12345
Ensure you have Bun installed:
-
Clone the repository:
git clone https://github.com/Vertixx01/anime-proxy.git cd anime-proxy -
Install dependencies:
bun install
-
Start the development server:
bun run dev
MIT