Phlix

Self-hosted media server

Your media. Your library. Your Phlix.

An open-source PHP media server that streams to your Roku, Samsung TV, Windows desktop, phone (beta), and any DLNA device — with SyncPlay, Live TV, transcoding, and a hub that follows you anywhere.

Free and open source — server and hub under MPL-2.0, shared libraries, plugins and clients under MIT. Run Phlix on your own hardware.

Install Phlix

One line, on a fresh Ubuntu or Debian host

curl -fsSL https://raw.githubusercontent.com/detain/phlix-server/master/scripts/install.sh | sudo bash

PHP 8.3+, MySQL, ffmpeg. The installer targets a fresh Ubuntu/Debian host and also compiles the Swoole and php-uv extensions from source, skipping the build when they already load.

Prompts for install path, database credentials and hostname when run in a terminal; runs fully unattended when piped or given -y. Default ports: HTTP on :8096 behind HAProxy on :80 (:443 once HTTPS is provisioned in the same run via --domain and --admin-email), DLNA discovery on 1900/udp.

Why Phlix

Same job as Plex / Jellyfin / Emby — a different stack

Phlix is built in PHP 8.3+ on Workerman, ships with a versioned plugin contract, and includes a hub for accessing remote servers behind NAT without a third-party tunnel.

Your server, your look: official brand-kit themes

Every published Phlix brand-kit site, live. Each brand kit is a full themed site — open one to see how the same product speaks in a different voice.

Brand-kit site previews — hover to enlarge, click to open.

Hover to preview · Click to open