Skip to content

chh112358/iptv-sources

 
 

Repository files navigation

iptv-sources

Autoupdate iptv sources

Docker Build Docker Version Docker Image Docker Pulls Docker Stars

Join discord: Discord

Sources are from:

EPG Sources are from:

See https://m3u.ibert.me to get more.

Use CDN (Not recommended): You can use https://fastly.jsdelivr.net/gh/HerbertHe/iptv-sources@gh-pages/ to replace https://m3u.ibert.me/ for using CDN Service. Due to the Cache Policy of CDN, the content wouldn't be the latest, the m3u files would be updated every 2 hours.

Deploy by yourself

You can also deploy the project by yourself with docker.

docker run --name iptv-sources -p 3000:8080 -d herberthe0229/iptv-sources:latest
  • Run docker ps to get container status.

Wait a minute, visit http://localhost:3000.

Then, you can use http://localhost:3000 instead of https://m3u.ibert.me.

For example: https://m3u.ibert.me/cn.m3u -> http://localhost:3000/cn.m3u

Or, you can also deploy with your own server & domain.

Crontab

Maybe you want to set schedule for auto-updating per 2 hours.

crontab -e
  • Press keyboard i for adding schedule.

  • Add:

0 */2 * * * /bin/sh ~/iptv-update.sh
  • Press keyboard ESC to exit edit mode
  • Type :wq to save
  • Restart crontab service
service crond restart

Update docker image

/bin/sh ~/update-image.sh

Star History

Star History Chart

LICENSE

MIT © Herbert He 2023

About

Autoupdate iptv sources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.3%
  • Shell 3.2%
  • Dockerfile 0.5%