Skip to content

Vertixx01/anime-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Anime Proxy

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.

🌟 Features

  • 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.

🚀 One-Click Deploy

Deploy your own instance of Anime Proxy with a single click:

Deploy on Railway Deploy with Vercel Deploy to Cloudflare Workers

🛠️ Usage

Proxy a Stream

To proxy an M3U8 or any media file, use the url query parameter:

GET /api?url=https://example.com/playlist.m3u8

Info & Metadata

Get detailed project metadata and endpoint documentation:

GET /api/info

Status & Health

Check the service status (available as HTML badge or JSON):

GET /api/status [Accept: application/json]

Optional Parameters

  • origin: Override the Origin and Referer headers for the upstream request.
  • headers: Pass a JSON-encoded object for custom headers.
  • debug=1: Enable debug information in the response (for manifests).

Watch Order API

Fetch the recommended watch order for an anime using its AniList ID:

GET /api/watch-order?id=12345

📦 Local Development

Ensure you have Bun installed:

  1. Clone the repository:

    git clone https://github.com/Vertixx01/anime-proxy.git
    cd anime-proxy
  2. Install dependencies:

    bun install
  3. Start the development server:

    bun run dev

📜 License

MIT

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors