A FastAPI proxy for Physics Wallah HLS streams. Rewrites .m3u8 playlists so any standard video player can play auth-protected streams.
| Endpoint | Params | Description |
|---|---|---|
GET /pw |
url, token |
Fetches and rewrites an HLS playlist |
GET /key_proxy |
url, token |
Proxies AES-128 decryption keys |
GET / |
— | Health check |
https://your-app.onrender.com/pw?url={m3u8_url}&token={pw_bearer_token}
Pass this URL into any HLS-compatible player (VLC, hls.js, etc).
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/YOUR_USERNAME/hls-proxy.git
git push -u origin main- Go to render.com and sign in
- Click New → Web Service
- Connect your GitHub repo
- Render auto-detects settings from
render.yaml— just click Deploy
https://hls-proxy.onrender.com
pip install -r requirements.txt
uvicorn main:app --reloadAPI will be at http://localhost:8000
Swagger docs at http://localhost:8000/docs