Skip to content

Gerbera

UPnP media server that streams your music, video and photos to devices on your home

Copyleft (OSI) · GPL-2.0
  • Self-hosted

Listed by , founder & editor

74

Health

Active

Overview

Stars

1,405

Last commit

2 days ago

Nov 2026

Repository age

12 years

since Aug 2014

Latest version

v3.3.0

Sep 2026

Contributors

–

6 active in 90 days

Releases

5

last 12 months

Docker pulls

1.5M

gerbera/gerbera

Language

C++

Gerbera is a UPnP media server written in C++. It scans folders of music, video and photos and serves them to UPnP-compatible players, TVs and other renderers on your local network. It runs on Linux, BSD and macOS, and on x86, ARM and MIPS hardware. A Docker image is available.

A web UI shows a tree view of the database and the file system, so you can add, remove, edit and browse media. Gerbera reads metadata from MP3, OGG, AAC, M4A, FLAC, WavPack and JPG files, among others. It builds thumbnails, including video thumbnails on the fly. Directory rescans run on a timer or through inotify.

You can define the server layout from extracted metadata, transcode through plugins or scripts, scrobble to last.fm, and publish links to internet content through UPnP. Data is stored in SQLite, and scripting uses Duktape. It is licensed GPL-2.0 and has been developed since 2014. It suits you if you want a self-hosted alternative to commercial media server software on a home network.

Who it's for

Home users with a UPnP-capable TV or speakers

It serves your local library to any UPnP renderer without a cloud account.

Skip if: You want polished apps, remote streaming outside your network or automatic artwork and metadata lookups.

People running a NAS or small Linux server

It runs as a daemon on x86, ARM or MIPS hardware, with a Docker image and inotify-based rescans.

Skip if: You prefer a media server with its own client apps for phones and browsers.

Music collectors with large tagged libraries

It reads tags from FLAC, MP3, OGG, M4A and more, and lets you shape the browse layout from metadata.

Skip if: Your files are poorly tagged and you want automatic tag fixing.

The problem it solves

You have media files on one machine and want to play them on TVs, speakers and other devices around the house. Many players expect a UPnP server to browse from. Gerbera provides that without sending your library to an outside service.

Strengths

  • Reads tags from MP3, OGG, AAC, M4A, FLAC, WavPack and JPG files
  • Web UI with tree views of the database and file system
  • Rescans folders on a timer or through inotify
  • Transcoding through plugins or scripts
  • Runs on Linux, BSD and macOS across x86, ARM and MIPS

Trade-offs

  • Playback depends on the UPnP support of your devices
  • Server only; no dedicated client apps
  • Building from source needs several libraries such as libupnp, pugixml and spdlog
  • GPL-2.0 license carries copyleft obligations if you redistribute changes

Gerbera replaces

Self-host Gerbera

Self-hostable
Yes
Docker image
gerbera/gerbera

Quick start

git clone https://github.com/gerbera/gerbera.git
mkdir build
cd build
cmake ../gerbera --preset=release-pupnp
make -j4
sudo make install

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Gerbera free?

Yes. It is open source under the GPL-2.0 license.

Can I run it in Docker?

Yes. A Docker image is available, and the project documents other install methods.

Which operating systems does it run on?

It runs on Linux, BSD and macOS, among others, on x86, ARM and MIPS processors.

Does it transcode media?

Yes. Transcoding is handled through plugins or scripts that you configure.

Other Plex alternatives

Compare all 3 Plex alternatives →

Similar tools in Media servers

Stash

Media servers

Self-hosted Go web app that organizes, tags and scrapes metadata for a local video

13k 1.2k 9 days ago Thriving AGPL-3.0

peach

Media servers

Local-first video library manager that scrapes metadata and tracks creators

15k 1.8k today Active AGPL-3.0

wrapperr

Media servers

Self-hosted yearly recap site for Plex users, built on Tautulli data

455 21 4 months ago Slowing GPL-3.0

streama

Media servers

Self-hosted streaming server for organizing your own movies and shows Netflix-style

9.8k 978 12 days ago Active MIT

Emby

Media servers

Older open-source release of the Emby personal media server for home video and music

5k 854 8 years ago Dormant GPL-2.0

seanime

Media servers

Self-hosted anime and manga media server with AniList sync, torrent streaming and desktop

4.3k 324 3 days ago Thriving GPL-3.0