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, and any DLNA device — with SyncPlay, Live TV, transcoding, and a hub that follows you anywhere.

Built for movie night. Ready for anything.

Phlix handles your entire media library — from acquisition to playback, on any device in your home.

  • 100% self-hostable — your library never leaves your hardware unless you say so
  • Native clients on Roku, Samsung Tizen, Windows, Mobile, plus any DLNA device
  • Real-time SyncPlay with NTP-style time sync so movie night actually stays in sync
  • Multi-source metadata: TMDB, TVDB, Fanart.tv, and local NFO with 24-hour cache
  • Adaptive HLS streaming, FFmpeg transcoding, per-device quality profiles
  • Live TV with DVR + EPG guide integration
  • Plugin system with a versioned manifest contract

Everything you need.

From library management to cross-device sync, Phlix has you covered.

Library that organizes itself

Folder-watcher hashes mtimes, scanner parses S01E02 / (2020) titles, ItemRepository hydrates metadata_json. Add a file, see it appear.

SyncPlay across the room or across the country

Weighted-mean NTP offset over 5 samples keeps every device locked to the same frame. Play, pause, seek — everyone moves together.

Transcoding that picks the right quality

QualitySelector profiles for mobile-low, mobile-high, web, and tv-4k. CRF 23/28 libx264/libx265 with HLS master and variant playlists.

Multi-user, multi-profile, parental controls

JWT auth with refresh tokens, Argon2ID password hashing, up to 5 profiles per user, 4- or 6-digit PINs, rating filter from G to NC-17.

Live TV with DVR + EPG

ChannelManager, GuideManager, and Recorder give you scheduled recordings and a guide that doesn't make you click through menus.

DLNA for the devices you already own

ContentDirectory, AvTransport, and a DeviceRegistry mean your old smart TV doesn't need a new app.

The Phlix ecosystem

Open-source components that work together to power your media experience.

phlix-server

The media server itself — PHP 8.3+, Workerman 5.x

View on GitHub

phlix-shared

Shared interfaces, DTOs, event types — Composer package

View on GitHub

phlix-docs

End-user, developer, and hub-admin docs (VitePress)

Read the docs