This repository is an educational Node.js playlist organizer template.
It demonstrates how to read M3U playlist data, categorize channels, and generate structured output files.
All example streaming URLs have been removed for compliance. This project does not provide or distribute live IPTV sources.
- Reads M3U playlist content from configured source URLs.
- Categorizes channels into groups such as
ZEE,SONY,STAR,SPORTS,MOVIES,NEWS,KIDS,TAMIL, andTELUGU. - Generates output files in the
output/folder:all.m3ucustom-channels.json- category-specific
.m3ufiles
- Install Node.js 20+ and npm.
- Open a terminal in this repository.
- Install dependencies:
npm installBefore generating, open generate.js and update the playlist source URLs with content you are legally allowed to use.
The top of generate.js contains constants such as:
PLAYLIST_URLSPORTS_PLAYLIST_URLTAMIL_PLAYLIST_URLTELUGU_PLAYLIST_URL
Replace those values with authorized M3U source URLs or local playlist files.
Run the generator with:
npm startOr directly:
node generate.jsThis will create or update files in the output/ directory.
output/all.m3u— combined playlist of all categoriesoutput/zee.m3u,output/sony.m3u,output/star.m3u, etc.output/custom-channels.json— organized channel metadata
- Do not add unauthorized or pirated stream URLs.
- Use this repository only for learning how to process playlist data.
- Keep the player workflow disabled unless you are hosting only legally permitted content.
If you want to adapt the generator for your own playlists:
- Edit
generate.jsto point to your source data. - Customize category filters in the
FILTERSobject. - Run
npm startto regenerate output.
This repository has been updated to remove public IPTV playback links and unauthorized playlist URLs.
If you plan to publish or share generated output, ensure you have permission for every stream source used.