🎥 Stream Proxy API

Welcome to the Stream Proxy API. This service provides a CORS-enabled proxy for streaming media content with support for HLS (m3u8) playlists.

📡 API Endpoint

GET /?url=<target_url>

🔧 Usage

To proxy a stream, append the target URL as a query parameter:

https://your-domain.vercel.app/?url=https://example.com/stream.m3u8

✨ Features

⚠️ Note: This API is designed for legitimate streaming purposes. Please ensure you have the rights to proxy the content you're accessing.

📚 Example

// Fetch a proxied stream
fetch('/?url=' + encodeURIComponent('https://example.com/video.m3u8'))
  .then(response => response.text())
  .then(data => console.log(data));