Skip to main content

Codetta

Your music library, looked after. On your own server.
Fix tags, match albums on MusicBrainz, organize your files and bring in new music,
from any browser, including your phone. FLAC, MP3, M4A, OGG, WAV, AIFF, WMA and more.

Status: beta Version 0.11.2 License: AGPL-3.0 Python 3.14 Tests Docker image on ghcr.io Works great with Navidrome

Codetta: your music library, looked after. Fix tags, match albums on MusicBrainz and organize your files, from any browser.

Codetta | AlternativeTo

Quick start · Features · Compare · Docs · What's new


If you run your own music server, you know the drill: a SoundCloud download with no tags, an album where every track spells the artist differently, a folder of loose files that shows up as Unknown Album. I made Codetta for home server users like me who want finer control over their library. It's my hobby project, and I thought it could be useful to others too.

Codetta lives on your server, next to your music. Open it on your laptop or your phone, pick a track or a whole album, fix what's wrong and hit Save. Match albums on MusicBrainz for official tags and cover art, rename and organize files into tidy folders, and let new music from your downloads folder be matched and filed for you. Your files are updated safely, anything Codetta does can be undone, and Navidrome and other music apps pick up the changes straight away (connect your server) or on their next scan.

Codetta is AI-Assisted. I understand the controversy surrounding AI usage in software. I prioritize transparency, hence the disclaimer for those who do not favor AI. This project is assisted by Claude Opus 5.5.

Quick start

On a server with Docker:

mkdir codetta && cd codetta
curl -fsSLO https://raw.githubusercontent.com/gavndev/codetta/main/docker-compose.yml
cat > docker-compose.override.yml <<'EOF'
services:
  codetta:
    environment:
      PUID: "1000"   # the user that owns your music (ls -ln /path/to/music)
      PGID: "1000"
    volumes:
      - /path/to/your/music:/music
      # Optional: where new music lands (downloads, rips), for the inbox
      # - /path/to/downloads:/inbox
EOF
docker compose up -d

Open http://<your-server>:8111 and create your account. A few short setup steps follow (online features, folder naming, Tidy up, the inbox, optional integrations). Each can be skipped and changed later.

Runs on Intel/AMD and ARM, from a Raspberry Pi 4 up: about a 100 MB download and 70 MB of memory (about 130 MB at 100,000 tracks), and no disk activity when idle. The install guide walks through every step, including updates.

No server? Run it on your own computer instead: pipx install codetta (or sudo snap install codetta on Ubuntu), then codetta (details).

What Codetta does

Fix tags, one track or a whole album

Select tracks and change only what you need, or fill in one track and Save to folder to apply exactly those changes to the whole album, cover art included. You see every change before anything is written. Tag tools handle the tedious parts: tags from file names, paste a tracklist, fix garbled text, change case, lyrics, ReplayGain.

Adding a genre and cover art on one track of Vespertine, then saving them to all twelve tracks in the folder

Match albums on MusicBrainz

Official titles, credits, dates, labels and cover art for any album folder, reviewed per file before anything is written. Switch editions, set the edition you prefer, and match loose songs or untagged files by sound. Discogs, Deezer and iTunes step in for albums MusicBrainz doesn't have.

Matching Rumours on MusicBrainz, opening Other editions and switching to the recommended CD edition, with every change listed per file

Organize, tidy up, keep it healthy

  • Organize renames and moves files from their tags with a pattern like {albumartist}/{album} ({year})/{disctrack} {title}, with a preview first.
  • Tidy up works through the music you already have in the background, album by album, and writes only confident matches.
  • Library health finds albums your player shows split in two, missing tracks and covers, and real duplicates, with one-tap fixes.

Turning on Tidy up with tags, names and folders, previewing the new file names, then watching the progress bar work through the library

Bring in new music

Point Codetta at your downloads folder. It groups what arrives into albums, matches each one (by tags, or by sound) and files it with your folder pattern, on its own or after a quick review. You can also import from your computer or phone.

The inbox with four downloaded songs matched to their albums, two already in the library, one not found, and Hyperballad filed into Björk/Post (1995)

Search, and search beyond your library

Search the whole library by any tag (genre: rap, hip-hop, artist: drake year: 2024) and edit the results like a folder. Start with a bang to search elsewhere from the same box: !mb MusicBrainz, !dg Discogs, !dz Deezer, !it iTunes. Albums you already have are marked.

Typing bangs in the search bar: the Deezer chip and its note about release years, Deezer and iTunes albums with the ones already in the library marked, then !mb for artists on MusicBrainz

Safe and private by design

  • Verified writes: every save goes to a temporary copy that's checked before it replaces the original.
  • Undo anything from the activity log, across restarts. Deleted files wait 30 days in Recently deleted.
  • Offline by default: no tracking or telemetry; every online service is off until you turn it on, and says exactly what it sends. See PRIVACY.md and SECURITY.md.

Fits your setup

  • Music servers: Navidrome, Subsonic servers, Jellyfin, Emby and Plex read Codetta's tags, and rescan straight after every change. More →
  • Lidarr: rescans after Codetta's edits, and Codetta warns about settings that would undo them. More →
  • Autoplay: when an album ends, similar songs from your library keep playing, picked by AudioMuse-AI, ListenBrainz or Deezer. More →
  • Your phone: big touch targets and a full-screen editor; add it to your home screen and it opens like an app.
  • Optional: Soulseek through your own slskd. More →

See every feature →

How Codetta compares

Codetta Picard beets Metadata Remote
What it is Web app on your server Desktop app Command line Web app on your server
Use it from your phone ✅ Designed for it ❌ ❌ ➖ Responsive
Match on MusicBrainz ✅ Reviewed per file ✅ ✅ On import ➖ Suggestions
Import a downloads folder ✅ Inbox ❌ ✅ beet import ❌
Organize files ✅ Preview, undo ✅ ✅ ✅ Rename
Undo ✅ Across restarts ❌ ❌ ✅ Until restart
License AGPL-3.0 GPL-2.0 MIT AGPL-3.0

Full comparison →

Documentation

Install & update · Configuration · Features · FAQ · Architecture · Privacy · Security

What's new and what's next

Every change is in the changelog and on GitHub Releases; inside Codetta, What's new shows the notes for your version. What has to be true before 1.0 is on the road to 1.0.

Contributing

Bug reports, ideas and pull requests are all welcome. Open an issue (even a quick "this confused me" helps), or read CONTRIBUTING.md and ARCHITECTURE.md before writing code. Testing new releases and improving the docs help just as much. Forks are welcome too; please give yours a different name.

License

Codetta is free software under the GNU AGPL v3.0 (or later): use it, study it, change it and share it. If you run a modified version for others, you must share your changes under the same license.

Codetta was created by Gavin Griggs.
Copyright (C) 2026 Gavin Griggs and contributors.

Thanks

To everyone who reported a bug or shaped a feature:

  • BernoldM: a detailed report on iTunes matching (#3) whose six suggestions all made it into Codetta

Found a bug or have an idea? Open an issue and you could be next on this list.

Codetta stands on mutagen, FastAPI, the Schibsted Grotesk typeface and MusicBrainz Picard's tag mappings.

The header, screenshots and clips show real releases for illustration: the covers belong to their artists and labels, and the audio files are silent stand-ins.

Metadata

Release files for codetta 0.11.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codetta 0.11.2
File Size Uploaded Provenance Actions
codetta-0.11.2.tar.gz 781.3 kB With provenance Details for codetta-0.11.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codetta 0.11.2
File Interpreter ABI Platform Actions
codetta-0.11.2-py3-none-any.whl Python 3 none any Details for codetta-0.11.2-py3-none-any.whl

Total release size: 1.5 MB

Release files / codetta-0.11.2.tar.gz

Download URL codetta-0.11.2.tar.gz
Size 781.3 kB
Tags Source
SHA-256 checksum
How to use checksums
124e4b6c36c4d8aa688b1230582ccc3f1983cffbc90003324c725bbe28617708
BLAKE2b-256 checksum
How to use checksums
826ec1fe2b6f8002b95cb18a294a73410dd56f6d52e1a9a6739176c91ccc6333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / codetta-0.11.2-py3-none-any.whl

Download URL codetta-0.11.2-py3-none-any.whl
Size 709.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8352d7ddfd9f955c381b89904c674d032306e58571aae725945e58fbafeba5eb
BLAKE2b-256 checksum
How to use checksums
aaacce1e85aa289ed2df565046a4c3d9494b11117d2d136e5d298ff0acfaa002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for codetta 0.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codetta-0.11.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page