Skip to content

Ampache

Self-hosted PHP web server for streaming your own music and video library

Copyleft (OSI) · AGPL-3.0
  • Self-hosted

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

3,847

Last commit

today

Nov 2026

Repository age

13 years

since Mar 2013

Latest version

8.4.0

Nov 2026

Contributors

–

3 active in 90 days

Releases

24

last 12 months

Docker pulls

2.5M

ampache/ampache

Language

PHP

Ampache is a web-based audio and video streaming application and file manager. You point it at a library you have already organized, and it lets you play that collection from almost any device with a browser or a compatible client. It reads embedded tags and file names for metadata, so it works best with a tidy collection. It is not a media organizer.

It is written in PHP and uses a MySQL database. Ampache 8 requires PHP 8.5 or later, and 8.4.0 also supports PHP 8.6. It runs on Apache, nginx, lighttpd or IIS, with Apache receiving the most testing. Docker images are available. Node.js is needed for building the frontend. Optional modules add LDAP authentication and UPnP.

An opt-in Jellyfin-compatible API lets third-party Jellyfin clients such as Finamp and Symfonium browse and stream your library. There is also a documented Ampache API. It is AGPL-3.0 licensed and replaces iTunes as a way to serve your own files. It has no licensed streaming catalog and no native desktop player.

Who it's for

Collectors with a large, well-tagged music library

Ampache builds its views from embedded tags, so organized files translate directly into browsable collections.

Skip if: Your files are untagged and you want a tool that cleans them up.

Self-hosters who use Jellyfin-compatible mobile apps

The opt-in Jellyfin-compatible API lets clients like Finamp and Symfonium connect.

Skip if: You want a native desktop player with device sync.

Admins who already run a PHP and MySQL stack

It runs on common web servers and also ships Docker images.

Skip if: You cannot run PHP 8.5 or later.

The problem it solves

Your music and video files sit on one machine, and you want to play them from your phone or another computer without a subscription service. Ampache serves your own library over the web from a server you control.

Strengths

  • Streams both audio and video from your own files
  • Opt-in Jellyfin-compatible API works with third-party clients
  • Documented API for building or using other clients
  • Runs on Apache, nginx, lighttpd or IIS
  • Active since 2013 with 24 releases in the past year

Trade-offs

  • Ampache 8 requires PHP 8.5 or later
  • Does not organize or fix tags in your files
  • No licensed streaming catalog
  • No native desktop player or device sync

Ampache replaces

Self-host Ampache

Self-hostable
Yes
Docker image
ampache/ampache
Docker Compose
The repository ships a Compose file

In the community

Frequently asked questions

Is Ampache free to use?

Yes. It is open source under the AGPL-3.0 license.

Can I self-host it with Docker?

Yes. Docker images are available, and you can also install it on a web server such as Apache or nginx.

Which PHP version do I need?

Ampache 8 requires PHP 8.5 or later. Version 8.4.0 and higher also supports PHP 8.6.

Can I use Jellyfin apps with it?

Yes. An opt-in Jellyfin-compatible API lets clients like Finamp, Symfonium and gelly browse and stream your library.

Other YouTube Music alternatives

Compare all 7 YouTube Music alternatives →

Similar tools in Music players and streaming

Beets

Music players and streaming

Command-line music library manager that fixes tags and metadata for large collections

16k 2.2k 2 days ago Thriving MIT

C* Music Player

Music players and streaming

Fast console music player for Unix-like systems, driven from the keyboard

6.3k 523 27 days ago Slowing GPL-2.0

ncspot

Music players and streaming

Terminal Spotify client in Rust with Vim keys for Premium users on Linux, macOS and BSD

6.8k 282 today Active BSD-2-Clause

gonic

Music players and streaming

Lightweight self-hosted music server that speaks the Subsonic API for existing clients

2.7k 173 7 days ago Active GPL-3.0

Replaces Spotify

LX Music Desktop

Music players and streaming

Electron desktop music player and search tool, with a sync server and local API

56k 7.2k 17 days ago Active Apache-2.0

Replaces Spotify

psst

Music players and streaming

Native Rust desktop client for Spotify Premium users who want a lighter app than Electron

9.5k 278 3 months ago Dormant MIT