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.0 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 · Roadmap


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 a whole album in one go

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.

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

Search your entire library by tag

Type in the search box and press Enter. Results work like a folder, so you can edit them all at once. Tap the search box for shortcuts (artist, album, tag) with examples from your own music.

Type Finds
genre: rap, hip-hop Rap or Hip-Hop (but not "Trap")
artist: drake year: 2024 both at once
night drive words in the title, artist, album or file name

The idle search bar rolling through ideas from the library, then searching for artist Frank Ocean and genre electronic

Search beyond your library with bangs

Start with a bang to search somewhere else from the same box: !mb for artists and releases on MusicBrainz, !dz for Deezer, !it for iTunes and Apple Music, !dg for Discogs, and !slskd for Soulseek if you use it. Albums you already have are marked, so you can see what's missing at a glance.

Type Searches
!mb björk MusicBrainz: artists and releases
!dz in rainbows Deezer albums
!it rumours iTunes and Apple Music albums
!dg selected ambient works Discogs albums
!slskd album name Soulseek, through your own slskd

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

Match on MusicBrainz

Official titles, credits, dates, labels, catalog numbers, MusicBrainz IDs and cover art for any album folder. Switch between every edition of an album, and choose which edition Codetta prefers (original year, format, country), then review every change per file before anything is written. Loose songs (a single download, a YouTube rip) are matched to the album they came from. Untagged files are recognised by sound. When MusicBrainz is down or doesn't know an album yet, Deezer and iTunes (optional, no account needed) step in with details and big covers, and Discogs (with a free token) brings credits and covers for vinyl, electronic and rare releases.

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

Organize your library

Organize renames and moves files from their tags with a pattern like {albumartist}/{album} ({year})/{disctrack} {title}. You see every move first, nothing is ever overwritten, and the whole thing can be undone.

Tidy up your library

Choose once how Codetta should treat the music you already have: leave it as it is, fix tags only, or tags plus file names and folders (with a preview first). It then works through your albums one at a time in the background, with a progress bar, writes only confident matches, and lists the rest for you. Every album can be undone.

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

Keep it healthy

A card on the Library page lists what's worth fixing across the whole library: albums your player shows split in two, missing tracks, missing or tiny covers, missing tags, duplicates, MP3s inside a FLAC album. Obvious fixes are one tap (with a preview and undo); switch off any check you don't care about.

Bring in new music

Point Codetta at your downloads folder. It groups what's there into albums (and loose songs), waits until downloads finish, finds each on MusicBrainz (by its tags, or by sound with AcoustID) and files it with your folder pattern. Confident matches can file themselves; the rest wait for a quick review. Albums you already have are never overwritten. You can also import music straight from your computer or phone (or drag it onto the page), and it takes the same route.

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)

Listen and stay in the loop

  • Quick listen: a play button on every track and a now-playing pill, so you can check what a file is before you tag it.
  • Notifications tell you when the inbox has something for you, an album filed itself, or an update is out.

Safe by design

  • Verified writes. Every save goes to a temporary copy that's checked before it replaces the original, so a crash or full disk can't damage a file.
  • Nothing moves without your say-so. Organize and the inbox show every move first and never overwrite a file; an album you replace is kept aside.
  • Undo anything from the activity log (tags, covers, moves, a whole album), and it's kept across restarts. Deleted files wait in Recently deleted for 30 days.
  • Private by design. No tracking, analytics or telemetry of any kind, no ads, and the page never loads anything from another site. Codetta is offline unless you opt in: MusicBrainz, AcoustID, lyrics, the update check and integrations are connections, each off until you turn it on, each saying exactly what it sends. See PRIVACY.md.
  • Private by default. Built-in sign-in, a strict security setup, and it runs as your user. See SECURITY.md.

Made for your phone

Big touch targets, a full-screen editor sheet, and covers straight from your photo library. Add it to your home screen and it opens like an app.

Opening an album on a phone, editing a genre and saving   Album view on a phone

Optional: Soulseek through slskd

Already run slskd? Connect it, and Codetta can look for an album for you: type !slskd in the search bar, or press Find in slskd on an album to look for a better copy. The best copy is downloaded into your inbox, and you decide whether it joins your library. It's off unless you set it up. More about it →

Autoplay

When an album ends, similar songs from your own library keep playing. Picks come from your AudioMuse-AI server (songs that sound alike), ListenBrainz or Deezer if you connect them, and from your library alone when you don't. It only ever plays music you already have. More about Autoplay →

Works with Lidarr

Lidarr downloads, Codetta makes the tags right. Connect them and Lidarr rescans as soon as Codetta changes something, file names stay Lidarr's while its renaming is on, and Codetta warns you if a Lidarr setting would undo your fixes. Using Codetta with Lidarr →

Works with your music server

Navidrome, any Subsonic server (Gonic, Airsonic, Ampache), Jellyfin, Emby and Plex all read Codetta's tags: they're stored the way Picard stores them, with Navidrome's full field list. Connect your server and Codetta asks it for a quick scan after every change, so edits show up in your player straight away, even on network shares. Using Codetta with your music server →

Also: lyrics (plain or synced, with Find lyrics from LRCLIB), sort and classical fields, an Advanced mode with the raw tags, Tag Presets for turning loose downloads into proper releases, smart suggestions from the rest of the album, copy & paste tags, every field Navidrome shows (credits, mood, label, release type, multiple artists), multi-disc albums, any language and script, the page in English or Spanish (add yours), light and dark themes. See every feature →

How Codetta compares

Codetta MusicBrainz Picard beets Metadata Remote
What it is Web app on your server (or your own computer) Desktop app Command-line library manager Web app on your server
Use it from your phone ✅ Designed for it ❌ ❌ ➖ Responsive layout
Runs in Docker ✅ Official image ➖ Community images ➖ Community images ✅ Official image
Built-in sign-in ✅ – (local app) – (local app) ❌ Use a reverse proxy
Edit tags by hand, one track or many ✅ ✅ ➖ beet modify ✅
Album art ✅ + Cover Art Archive ✅ + Cover Art Archive ✅ via plugin ✅
Match releases on MusicBrainz ✅ Opt-in, incl. audio fingerprints, reviewed per file ✅ Incl. audio fingerprints ✅ Automatic on import ➖ Suggestions
Import new music (match and file a downloads folder) ✅ Inbox, reviewed or automatic ❌ ✅ beet import ❌
Rename / organize files ✅ Pattern, preview, undo ✅ ✅ ✅ Rename
Undo ✅ Kept across restarts ❌ ❌ ✅ Until restart
Search the whole library by tag ✅ ➖ ✅ Query language ➖ Filtering
Play tracks ✅ In the browser ➖ Basic player ➖ Via external player ✅ In the browser
Plugins Not yet (built-in actions, plus opt-in connections) ✅ ✅ ❌
Formats 18 file types 20+ Most common formats 9
License AGPL-3.0 GPL-2.0 MIT AGPL-3.0

✅ yes · ➖ partly or with extra setup · ❌ no

Codetta takes your music from scattered files to a well-organized library in one place. It covers the whole trip (import, match, fix, and file) right from your browser, and you can see and approve each step along the way. No terminal or desktop install is needed, and nothing changes without you seeing it first.

Compared in November 2026 from each project's documentation. Spotted something out of date? Please open an issue.

Documentation

Roadmap

What has to be true before 1.0 is on the road to 1.0. Also planned:

  • Refresh from MusicBrainz: pick up corrections made since an album was matched.
  • More ways to install: Windows and Homebrew.
  • A home on the web: a small, simple website for Codetta.

What's new

Every change is in the changelog; each version's notes are also on GitHub Releases. Inside Codetta, What's new (in the account menu, or the link in the footer) shows the same notes for the version you're running.

Contributing

Codetta is open source, and there are two ways to make it your own:

  • Run your own version. Fork it, change whatever you like, and run it for yourself. If you run a modified version for other people, the AGPL asks you to share your changes under the same license, and to keep the original author credit (see License).
  • Help improve Codetta for everyone. Bug reports, feature ideas, and pull requests are all welcome. Changes that land here ship to everyone in the next release.

Not sure where to start?

  • Found a bug or have an idea? Open an issue. Even a quick "this confused me" helps.
  • Want to write code? Read CONTRIBUTING.md for setup and guidelines and ARCHITECTURE.md for a map of the code, then open a pull request. For bigger changes, open an issue first so we can talk it through.
  • Not a coder? Testing new releases, improving the docs, and sharing your setup are just as valuable.

Codetta is a hobby project in beta, so feedback from real libraries makes a big difference.

Forks and the name: You're welcome to fork Codetta, but please give your fork a different name so people don't confuse it with the original project.

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.

More

Built with mutagen, FastAPI and the Schibsted Grotesk typeface. Tag mappings follow MusicBrainz Picard. The optional Soulseek integration talks to slskd over its API. The header and screenshots show real releases for illustration (the covers belong to their artists and labels; the audio files are silent stand-ins), and so do the feature clips.

Metadata

Release files for codetta 0.11.0

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.0
File Size Uploaded Provenance Actions
codetta-0.11.0.tar.gz 785.0 kB With provenance Details for codetta-0.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / codetta-0.11.0.tar.gz

Download URL codetta-0.11.0.tar.gz
Size 785.0 kB
Tags Source
SHA-256 checksum
How to use checksums
405f7c3f4f2106d6032f1926825997599b90937f84da58c0775902a4dd0f8b40
BLAKE2b-256 checksum
How to use checksums
3190eef6ee66353e6feb02b64f7ae5cd1c7170b7f727518010dbe3240d904e90
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.0-py3-none-any.whl

Download URL codetta-0.11.0-py3-none-any.whl
Size 711.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29e1999165c3208d1816ed4adf5b0525e603709ad4692b28751179acfb1231f0
BLAKE2b-256 checksum
How to use checksums
3fab1167a4e39334dbed9bb2d62847aca4bf136b84640852cb59955e86a9b4e2
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.0

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.0.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