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.
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.
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.
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.
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.
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.
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 →
- Music apps: Symfonium, Narjo, Arpeggi, Feishin and other Subsonic apps can play your library straight from Codetta (opt-in, read-only). 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 →
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 |
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:
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.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codetta-0.12.0.tar.gz | 795.7 kB | With provenance | Details for codetta-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codetta-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for codetta-0.12.0-py3-none-any.whl |
Total release size: 1.5 MB
Release files / codetta-0.12.0.tar.gz
| Download URL | codetta-0.12.0.tar.gz |
|---|---|
| Size | 795.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08c6b7c6f04b16afc15beeb234aac0736493dff95a1095fa4b0eb8f1e9a9f70a
|
|
BLAKE2b-256 checksum How to use checksums |
760229b73bff1d11894affdcde6a4de7f4a11c07ebe906ebd0cd2f1b756c7d78
|
| 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 24, 2026.
Transparency logRelease files / codetta-0.12.0-py3-none-any.whl
| Download URL | codetta-0.12.0-py3-none-any.whl |
|---|---|
| Size | 724.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9b2f0f36be27ba2ae1009b6dd26babeb56b9e2a6653b6580eb526366a3b17b1
|
|
BLAKE2b-256 checksum How to use checksums |
6064eacb2e6f3e8ac29277469e8f238071a72a5fbdb57a3422ab5ae88af126e0
|
| 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 24, 2026.
Transparency logSecurity for codetta 0.12.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.
Attestation for codetta-0.12.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 24, 2026.
Transparency logA 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.