This API allows you to get the m3u URL of a live stream like YouTube, Twitch or Dailymotion and many others.
SUPPORTED SITES |
---|
Deploying from Docker Image
- Run the Docker Image
docker run -d \
--name=IPTV-Live-API \
--restart unless-stopped \
-p 8000:80 \
ghcr.io/baptiste313/iptv-live-api:main
- See the logs
docker logs -f --tail 10 IPTV-Live-API
Running without Docker
- Clone the repository
git clone https://github.com/baptiste313/IPTV-Live-API && cd IPTV-Live-API
- Installs the
yt-dlp
dependency
sudo apt install yt-dlp
- Run it through the PHP web server
php -S 0.0.0.0:8000
Building from Source
- Clone the repository
git clone https://github.com/baptiste313/IPTV-Live-API && cd IPTV-Live-API
- Build the Docker Image
docker build -t iptv-live-api .
- Run the Docker Image
docker run -d \
--name=IPTV-Live-API \
-p 8000:80 \
--restart unless-stopped \
iptv-live-api
- See the logs
docker logs -f --tail 10 IPTV-Live-API
To access the videos, you can enter their URLs directly into VLC or any other video streaming player like Kodi:
- https://hedouin.eu/?url=https://youtube.com/c/franceinfo/live
- https://hedouin.eu/?url=https://twitch.tv/xQc
- https://hedouin.eu/?url=https://dailymotion.com/video/xgepjr
You can replace hedouin.eu
with your IP address if you are hosting yourself.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!