This script generates an m3u8 playlist from the channels provided by services such as Pluto, Samsung, Stirr, Plex, PBS, and Roku. It is based on the original script created by matthuisman, which can be found at matthuisman's GitHub repository.
Use the following URL to access the hosted script. Replace the ADD_REGION
and ADD_SERVICE
placeholders with your desired values.
https://tinyurl.com/multiservice21?region=ADD_REGION&service=ADD_SERVICE
After customizing the URL by replacing the ADD_REGION and ADD_SERVICE placeholders with your desired region and service (e.g., us for the US region and PlutoTV for the service), copy the complete URL and paste it into the "Add Playlist" or "M3U8 URL" section of your IPTV application. Once added, the app will load both the channels and the guide information
Choose one of the following services to include in the service
parameter:
- Plex
- Roku
- SamsungTVPlus
- PlutoTV
- PBS
- PBSKids
- Stirr
- Tubi
Use one of these region codes to specify the region in the region
parameter:
all
(for all regions)ar
(Argentina)br
(Brazil)ca
(Canada)cl
(Chile)de
(Germany)dk
(Denmark)es
(Spain)fr
(France)gb
(United Kingdom)mx
(Mexico)no
(Norway)se
(Sweden)us
(United States)
Use one of the following options in the sort
parameter to specify how you want to sort the channels:
-
name
(default):
Sorts the channels alphabetically by their name. -
chno
:
Sorts the channels by their assigned channel number.
Go here and click the "New Project" button in the upper left corner. Then, copy the script from code.gs and paste it into the script editor. Once done, deploy the script.
Follow this video tutorial to learn how to deploy a Google Apps Script:
How to Deploy a Google Web App
During the deployment process, make sure to select "Anyone" for the "Who has access" option, so the app can access the URL and load without requiring authentication.
Once deployed, you will get a URL similar to:
https://script.google.com/macros/s/...gwlprM_Kn10kT7LGk/exec
To use the script, you need to add the region
and service
parameters at the end of the URL. For example:
https://script.google.com/macros/s/...gwlprM_Kn10kT7LGk/exec?region=us&service=Plex
Simply replace region=us
and service=Plex
with the appropriate region and service values from the available parameters listed above.
Tip: For a cleaner and more concise URL, consider using a URL shortener like tinyurl.com and appending the necessary parameters at the end.
Pull the latest version:
docker pull dtankdemp/free-iptv-channels
Run the container:
docker run -p <port>:4242 dtankdemp/free-iptv-channels
Replace with the desired port (e.g., 8080).
Access the application:
Visit http://localhost:<port>
in your browser.
The script can also be executed locally as a standalone Node.js server without relying on any external libraries or frameworks. To run it, simply navigate to the project directory and use the following command:
node node/index.js
Once the server is running, you can access it locally by navigating to:
http://localhost:4242
The EPG URLs are embedded directly within the playlists. If you'd prefer to manually add the EPG guide, you can find the relevant URLs for each service on this page.
Click to read Disclaimer.
This repository has no control over the streams, links, or the legality of the content provided by Pluto, Samsung, Stirr, Tubi, Plex, PBS, and Roku. Additionally, this script simply converts the JSON files provided by i.mjh.nz into an M3U8 playlist. It is the end user's responsibility to ensure the legal use of these playlists. We strongly recommend verifying that the content complies with the laws and regulations of your country before use.
Click to read DMCA Notice.
This repository does not host or store any video files. It simply organizes publicly accessible web links, which can be accessed through a web browser, into an M3U-formatted playlist. To the best of our knowledge, the content was intentionally made publicly available by the copyright holders or with their permission and consent granted to these websites to stream and share the content they provide.
Please note that linking does not directly infringe copyright, as no copies are made on this repository or its servers. Therefore, sending a DMCA notice to GitHub or the maintainers of this repository is not a valid course of action. To remove the content from the web, you should contact the website or hosting provider actually hosting the material.
If you still believe a link infringes on your rights, you can request its removal by opening an issue or submitting a pull request. Be aware, however, that removing a link here will not affect the content hosted on the external websites, as this repository has no control over the files or the content being provided.