Skip to content
Pro-IT-ServicesPublic

About

Self-hosted media server for movies, shows, music, books and photos. Streams to the browser, Android, Samsung TVs, Apple devices, Jellyfin apps and Chromecast, with GPU transcoding, requests, notifications and imports from Plex, Jellyfin and Emby. No telemetry.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Muncher

Your movies, shows, music, books and photos, on your own server.

Muncher is a media server you run at home: one program that keeps your library, streams it to the browser, phones and TVs, takes requests from the people you share it with, and keeps the files tidy. FFmpeg is included, so there is nothing else to install.

CI Latest release Licence: AGPL-3.0-or-later

Website · Download · What's new · Privacy policy · Credits and licences

Muncher's Home screen with Continue Watching and Next Up A film's page with its details and play button

Muncher's Android app on a tablet, with Tears of Steel and Elephants Dream (© Blender Foundation, CC BY).

What it does

Watching

  • Movies and shows matched with TMDb: artwork, cast, ratings, collections, seasons and episodes. Versions and editions of the same film stay together.
  • Home with Continue Watching, Next Up, your watchlist and recommendations worked out on your own server, with the reason for each pick.
  • Skip intro and Skip credits, found from chapters, audio fingerprints and the picture, and an up-next countdown that asks Are you still watching?.
  • Subtitles in your own style on every device, timing you can shift, styled ASS subtitles, and audio format badges (Dolby Atmos, DTS:X, TrueHD and more).
  • Optional spoiler protection for unwatched episodes, and lists of missing episodes.

Plays everywhere

  • The web app in 17 languages, Muncher's own apps for Android, Samsung TVs and Apple devices, the Jellyfin apps (Findroid, Swiftfin, Infuse, Jellyfin for Android TV) and Chromecast.
  • What a device cannot play is converted on the fly on NVIDIA, AMD and Intel GPUs, Apple's VideoToolbox, ARM boards or the processor, with HDR and Dolby Vision tone mapping.
  • Quality levels with Auto, admin limits per person at home and away, and downloads as they are or as a smaller copy for the road.
  • Watch together in step with other people.

Music, books and photos

  • Music with details and covers from MusicBrainz, gapless playback, ReplayGain, synced lyrics and smart playlists that keep themselves up to date.
  • E-books in the browser and on e-readers over OPDS, with KOReader keeping your place.
  • Photos by date and place, with place names looked up on your server, not online.

For the whole household

  • An account for everyone, made by you or from an invite link, with age limits, chosen libraries and their own progress.
  • Requests: people ask for a film or a season, an admin approves, and everyone hears when it arrives.
  • Notifications in the app or by e-mail, ntfy, Gotify, Discord or a signed webhook, as each person chooses, and announcements from admins.

A tidy library

  • Scanning with move detection and file watching; NFO files and your own artwork respected.
  • Renaming and organising with a preview and undo, fixing matches, picking artwork, a duplicate finder, and reports of what is missing or broken. Muncher never deletes your media.
  • SQLite or PostgreSQL, both native: SQLite is built in and needs no setup; PostgreSQL 15 or newer is fully supported, with every test run on both databases. Backups restore on either, so you can move between them. See Database.

Moving in

  • Import watched titles, resume positions, favourites, thumbs and playlists from Plex, Jellyfin or Emby, with a preview for each person before anything changes.

Private and safe

  • No account with us, no telemetry, no update checks. Your library and history stay on your server; it works offline once your library is matched.
  • Two-factor sign-in for everyone (required for admins), single sign-on with your own OpenID Connect provider (Authelia, Authentik, Keycloak), sign-in lockouts, and limits per person.

Muncher contains no media and does not help anyone obtain it: you add your own, and you are responsible for having the right to use and share it.

Quick start

With Docker:

# docker-compose.yml
services:
  muncher:
    image: ghcr.io/pro-it-services/muncher:latest
    restart: unless-stopped
    user: "1000:1000"            # an account that can read your media
    ports:
      - "8585:8585"              # web app
      - "8096:8096"              # Jellyfin apps, when switched on in Server → Apps
    volumes:
      - ./config:/config         # database, settings, artwork cache, logs
      - /path/to/media:/media    # add libraries from /media/... in the setup

Run docker compose up -d, open http://localhost:8585 (or http://<server>:8585) and follow the setup. GPU settings and more are in packaging/docker/README.md, and a compose file with PostgreSQL is below.

Install

Downloads are on the releases page, with a SHA256SUMS file to check them. Each installer sets Muncher up as a service that starts with the computer. Afterwards open http://localhost:8585 (or http://<server>:8585) to set it up.

Windows: run muncher-windows-amd64.msi. Muncher goes to C:\Program Files\Muncher, runs as the "Muncher Media Server" service, and keeps its data in C:\ProgramData\Muncher. A firewall rule lets devices on home and work networks reach it.

Debian, Ubuntu:

sudo apt install ./muncher-linux-amd64.deb

Fedora, RHEL:

sudo dnf install ./muncher-linux-amd64.rpm

The packages install to /usr/lib/muncher, run the muncher systemd service as the muncher user and keep data in /var/lib/muncher. Optional settings are in /etc/default/muncher (Debian, Ubuntu) or /etc/sysconfig/muncher (Fedora, RHEL). The muncher user needs read access to your media folders. (arm64: muncher-linux-arm64.deb / .rpm.)

Behind a reverse proxy (Caddy, nginx, Traefik): see docs/reverse-proxy.md, and set MUNCHER_TRUSTED_PROXIES.

macOS, or by hand: download the plain muncher-<platform> binary and run it; it uses the FFmpeg installed on the system (brew install ffmpeg). To start it with the computer, put it in a folder only root (or, on Windows, administrators) can change, such as /usr/local/libexec/muncher or C:\Program Files\Muncher, and run

sudo /usr/local/libexec/muncher/muncher service install

The service runs as root (macOS) or LocalSystem (Windows), so service install refuses a program, or an ffmpeg folder beside it, that other users could replace.

muncher service uninstall removes the service again; the data is kept.

Database: SQLite or PostgreSQL

Muncher works the same on both. The setup asks which one to use.

  • SQLite (the default) is built in: the database is one file, muncher.db, in the data folder. Nothing to install or look after. Right for most homes.
  • PostgreSQL 15 or newer suits a large library, many people at once, or a server that already runs PostgreSQL and its backups.

Setting up PostgreSQL

  1. Create a user and a database it owns (it must be allowed to create tables):

    sudo -u postgres psql -c "CREATE ROLE muncher LOGIN PASSWORD 'choose-a-password'"
    sudo -u postgres createdb -O muncher muncher
    

    On the same Linux machine as the .deb or .rpm package you can skip the password: the service runs as the muncher user, so it can sign in over the local socket (peer authentication) with host /var/run/postgresql.

  2. In Muncher's setup choose PostgreSQL and enter the host, port (5432 if empty), database, user, password and SSL mode (disable, require, verify-full and the other PostgreSQL modes). Test connection checks the version, that the user may create tables, and that the database is empty or already Muncher's. Muncher creates its tables itself and upgrades them on each new version, after an automatic backup.

The settings are saved in config.yaml in the data folder, readable only by Muncher's account. To set them without the setup, for example in Docker or in /etc/default/muncher, use these variables; the setup then only asks for the owner's account:

Variable Value
MUNCHER_DB_DRIVER postgres (or sqlite)
MUNCHER_DB_PG_HOST host name or address, or a socket folder such as /var/run/postgresql
MUNCHER_DB_PG_PORT port, 5432 if empty
MUNCHER_DB_PG_DATABASE database name
MUNCHER_DB_PG_USER user
MUNCHER_DB_PG_PASSWORD password, if the server asks for one
MUNCHER_DB_PG_SSLMODE disable, allow, prefer, require, verify-ca or verify-full

The variables take precedence over config.yaml.

PostgreSQL in Docker

# docker-compose.yml
services:
  muncher:
    image: ghcr.io/pro-it-services/muncher:latest
    restart: unless-stopped
    user: "1000:1000"
    ports:
      - "8585:8585"
      - "8096:8096"
    environment:
      MUNCHER_DB_DRIVER: postgres
      MUNCHER_DB_PG_HOST: db
      MUNCHER_DB_PG_DATABASE: muncher
      MUNCHER_DB_PG_USER: muncher
      MUNCHER_DB_PG_PASSWORD: choose-a-password
      MUNCHER_DB_PG_SSLMODE: disable    # traffic stays on the compose network
    volumes:
      - ./config:/config
      - /path/to/media:/media
    depends_on:
      db:
        condition: service_healthy
  db:
    image: postgres:17
    restart: unless-stopped
    environment:
      POSTGRES_DB: muncher
      POSTGRES_USER: muncher
      POSTGRES_PASSWORD: choose-a-password
    volumes:
      - ./postgres:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U muncher -d muncher"]
      interval: 5s
      retries: 10

Moving from SQLite to PostgreSQL (or back)

A backup holds the data in a form either database can load:

  1. Stop Muncher (sudo systemctl stop muncher, or stop the service or container).

  2. Make a backup: muncher backup --data-dir <data folder> writes it to <data folder>/backups/.

  3. Create the empty PostgreSQL database (step 1 above) and point Muncher at it: set the MUNCHER_DB_* variables, or change the database: part of config.yaml:

    database:
      driver: postgres
      postgres:
        host: /var/run/postgresql
        database: muncher
        user: muncher
  4. Load the backup: muncher restore --data-dir <data folder> --from <backup file>. It only loads into an empty database.

  5. Start Muncher again.

Run the commands as Muncher's account (for the Linux packages: sudo -u muncher muncher ... --data-dir /var/lib/muncher; in Docker: docker compose run --rm --entrypoint muncher muncher ... --data-dir /config). Keep secret.key in the data folder: it unlocks two-factor sign-in and the stored secrets.

Apps

Muncher's own apps are in apps/: Android (TV, phone and tablet in one app), Samsung TVs and Apple TV, iPhone and iPad. They are not in the app stores yet. Until then, use the web app, the Jellyfin apps (switch them on under Server → Apps, see docs/jellyfin-apps.md) or Chromecast.

Signing in

Administrators turn on two-factor sign-in (an authenticator app such as Aegis, Google Authenticator or 1Password) under Your account before they can use the admin pages; the owner can lift that requirement under Server → Features. Anyone else may turn it on too. Keep the recovery codes shown when you turn it on: each signs in once without the phone. Jellyfin apps cannot ask for the code, so accounts with two-factor sign-in connect them with Quick Connect.

A lost phone: an admin turns two-factor sign-in off for that person (the owner for admins), and for the owner, with the server stopped:

muncher reset-2fa -user NAME

The authenticator secrets, and the secrets of notification channels and sign-in providers, are encrypted with the server's secret.key, which backups do not hold: keep a copy of it with your backups. Restored without it, people sign in with a recovery code and set two-factor sign-in up again.

Documentation

Licence

Copyright © 2026 Pro IT Services. Muncher is free software under the GNU Affero General Public License, version 3 or later: you may use, share and change it, and if you share it or run a changed version for others over a network, you must offer them its source code under the same licence. It comes with no warranty.

The FFmpeg builds included with Muncher are under the GPL-3.0-or-later; see Credits and licences for the rest.

About

Self-hosted media server for movies, shows, music, books and photos. Streams to the browser, Android, Samsung TVs, Apple devices, Jellyfin apps and Chromecast, with GPU transcoding, requests, notifications and imports from Plex, Jellyfin and Emby. No telemetry.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages