Skip to content

The M3U Playlist Proxy is a lightweight and effective tool designed to forward essential headers to proxy M3U playlist streams.

License

Notifications You must be signed in to change notification settings

bharing19/m3u-playlist-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is the M3U Playlist Proxy

The M3U Playlist Proxy is a lightweight and effective tool designed to forward essential headers to proxy M3U playlist streams. Acting as a bridge between your client and the server, it ensures that important headers (such as User-Agent, Referer, etc.) are accurately passed along. This setup allows IPTV applications to reliably access streams that need specific headers in place.

Note: Ensure that you use only the standard M3U8 playlist (playlist.m3u8) when setting up the M3U Playlist Proxy. Other formats, such as TiviMate, Kodi, and VLC, are not compatible and will not work with this setup.

Recommended Setup for Windows Users

For Windows users, this is the recommended method to use the M3U Playlist Proxy, as it gives you complete control without the limitations of the Cloudflare Worker’s 100,000 requests per day.

m3u.proxy.on.windows.mp4

Simply download and extract the ZIP file, then run the setup_service.bat. This will install the m3u-playlist-proxy as a Windows service, allowing it to run seamlessly in the background. If you're not using a Windows machine or prefer a different setup, feel free to use one of the other options below.

Download ZIP

Setup with Cloudflare Worker

Note: The Cloudflare Worker option no longer works with the DaddyLive Playlist.

Cloudflare Workers allows you to run JavaScript code at the edge, right on Cloudflare's infrastructure, with a generous free tier. A free Cloudflare account offers 100,000 requests per day, which is more than enough to proxy and manage these streams efficiently.

m3u-playlist-proxy.mp4

Steps to Manually Deploy Your Worker

You can easily deploy this Worker to your Cloudflare account by following these steps:

  1. Sign up or log in to your Cloudflare account at https://dash.cloudflare.com/.

  2. Navigate to Workers in the left sidebar.

  3. Click Create a Worker.

  4. Copy the code from the worker.js file in this repository and paste it into the Cloudflare Workers editor.

  5. Save and deploy the Worker.

  6. Use the automatically generated Worker URL to start proxying your streams.

Setup with Docker

The M3U Playlist Proxy is also available as a Docker image, allowing you to easily deploy it in a containerized environment. By using Docker, you can quickly start the proxy without needing to install dependencies or manually configure the environment.

Pulling the Docker Image

To get started, pull the latest version of the M3U Playlist Proxy Docker image with the following command:

docker pull dtankdemp/m3u-playlist-proxy:latest

Running the M3U Playlist Proxy Container

Once you’ve pulled the image, you can start the container using:

docker run -d -p <port>:4123 dtankdemp/m3u-playlist-proxy:latest

This command runs the proxy on port 4123, allowing your IPTV application to connect to it locally or remotely (depending on your setup) to access M3U playlist streams with the necessary headers correctly forwarded. Adjust the port if needed, based on your environment.

About

The M3U Playlist Proxy is a lightweight and effective tool designed to forward essential headers to proxy M3U playlist streams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published