# iptv-api **Repository Path**: watching/iptv-api ## Basic Information - **Project Name**: iptv-api - **Description**: IPTV电视直播源更新工具🚀:✨央视、📡卫视、☘️广东及各省份地方台、🌊港·澳·台、🎬电影、🎥咪咕、🏀体育、🪁动画、🎮游戏、🎵音乐、🏛经典剧场;支持IPv4/IPv6;支持自定义增加频道;支持组播源、酒店源、订阅源、关键字搜索;每天自动更新两次,结果可用于TVBox等播放软件 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2024-12-17 - **Last Updated**: 2025-08-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
### Docker
- iptv-api (Full version): Higher performance requirements, slower update speed, high stability and success rate. Set
open_driver = False to switch to the lite running mode (recommended for hotel sources, multicast sources, and online
searches)
- iptv-api:lite (Condensed version): Lightweight, low performance requirements, fast update speed, stability uncertain (
recommend using this version for the subscription source)
It's recommended to try each one and choose the version that suits you
1. Pull the image:
- iptv-api
```bash
docker pull guovern/iptv-api:latest
```
- iptv-api:lite
```bash
docker pull guovern/iptv-api:lite
```
2. Run the container:
- iptv-api
```bash
docker run -d -p 8000:8000 guovern/iptv-api
```
- iptv-api:lite
```bash
docker run -d -p 8000:8000 guovern/iptv-api:lite
```
Volume Mount Parameter (Optional):
This allows synchronization of files between the host machine and the container. Modifying templates, configurations,
and retrieving updated result files can be directly operated in the host machine's folder.
Taking the host path /etc/docker as an example:
- iptv-api:
```bash
docker run -v /etc/docker/config:/iptv-api/config -v /etc/docker/output:/iptv-api/output -d -p 8000:8000 guovern/iptv-api
```
- iptv-api:lite:
```bash
docker run -v /etc/docker/config:/iptv-api-lite/config -v /etc/docker/output:/iptv-api-lite/output -d -p 8000:8000 guovern/iptv-api:lite
```
Port environment variables:
```bash
-e APP_PORT=8000
```
3. Update results:
- API address: ip:8000
- M3u api:ip:8000/m3u
- Txt api:ip:8000/txt
- API content: ip:8000/content
- Speed test log: ip:8000/log
## Changelog
[Changelog](./CHANGELOG.md)
## Appreciate