AI prompts
base on :tv: Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more. # IPTVnator - IPTV Player Application
<p align="center">
<img src="https://raw.githubusercontent.com/4gray/iptvnator/electron/src/assets/icons/favicon.256x256.png" alt="IPTVnator icon" title="Free IPTV player application" />
</p>
<p align="center">
<a href="https://github.com/4gray/iptvnator/releases"><img src="https://img.shields.io/github/release/4gray/iptvnator.svg?style=for-the-badge&logo=github" alt="Release"></a>
<a href="https://github.com/4gray/iptvnator/releases"><img src="https://img.shields.io/github/v/release/4gray/iptvnator?include_prereleases&label=pre-release&logo=github&style=for-the-badge" /></a>
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/4gray/iptvnator/build-and-test.yaml?style=for-the-badge&logo=github"> <a href="https://github.com/4gray/iptvnator/releases"><img src="https://img.shields.io/github/downloads/4gray/iptvnator/total?style=for-the-badge&logo=github" alt="Releases"></a> <a href="https://codecov.io/gh/4gray/iptvnator"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/4gray/iptvnator?style=for-the-badge"></a> <a href="https://t.me/iptvnator"><img src="https://img.shields.io/badge/telegram-iptvnator-blue?logo=telegram&style=for-the-badge" alt="Telegram"></a> <a href="https://bsky.app/profile/iptvnator.bsky.social"><img src="https://img.shields.io/badge/bluesky-iptvnator-darkblue?logo=bluesky&style=for-the-badge" alt="Bluesky"></a>
</p>
š **[Website](https://4gray.github.io/iptvnator/)** | <a href="https://t.me/iptvnator">Telegram channel for discussions</a> | <a href="https://ko-fi.com/4gray" target="_blank">Buy me a coffee</a> | <a href="https://github.com/sponsors/4gray">GitHub Sponsors</a>
**IPTVnator** is a video player application that provides support for IPTV playlist playback (m3u, m3u8). The application allows users to import playlists using remote URLs or by uploading files from the local file system. Additionally, it supports EPG information in XMLTV format which can be provided via URL.
The application is a cross-platform, open-source project built with Electron and Angular.
ā ļø Note: IPTVnator does not provide any playlists or other digital content. The channels and pictures in the screenshots are for demonstration purposes only.

## Features
- M3u and M3u8 playlist support šŗ
- Xtream Code (XC) and Stalker portal (STB) support
- External player support - MPV, VLC
- Add playlists from the file system or remote URLs š
- Automatic playlist updates on application startup
- Channel search functionality š
- EPG support (TV Guide) with detailed information
- TV archive/catchup/timeshift functionality
- Group-based channel list
- Favorite channels management
- Global favorites aggregated from all playlists
- HTML video player with HLS.js support or Video.js-based player
- Internationalization with support for 16 languages:
* Arabic
* Moroccan arabic
* English
* Russian
* German
* Korean
* Spanish
* Chinese
* Traditional chinese
* French
* Italian
* Turkish
* Japanese
* Dutch
* Belarusian
* Polish
- Custom "User Agent" header configuration for playlists
- Light and Dark themes
- Docker version available for self-hosting
## Screenshots:
| Welcome screen: Playlists overview | Main player interface with channels sidebar and video player |
| :----------------------------------------------------------------: | :-----------------------------------------------------------: |
|  |  |
| Welcome screen: Add playlist via file upload | Welcome screen: Add playlist via URL |
|  |  |
| EPG Sidebar: TV guide on the right side | General application settings |
|  |  |
| Playlist settings |
|  | |
_Note: First version of the application which was developed as a PWA is available in an extra git branch._
## Download
Download the latest version of the application for macOS, Windows, and Linux from the [release page](https://github.com/4gray/iptvnator/releases).
Alternatively, you can install the application using one of the following package managers:
### Homebrew
```shell
$ brew install iptvnator
```
### Snap
```shell
$ sudo snap install iptvnator
```
### Arch
Also available as an Arch PKG, [iptvnator-bin](https://aur.archlinux.org/packages/iptvnator-bin/), in the AUR (using your favourite AUR-helper, .e.g. `yay`)
```shell
$ yay -S iptvnator-bin
```
### Gentoo
You can install IPTVnator from the [gentoo-zh overlay](https://github.com/microcai/gentoo-zh)
```shell
sudo eselect repository enable gentoo-zh
sudo emerge --sync gentoo-zh
sudo emerge iptvnator-bin
```
[](https://snapcraft.io/iptvnator)
<a href="https://github.com/sponsors/4gray" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-green.png" alt="Buy Me A Coffee" width="185"></a>
## Troubleshooting
### macOS: "App is damaged and can't be opened"
Due to Apple's Gatekeeper security and code signing requirements, you may need to remove the quarantine flag from the downloaded application:
```bash
xattr -c /Applications/IPTVnator.app
```
Alternatively, if the app is located in a different directory:
```bash
xattr -c ~/Downloads/IPTVnator.app
```
### Linux: chrome-sandbox Issues
If you encounter the following error when launching IPTVnator:
```
The SUID sandbox helper binary was found, but is not configured correctly.
Rather than run without sandboxing I'm aborting now.
You need to make sure that chrome-sandbox is owned by root and has mode 4755.
```
**Solution 1: Fix chrome-sandbox permissions (Recommended for .deb/.rpm installations)**
Navigate to the IPTVnator installation directory and run:
```bash
sudo chown root:root chrome-sandbox
sudo chmod 4755 chrome-sandbox
```
**Solution 2: Launch with --no-sandbox flag**
Edit the desktop launcher file to add the `--no-sandbox` flag:
1. Find your desktop file location:
- **Ubuntu/Debian**: `~/.local/share/applications/iptvnator.desktop`
- **System-wide**: `/usr/share/applications/iptvnator.desktop`
2. Edit the file and modify the `Exec` line:
```
Exec=iptvnator --no-sandbox %U
```
3. Save the file and relaunch the application from your application menu.
Alternatively, you can launch IPTVnator from the terminal with the flag:
```bash
iptvnator --no-sandbox
```
## How to Build and Develop
Requirements:
- Node.js with pnpm (via Corepack)
1. Clone this repository and install project dependencies:
```
$ corepack enable
$ pnpm install
```
2. Start the application:
```
$ pnpm run serve:backend
```
This will open the Electron app in a separate window, while the Angular dev server will run at http://localhost:4200.
To run only the Angular app without Electron, use:
```
$ pnpm run serve:frontend
```
## Disclaimer
**IPTVnator doesn't provide any playlists or other digital content.**
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
", Assign "at most 3 tags" to the expected json: {"id":"9814","tags":[]} "only from the tags list I provide: []" returns me the "expected json"