https://github.com/devfans/tvs
https://github.com/devfans/tvs
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devfans/tvs
- Owner: devfans
- Created: 2025-04-03T10:14:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T11:22:37.000Z (about 1 year ago)
- Last Synced: 2025-04-03T12:28:11.164Z (about 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TVS - IPTV Source Aggregator
A simple Go tool to convert text-based IPTV source lists into valid M3U playlists.
## Features
- Converts simple text files to M3U format
- Supports comments in input files
- Handles basic channel name and URL parsing
- Generates standard-compliant M3U playlists
## Installation
```bash
go install github.com/stefan/tvs@latest
```
Or clone and build manually:
```bash
git clone https://github.com/stefan/tvs.git
cd tvs
go build
```
## Usage
1. Create a text file with your IPTV sources in the following format:
```
channel_name,stream_url
```
2. Run the tool:
```bash
./tvs input.txt output.m3u
```
## Input File Format
The input file should contain one channel per line in the format:
```
channel_name,stream_url
```
Example (sample.txt):
```
BBC One,http://example.com/bbc1/index.m3u8
BBC Two,http://example.com/bbc2/index.m3u8
```
Lines starting with # are treated as comments and will be ignored.
## License
MIT