Lightweight AnimePahe Proxy
  • JavaScript 78.5%
  • HTML 20.4%
  • Dockerfile 1.1%
Find a file
2026-03-16 20:00:37 +01:00
.github/workflows Add github workflow to build docker image 2026-03-08 12:38:19 +01:00
html add subs and thumbnails proxy 2026-03-08 20:26:47 +00:00
.dockerignore Add docker 2026-03-08 12:38:04 +01:00
.env.example all mighty push 2026-03-01 16:17:25 +05:30
.gitignore resolved cf_worker 2026-03-04 22:27:00 +05:30
bun.lock fix .env issues 2026-03-08 20:30:58 +00:00
cf_worker.js set origins 2026-03-05 00:28:38 +05:30
config.js fix .env issues 2026-03-08 20:30:58 +00:00
docker-compose.yml Update container name for the compose file 2026-03-16 19:46:48 +01:00
Dockerfile Finally fix docker 2026-03-16 20:00:37 +01:00
index.js add subs and thumbnails proxy 2026-03-08 20:26:47 +00:00
package.json fix .env issues 2026-03-08 20:30:58 +00:00
README.md set origins 2026-03-05 00:28:38 +05:30
vercel.json all mighty push 2026-03-01 16:17:25 +05:30
wrangler.toml set origins 2026-03-05 00:28:38 +05:30

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