No description
  • Python 53.8%
  • TypeScript 36.5%
  • CSS 8.6%
  • Dockerfile 0.5%
  • Shell 0.5%
Find a file
Julien COSMAO 1420701a0f
Let false positives be dropped from a duplicate group before merging
Fuzzy matching can group two genuinely distinct values that share words
(e.g. two different "... Music" labels). Add a ✕ per value in the
duplicate-review modal to drop it from the group; the group closes on its
own once fewer than two values are left to merge.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 11:51:27 +02:00
.github Harden CI: retry ffmpeg install, add job timeouts, declare *.css types 2026-08-19 20:11:56 +00:00
backend Add fuzzy duplicate detection and merge for genres, labels, artists 2026-09-20 11:01:08 +02:00
docs Refresh screenshots and docs for the post-0.2.0 features 2026-09-14 14:53:17 +00:00
frontend Let false positives be dropped from a duplicate group before merging 2026-09-20 11:51:27 +02:00
.gitignore Harden repo for open-sourcing 2026-08-12 20:07:15 +00:00
CHANGELOG.md Add fuzzy duplicate detection and merge for genres, labels, artists 2026-09-20 11:01:08 +02:00
CODE_OF_CONDUCT.md Harden repo for open-sourcing 2026-08-12 20:07:15 +00:00
CONTRIBUTING.md Harden repo for open-sourcing 2026-08-12 20:07:15 +00:00
dev.sh Initial commit 2026-03-19 21:51:27 -04:00
docker-compose.yml Initial commit 2026-03-19 21:51:27 -04:00
Dockerfile Bump python from 3.12-slim to 3.14-slim 2026-08-19 19:46:24 +00:00
LICENSE Project hygiene + deployment docs 2026-08-12 19:17:53 +00:00
README.md Refresh screenshots and docs for the post-0.2.0 features 2026-09-14 14:53:17 +00:00
SECURITY.md Harden repo for open-sourcing 2026-08-12 20:07:15 +00:00

   __
  / /_____ _____ _____ ____  _____
 / __/ __ `/ __ `/ __ `/ _ \/ ___/
/ /_/ /_/ / /_/ / /_/ /  __/ /
\__/\__,_/\__, /\__, /\___/_/
         /____//____/

Self-hosted web app for editing audio tags (FLAC, MP3, AAC/M4A, OGG) — run it on a NAS or server and tag your library from any browser.

CI Publish image License: MIT

Quick start

Docker Compose

Save this as docker-compose.yml, set your music path, and run docker compose up -d:

services:
  tagger:
    image: ghcr.io/rnhinson/tagger:latest
    container_name: tagger
    restart: unless-stopped
    ports:
      - "8000:8000"
    volumes:
      - /your/music:/music       # ← your library (read/write)
      - tagger-config:/config    # library.db + settings.json
    # environment:
    #   - TAGGER_PASSWORD=change-me

volumes:
  tagger-config:

→ http://localhost:8000

Docker CLI

docker run -d -p 8000:8000 \
  -v /your/music:/music \
  -v tagger-config:/config \
  ghcr.io/rnhinson/tagger:latest
# → http://localhost:8000

Multi-arch images (amd64 + arm64) are published to GHCR on each release. See the self-hosting guide for HTTPS, reverse-proxy, health-check, and backup notes.

Screenshots

Track list Album grid Tag editor
Track list Album grid Tag editor
Spectrogram Quality panel Bulk editing
Spectrogram Quality panel Bulk editing

The spectrogram above is a file tagged FLAC that was really re-encoded from a 128 kbps MP3: the hard shelf at ~16 kHz gives it away, even though its bitrate column looks healthier than the genuine lossless tracks around it.

Features

  • Library — scan into a searchable SQLite index, with exclude globs and an optional auto-rescan interval; browse by artist/album, folder, or data-quality issue; full-text search.
  • Editing — all common tags (incl. composer, BPM, lyrics, compilation), solo or in bulk; auto-number, find/replace, case normalization; embedded cover art (view / upload / fetch from the Cover Art Archive).
  • Metadata lookup — MusicBrainz (with an edition picker), AcoustID fingerprinting, and Discogs; one-click Auto-fix and filename inference.
  • Files — template-based rename/reorganize, .m3u export, ReplayGain, and a recoverable trash — all undoable.
  • Quality — a panel for missing tags, duplicates, and dead files, with a "keep best quality" de-duplicator, bitrate/sample-rate columns, and a per-file spectrogram to spot lossy transcodes by their frequency cutoff.
  • Playback — inline, seekable audio right in the tag editor.
  • Ops — optional rate-limited password auth, /api/health, a responsive UI, and keyboard shortcuts (press ?).

Configuration

Variable Default Description
TAGGER_MUSIC_DIR /music Root of your music library
TAGGER_CONFIG_DIR /config Where library.db + settings.json live
TAGGER_PASSWORD (unset) If set, requires a login
TAGGER_SECURE_COOKIE (unset) Mark the session cookie Secure (HTTPS)
ACOUSTID_API_KEY (unset) Enables AcoustID fingerprint lookup
TAGGER_LOG_LEVEL INFO Log verbosity

The AcoustID key and a Discogs token can also be set at runtime in Settings. Auth is off unless TAGGER_PASSWORD is set. ReplayGain uses rsgain (bundled in the image) or loudgain when present, and spectrograms need ffmpeg (also bundled); each feature hides itself when its tool is missing. Full details, including HTTPS setup, are in the self-hosting guide.

Development

Requires Python 3.11+ and Node 18+.

export TAGGER_MUSIC_DIR=~/Music   # optional
./dev.sh                          # backend :8000 + Vite dev server :5173

Run the checks CI runs: cd backend && pytest, and cd frontend && npx tsc --noEmit && npm run build. See CONTRIBUTING.md for project layout and conventions.

License

MIT.