Skip to content

bhedouin/IPTV-Live-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues Apache License 2.0

IPTV Live API

Getting Started

This API allows you to get the m3u URL of a live stream like YouTube, Twitch or Dailymotion and many others.

SUPPORTED SITES

Installation

Deploying from Docker Image
  1. Run the Docker Image
docker run -d \
  --name=IPTV-Live-API \
  --restart unless-stopped \
  -p 8000:80 \
  ghcr.io/baptiste313/iptv-live-api:main
  1. See the logs
docker logs -f --tail 10 IPTV-Live-API
Running without Docker
  1. Clone the repository
git clone https://github.com/baptiste313/IPTV-Live-API && cd IPTV-Live-API
  1. Installs the yt-dlp dependency
sudo apt install yt-dlp
  1. Run it through the PHP web server
php -S 0.0.0.0:8000
Building from Source
  1. Clone the repository
git clone https://github.com/baptiste313/IPTV-Live-API && cd IPTV-Live-API
  1. Build the Docker Image
docker build -t iptv-live-api .
  1. Run the Docker Image
docker run -d \
  --name=IPTV-Live-API \
  -p 8000:80 \
  --restart unless-stopped \
  iptv-live-api
  1. See the logs
docker logs -f --tail 10 IPTV-Live-API

Usage

To access the videos, you can enter their URLs directly into VLC or any other video streaming player like Kodi:

You can replace hedouin.eu with your IP address if you are hosting yourself.

Contributing

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!

Acknowledgments