Lightweight & fast AnimeKai proxy
  • JavaScript 74.4%
  • HTML 24.2%
  • Dockerfile 1.4%
Find a file
2026-03-08 12:15:58 +01:00
.github/workflows Add github workflow to build docker image 2026-03-08 12:15:58 +01:00
html all mighty push 2026-03-06 13:06:14 +05:30
.dockerignore Add docker 2026-03-08 12:12:46 +01:00
.env.example all mighty push 2026-03-06 13:06:14 +05:30
.gitignore all mighty push 2026-03-06 13:06:14 +05:30
cf_worker.js megaup 2026-03-06 16:08:00 +05:30
config.js anikai 2026-03-06 15:16:13 +05:30
docker-compose.yml Add docker 2026-03-08 12:12:46 +01:00
Dockerfile Add docker 2026-03-08 12:12:46 +01:00
index.js megaup 2026-03-06 16:08:00 +05:30
package-lock.json all mighty push 2026-03-06 13:06:14 +05:30
package.json all mighty push 2026-03-06 13:06:14 +05:30
README.md all mighty push 2026-03-06 13:06:14 +05:30
vercel.json all mighty push 2026-03-06 13:06:14 +05:30
wrangler.toml all mighty push 2026-03-06 13:06:14 +05:30

AnimeKai M3U8 Proxy

A lightweight M3U8 proxy for Express and Cloudflare Workers. Handles Referer, Origin, and User-Agent headers to bypass restrictions.

  1. Configure: Edit ALLOWED_ORIGINS in wrangler.toml. Other settings can be modified in cf_worker.js.
  2. Deploy:
    npx wrangler deploy
    

💻 Express (Node.js)

  1. Install: npm install
  2. Run: npm start (Default port: 3000)
  3. Config: Edit .env or config.js.

🛠️ Usage

Endpoint: GET /m3u8-proxy?url=<TARGET_URL>&headers=<JSON_STRING>

Example:

https://your-proxy.com/m3u8-proxy?url=https://example.com/video.m3u8
  • url: The M3U8/segment URL to proxy.
  • headers (optional): JSON-encoded headers (e.g., {"Referer": "https://site.com"}).

Playground (Express Only): Access GET / in your browser.