v1.5.0 BETA

Snappier Server

IPTV recording server with EPG (Electronic Programme Guide), PVR (automatic recording rules), and scheduled downloads. Pairs with the Snappier IPTV app or the built-in web dashboard.

Quick Start 3 steps

  1. 1 Download and install the app
  2. 2 Run it and copy the API token from the Preferences window
  3. 3 Open http://YOUR-IP:8000/dashboard or connect via the Snappier IPTV app

Setup Details

More detail on each step of the setup process.

1 Install

Grab the desktop app (GUI with system tray icon — recommended for most users) or the CLI binary (for servers without a display). The desktop app bundles FFmpeg (the video processing engine) on macOS/Windows. On Linux, install FFmpeg separately.

2 Launch & Configure

Run the app. It starts a server on port 8000 and generates an API token (a password for connecting). Find the token in the Preferences window (desktop app) or in the console output (CLI).

3 Connect

In the Snappier IPTV app, go to Settings → Snappier Server and enter your server's IP address, port 8000, and the API token. Or open http://YOUR-IP:8000/dashboard in a browser. Do not include http:// in the app — just the IP and port.

How it works: Snappier Server runs in the background and processes recording/download requests. Once a job starts, the client app can be closed — the server works independently. Each active recording or download consumes one IPTV connection. In-progress recordings can be watched from the server without using an additional connection.

Desktop App

System-tray app with Preferences GUI, EPG configuration, and bundled FFmpeg (macOS/Windows).

Which architecture? Most computers use x64. Choose ARM64 only if you have an Apple Silicon Mac (M1/M2/M3/M4), a Snapdragon Windows PC, or a Raspberry Pi. Each download includes a SHA-256 hash you can use to verify the file wasn't corrupted or tampered with during download.

Windows

Windows 10+
x64
.zip
SHA-256aac0c9a1d0f41b70163421265a208666bdc40ce90cf09d25b88752e78f94ffbe
ARM64 Snapdragon
.zip
SHA-256f29bfab8b61f1c62cdd379ec5ca74fbcd5c095113b45391d79b796a1b96cd5c5

macOS

macOS 12+
x64 Intel
.dmg
SHA-256b1f989b9b630dbdb9d2c22dbe2786316fb55e0c8206d295b09766ee0ae8eb0da
arm64 Apple Silicon
.dmg
SHA-25630a109da854653804f42bd7f7924d597285b3445ddb4f2602ded1dbfb2fe9a1d

Linux

AppImage
x64 Intel/AMD
AppImage
SHA-256ec404c48225198fe86b03ced276633bb281004ac9bea9248b9494cfa6c849996
ARM64 Pi, AWS Graviton, etc.
AppImage
SHA-2561c5bdc3558d0b155d8d7c3ec074a03f1d1198051a4d00b153a4f17e6ec4cb70c
  1. Extract the .zip archive and run snappierServer.exe.
    SmartScreen: Windows may show a "Windows protected your PC" warning because the app is new and not registered with Microsoft. This is normal and safe. Click "More info" then "Run anyway".
  2. The tray icon appears in the bottom-right taskbar. Click it to open Preferences and copy your API token.
  3. Optional: enable EPG in Preferences and add your EPG source URL.
  4. Connect via the Snappier IPTV app (Settings → Snappier Server) or open http://YOUR-IP:8000/dashboard. Find your IP: open Command Prompt and type ipconfig — look for "IPv4 Address" (usually starts with 192.168).
  1. Open the .dmg and drag snappierServer to Applications.
  2. Launch from Launchpad or Finder.
    Gatekeeper: Try to open the app first, then go to System Settings → Privacy & Security → "Open Anyway" (macOS 13+) or System Preferences → Security & Privacy (macOS 12).
  3. The menu bar icon appears top-right. Click it to open Preferences and copy your API token.
  4. Optional: enable EPG and add your EPG source URL in Preferences.
  5. Connect via the app or http://YOUR-IP:8000/dashboard. Find your IP: open Terminal and type ipconfig getifaddr en0, or go to System Settings → Network to see your IP address.

Prerequisites

# FFmpeg is required
sudo apt update && sudo apt install ffmpeg   # Debian/Ubuntu
sudo dnf install ffmpeg                       # Fedora/RHEL
sudo pacman -S ffmpeg                         # Arch
Desktop notifications require a notification daemon (dunst, xfce4-notifyd, etc.).
  1. Make executable and run:
    chmod +x snappierServer-*.AppImage
    ./snappierServer-*.AppImage
  2. Click the tray icon to open Preferences. Copy your API token.
  3. Optional: enable EPG and add your EPG source URL.
  4. Connect via the app or http://YOUR-IP:8000/dashboard. Find your IP with hostname -I.

Command-Line Binary

Standalone executable with Node.js bundled in — no dependencies to install. For headless servers, Docker, and automated deployments.

Windows

CLI
x64
.zip
SHA-2562725b1ddd6c6dae83306849df32bf0c15805f220c6eb9c4a46f4f28e5d281c49
ARM64
.zip
SHA-256b0ffdd88d719285c4dab39740119a512d2572fa9d68f9065c92ae1da631d4a73

macOS

CLI
x64 Intel
.zip
SHA-256bdd706e69238131103d3de360704bbe82f1b2b08ce6dd1a0de65464b58b98cfa
ARM64 Apple Silicon
.zip
SHA-256102d7d85cd92c5c1761e038abab71ad9dc03f3a4a7897967b7ad80932b8c0458

Linux

CLI
x64 Intel/AMD
.zip
SHA-2569d28cdc3311e796e14198787fc1b0801d5683dcf010dd4b6ab8b97caf09aebba
ARM64 Pi, AWS Graviton, etc.
.zip
SHA-2561fcae3bdee0ba86f20eb7d7dc3fd0d2fa849749da37663f823196f0786f614f4
Docker by RyDizz214

Run in a Docker container for headless deployments.

GitHub →
Home Assistant Add-on by toellbe

HA add-on with stable/beta channels. amd64 + aarch64.

GitHub →

Prerequisites

# Install FFmpeg
brew install ffmpeg              # macOS (Homebrew)
sudo apt install ffmpeg          # Debian/Ubuntu
sudo dnf install ffmpeg          # Fedora/RHEL
sudo pacman -S ffmpeg            # Arch
macOS users without Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Run

chmod +x snappier-server-cli-*
./snappier-server-cli-*
# Server starts on http://localhost:8000

systemd Service (Linux)

Replace YOUR_USERNAME and paths below. WorkingDirectory determines where config and recordings are stored by default.

sudo tee /etc/systemd/system/snappier-server.service << 'EOF'
[Unit]
Description=Snappier Server
After=network.target

[Service]
Type=simple
User=YOUR_USERNAME
WorkingDirectory=/opt/snappier
ExecStart=/opt/snappier/snappier-server-cli
EnvironmentFile=-/etc/snappier/env
Restart=on-failure
RestartSec=5
StartLimitBurst=5
StartLimitIntervalSec=60
StandardOutput=journal
StandardError=journal

# Hardening
NoNewPrivileges=true
PrivateTmp=true

[Install]
WantedBy=multi-user.target
EOF

# Optional: create env file for configuration
sudo mkdir -p /etc/snappier
sudo tee /etc/snappier/env << 'EOF'
PORT=8000
ENABLE_EPG=true
# EPG_URL=http://provider.com/epg.xml
EOF

sudo systemctl daemon-reload
sudo systemctl enable --now snappier-server
sudo systemctl status snappier-server
Advanced Configuration

Environment Variables & CLI Arguments

  • PORT — Listening port (default: 8000)
  • HOST — Bind address (default: 0.0.0.0)
  • ENABLE_REMUX — Convert .ts to .mkv after recording (default: false)
  • RECORDINGS_FOLDER — Live TV recording output path (default: ~/SnappierServer/Recordings)
  • MOVIES_FOLDER — Movie download output path (default: ~/SnappierServer/Movies)
  • SERIES_FOLDER — TV series download output path (default: ~/SnappierServer/TVSeries)
  • PVR_FOLDER — PVR data path (default: ~/SnappierServer/PVR)
  • HLS_FOLDER — HLS transcoding temp directory (default: ~/SnappierServer/hls)
  • EPG_FOLDER — EPG cache data path (default: ~/SnappierServer/epg)
  • LOGS_FOLDER — Log file directory (default: ~/SnappierServer/logs/)
  • DOWNLOAD_SPEED_LIMIT_MBS — Max curl download speed in MB/s (default: 0 = unlimited)
  • MAX_CURL_RETRIES — Max retry attempts for curl downloads (default: 5)
  • USE_CURL_TO_DOWNLOAD — Force curl for all downloads instead of FFmpeg (default: false)
  • ENABLE_EPG — Enable EPG support (default: false)
  • EPG_URL — Single EPG XML URL (deprecated — use EPG_URLS instead). If both are set, EPG_URLS takes precedence
  • EPG_URLS — Multiple EPG sources as JSON array (takes precedence over EPG_URL)
  • EPG_REFRESH_INTERVAL — Refresh interval in hours (default: 24)
  • LOG_ROTATE_DAYS — Log rotation interval in days (default: 3)
  • LOG_ROTATE_SIZE_MB — Max log file size before rotation in MB (default: 10)
  • KEEP_ALIVE_TIMEOUT — HTTP keep-alive timeout in ms (default: 65000)
  • HEADERS_TIMEOUT — HTTP headers timeout in ms (default: 66000)
  • HLS_USE_HW — Enable hardware acceleration for HLS transcoding (default: false). Uses platform-specific encoders: VideoToolbox on macOS, VAAPI/NVENC on Linux
  • HLS_VIDEO_ENCODER — Override the video encoder for HLS (e.g. h264_videotoolbox, h264_vaapi, h264_nvenc). If unset, uses libx264 or the hardware encoder when HLS_USE_HW is enabled

Setting Variables

# macOS / Linux
export PORT=9000
export ENABLE_REMUX=true
export ENABLE_EPG=true
export EPG_URL="http://example.com/epg.xml"
./snappier-server-cli
# Windows (PowerShell)
$env:PORT = "9000"
$env:ENABLE_REMUX = "true"
.\snappier-server-cli.exe
# Windows (cmd)
set PORT=9000
set ENABLE_REMUX=true
snappier-server-cli.exe

To persist, add to ~/.bashrc, ~/.zshrc, or the systemd service file.

All arguments override environment variables. Run --help for the full list.

./snappier-server-cli --help
Server
--port 8080                          # Override listening port
--host 127.0.0.1                     # Bind address (default: 0.0.0.0)
--enable-remux                       # Convert .ts to .mkv after recording
--speed-limit 50                     # Download speed limit in MB/s
Config & Data Paths
--config /etc/snappier/config.json   # Custom config file (default: ~/SnappierServer/config.json)
--pvr-folder /mnt/data/pvr
--epg-folder /mnt/data/epg
--logs-folder /var/log/snappier
--recordings ~/Recordings
--movies ~/Movies
--series ~/TVShows
Logging
--log-rotate-days 7    # Rotate every N days (default: 3)
--log-rotate-size 20M  # Rotate at N MB (default: 10)
EPG
# Single source
--enable-epg --epg-url "http://example.com/epg.xml" --epg-interval 12

# Multiple sources (JSON)
--enable-epg --epg-urls '[
  {"url":"http://primary.com/epg.xml","name":"Primary","priority":1,"enabled":true},
  {"url":"http://backup.com/epg.xml","name":"Backup","priority":2,"enabled":true}
]'
Full Example
./snappier-server-cli \
  --config /path/to/config.json \
  --port 8080 \
  --enable-epg \
  --epg-url "http://provider.com/epg.xml" \
  --epg-interval 24 \
  --enable-remux \
  --recordings ~/Recordings \
  --movies ~/Movies \
  --series ~/TVShows \
  --logs-folder /var/log/snappier \
  --log-rotate-days 7 \
  --log-rotate-size 20M \
  --epg-folder /mnt/data/epg \
  --pvr-folder /mnt/data/pvr

API Token

A unique API token is generated on first launch. Find it in the Preferences window (desktop app), console output (CLI), or Dashboard Settings. All endpoints (except the dashboard and streaming paths) require this token.

# Header (recommended)
curl -H "X-API-Token: YOUR_TOKEN" http://localhost:8000/config

# Query parameter
curl http://localhost:8000/config?token=YOUR_TOKEN

To regenerate the token, use the Dashboard Settings or POST /auth/regenerate.

Setup Guides & Reference

http://YOUR-SERVER-IP:8000/dashboard

Features

  • System Overview: CPU, memory, disk usage
  • Active Jobs: Real-time progress for downloads and recordings, with cancellation
  • Scheduled Recordings: View and manage upcoming jobs
  • Recording History: Browse completed recordings
  • TV Guide (EPG Grid): Interactive programme listings, channel browsing, recording scheduling, live playback
  • Settings: EPG sources, PVR rules, download paths, remuxing

TV Guide Setup

  1. Dashboard → Settings → EPG Sources → add/edit a source
  2. Check "Use for TV Guide (Xtream Codes)" — credentials auto-detected from Xtream URLs
  3. Save. The server fetches channel and category data.
  4. Click TV Guide in the sidebar to open the interactive grid.

EPG (Electronic Programme Guide) provides programme listings for scheduling recordings and browsing the TV guide. Your IPTV provider supplies the EPG URL — look for "XMLTV URL", "EPG URL", or "TV Guide URL" in your provider's welcome email, customer portal, or app setup instructions. If you can't find it, contact your provider.

EPG URL Format

If your provider uses Xtream Codes (a common IPTV management system), construct the EPG URL from your provider's server details (not your Snappier Server):

http://your-provider-server:port/xmltv.php?username=USERNAME&password=PASSWORD

GUI Setup

  1. Tray icon → Preferences → EPG section
  2. Enable EPG, paste your URL, name the source, set priority (1 = highest)
  3. Set refresh interval (24h recommended), Save
💡 Multiple sources supported. Lower priority number = higher precedence when merging data.

CLI Setup

# Single source
./snappier-server-cli --enable-epg \
  --epg-url "http://iptv.example.com:8080/xmltv.php?username=user&password=pass"

# Multiple sources
./snappier-server-cli --enable-epg --epg-urls '[
  {"url":"http://primary.com/epg.xml","name":"Primary","priority":1,"enabled":true},
  {"url":"http://backup.com/epg.xml","name":"Backup","priority":2,"enabled":true}
]'

Verify

curl -H "X-API-Token: YOUR_TOKEN" http://localhost:8000/epg/status     # Source info & update times
curl -H "X-API-Token: YOUR_TOKEN" http://localhost:8000/epg/channels   # Detected channels
curl -H "X-API-Token: YOUR_TOKEN" -X POST http://localhost:8000/epg/refresh  # Force refresh

Troubleshooting

  • No data: Verify URL returns XML in a browser. Check EPG is enabled. Wait for initial download.
  • Stale data: POST /epg/refresh or reduce refresh interval.
  • URL not working: Verify credentials. Try standard Xtream format. Contact your provider.

PVR (Personal Video Recorder) creates rules that automatically schedule recordings when matching programmes appear in your EPG data. Like a DVR — set it once and the server records every matching episode.

Requirements

  • EPG must be enabled and working
  • Server should be running 24/7 for automatic scheduling

Rule Types

  • Series: Records all future matching episodes continuously. Best for TV series and daily shows.
  • One-time: Records only the next match, then auto-disables. Best for special events or one-off recordings.

How to Create Rules

  • Snappier IPTV app: Long-press any programme in the EPG grid for recording options. Manage rules in the Server section.
  • Web Dashboard: Open Settings → PVR Rules to create and manage rules.

How It Works

The server scans EPG data for matching programmes after each EPG refresh, on startup (2-second delay), or when you trigger a manual scan. Matched programmes are automatically scheduled for recording. You can exclude specific episodes you don't want.

Data Storage

PVR data is stored in the PVR_FOLDER (default: ~/SnappierServer/PVR/):

  • pvr_rules.json — Recording rules
  • pvr_exclusions.json — Excluded episodes
  • Recordings saved as .ts (or .mkv with remuxing enabled)

The server auto-detects SSL certificates on startup and switches to HTTPS. The port stays the same (default 8000) — only the protocol changes. No certs = standard HTTP.

Certificate Paths (checked in order)

  1. ./certs/ (project directory, recommended for CLI)
  2. User data directory:
    • Windows: %APPDATA%\snappierServer-electron\certs\
    • macOS: ~/Library/Application Support/snappierServer-electron/certs/
    • Linux: ~/.config/snappierServer-electron/certs/

Required: privkey.pem and fullchain.pem

Let's Encrypt

sudo certbot certonly --standalone -d yourdomain.com

mkdir -p ./certs
sudo cp /etc/letsencrypt/live/yourdomain.com/privkey.pem ./certs/
sudo cp /etc/letsencrypt/live/yourdomain.com/fullchain.pem ./certs/
sudo chown $USER:$USER ./certs/*.pem

Reverse Proxy (Caddy)

# Caddyfile
yourdomain.com {
    reverse_proxy localhost:8000
}

caddy run

Caddy handles certificates, renewal, and HTTP-to-HTTPS redirect automatically.

Self-Signed (dev only)

mkdir -p ./certs
openssl req -x509 -newkey rsa:4096 \
  -keyout ./certs/privkey.pem \
  -out ./certs/fullchain.pem \
  -days 365 -nodes -subj "/CN=localhost"

Verify

# Check server logs:
# HTTPS: "SSL certificates found in ./certs - starting HTTPS server"
# HTTP:  "No SSL certificates found - starting HTTP server"

Certificate Reload

Certificates are read on startup only. After updating or renewing certificates, restart the server for changes to take effect.

App Connection

Enable the HTTPS/SSL toggle in Snappier IPTV settings. For self-signed certs, visit https://SERVER-IP:8000 in mobile Safari/Chrome first to accept the certificate.

  • Config location: Desktop app stores config in the OS user-data directory (%APPDATA% / ~/Library/Application Support/ / ~/.config/). CLI defaults to ~/SnappierServer/config.json.
  • CLI binary: The CLI is a standalone executable with Node.js bundled in. No runtime dependencies — just download and run.
  • FFmpeg: Bundled on macOS/Windows (desktop app). Install separately on Linux and for all CLI installs.
  • Recording format: .ts (MPEG Transport Stream). Enable remuxing to convert to .mkv for better compatibility with media players like Plex and VLC.
  • Default storage: ~/SnappierServer/ (recordings, movies, series, PVR data). Override with env vars or CLI args.
  • Port conflicts: If port 8000 is already in use, the server will fail to start with an EADDRINUSE error. Change the port with PORT=9000 or --port 9000.
  • Firewall: Allow traffic on the configured port for cross-device access.
  • VPN: The server and client must be able to reach each other over the network (same LAN, or routable via VPN).

Updating

Replace the binary or app with the new version. Your configuration, API token, and recordings are stored separately in ~/SnappierServer/ (CLI) or your OS user-data directory (desktop app) and persist across updates.

Uninstalling

  • Windows: Delete the extracted folder. Remove %APPDATA%\snappierServer-electron if you want to clear config.
  • macOS: Drag the app from Applications to Trash. Remove ~/Library/Application Support/snappierServer-electron for config.
  • Linux: Delete the AppImage or CLI binary. Remove ~/.config/snappierServer-electron (desktop) or ~/SnappierServer (CLI) for config and data.

Desktop App vs CLI

Both share the same recording/download engine. The desktop app adds a Preferences UI, system tray with start/stop controls, a log viewer window, folder browser dialogs, and automatic port hot-reload when config changes. The CLI reads config once at startup.

Find Your IP

# Windows
ipconfig                    # Look for "IPv4 Address"

# macOS
ipconfig getifaddr en0      # Or check System Settings > Network

# Linux
hostname -I                 # Or: ip a
⚠️ Beta: Snappier Server is in beta. Compatibility with all systems and network setups is not guaranteed. Feedback and support on Discord.

Ready to get started?

Download Snappier Server and start recording in minutes.