Welcome to the Stream Proxy API. This service provides a CORS-enabled proxy for streaming media content with support for HLS (m3u8) playlists.
GET /?url=<target_url>
To proxy a stream, append the target URL as a query parameter:
https://your-domain.vercel.app/?url=https://example.com/stream.m3u8
// Fetch a proxied stream
fetch('/?url=' + encodeURIComponent('https://example.com/video.m3u8'))
.then(response => response.text())
.then(data => console.log(data));