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.
- Bring your own media — Phlix plays the files you own, on hardware you control, and your library never leaves it unless you say so. Free and open source; no subscription, no catalog to buy
- Real-time SyncPlay with NTP-style time sync so movie night actually stays in sync
- Adaptive HLS streaming, FFmpeg transcoding, per-device quality profiles
- Plugin system with a versioned manifest contract
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.
Linux install guide Latest server releases Browse the themes below
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.
- Software for files you already own — no catalog, no bundled content, nothing to subscribe to. What you add is yours to organize and watch; keeping it legal is the same responsibility as owning a shelf of DVDs.
- Real-time SyncPlay with NTP-style time sync so movie night actually stays in sync, adaptive HLS streaming with FFmpeg transcoding and per-device quality profiles, and native apps for Roku, Samsung Tizen, Windows, Mobile, and the Linux console — plus the web portal and any DLNA device.
- Theme plugins re-skin the app itself, and each account picks its own active theme in Settings — official UI themes ship in the plugin catalog.
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.