Your music collection, reimagined.
A beautiful web application to catalog and explore your vinyl & CD collection.
- Discogs Integration : search and add albums by artist, title, Discogs ID or barcode, and pick the exact pressing you own.
- Condition Grading : track the media and sleeve condition of your albums (opt-in from settings).
- Refresh from Discogs : update a single record's details (title, year, cover, styles, tracklist, labels, format details) from Discogs in the record view. Your condition, notes, custom fields and price stay untouched.
- Local Edits : correct a Discogs album's details (title, artist, year, label, genres, styles, tracklist, cover) on your own copy, without changing what other users see. A small icon marks edited records, and one click restores the Discogs data. Covers are copied to the server, so they survive a changed Discogs URL and travel with the CSV backup.
- Price Tracking : follow item values from the Discogs marketplace (setup).
- Discogs Account : connect your own Discogs account in Settings, with the server's token (admins) or a personal token (setup). Off by default.
- Smart Insights : collection statistics, format distribution and top artists.
- Advanced Filtering : sort and filter by format, genre, style, decade, date added and more.
- Custom Table Columns : choose which fields the table view shows, including your own custom fields, and set the width of short-text custom columns so a long value does not stretch the table.
- Custom Fields : add your own per-album fields (purchase price, storage location, notes) as short text or long text, ordered the way you want. Fill them in from the album page or straight from the manual add form.
- Import & Export : import a Discogs CSV straight in, matched by release ID, catalog number, then artist and title, with a detailed log of every row. Export the whole collection back to CSV at any time, covers included as base64; custom-field values keep importing even after you rename the field.
- Public collection : publish your collection through a public link, with optional password protection, and browse what the community is listening to.
- On Your Radar : recent and upcoming album releases in the styles you already collect, from MusicBrainz (no key needed).
- Near You : independent record shops around you from OpenStreetMap (no key needed), and upcoming concerts matching the artists and styles in your collection (setup).
Releases and concerts are both filtered by the same preferred genres, deduced from your collection and editable right from the Discover page.
- Multi-user : private collections per user, plus OIDC SSO for Authentik, Keycloak and friends.
- Multi-language : English, French, German, Spanish, Italian, Portuguese and Chinese, translated on Weblate.
- Runs anywhere : Docker Compose deployment, installable PWA, responsive layout, dark and light themes.
- Admin dashboard : users, background tasks and execution logs.
Collection - Browse your albums in grid, list or table view, on any screen
Search - One field that recognises an artist, an album, a Discogs ID or a barcode
Album Detail - Tracklist, pressing details and market value
Discover - Record shops near you, concerts and releases matching your collection
Stats - Analytics and valuation of your collection
Settings, import/export, the admin dashboard and every other view are in
docs/screenshots/, each one in desktop, mobile and combined form.
- Docker and Docker Compose
- Discogs API credentials
# Clone the repository git clone https://github.com/Jeanball/musivault.git cd musivault # Configure environment cp .env.example .env # Edit .env with your configuration # Start the application docker compose pull docker compose up -d
Access the app at http://localhost:3000
| Variable | Description | Default | Required |
|---|---|---|---|
SESSION_SECRET |
Session encryption key | - | Yes |
DISCOGS_KEY |
Discogs API consumer key | - | Yes |
DISCOGS_SECRET |
Discogs API consumer secret | - | Yes |
DISCOGS_PAT |
Discogs Personal Access Token | - | No |
ENCRYPTION_KEY |
Encrypts users' Discogs tokens in the database. Without it, the Discogs account section in Settings is hidden. Changing it disconnects every Discogs account | - | No |
TICKETMASTER_API_KEY |
Ticketmaster Consumer Key, for nearby concerts | - | No |
SPOTIFY_CLIENT_ID |
Spotify app Client ID, for importing albums from a Spotify link | - | No |
SPOTIFY_CLIENT_SECRET |
Spotify app Client Secret. No redirect URI is needed | - | No |
MONGO_URI |
MongoDB connection string | mongodb://mongodb:27017/musivault | No |
PORT |
Application port | 3000 | No |
JWT_SECRET |
JWT signing secret | ${SESSION_SECRET} | No |
ADMIN_EMAIL |
Initial admin email | - | No |
ADMIN_USERNAME |
Initial admin username | - | No |
ADMIN_PASSWORD |
Initial admin password | - | No |
SIGNUP_ENABLED |
Set to false to close public registration. Existing users and SSO sign-in keep working |
true | No |
OIDC_ISSUER |
OIDC Issuer URL | - | No |
OIDC_CLIENT_ID |
OIDC Client ID | - | No |
OIDC_CLIENT_SECRET |
OIDC Client Secret | - | No |
OIDC_REDIRECT_URI |
OIDC Redirect URI | - | No |
OIDC_PROVIDER_NAME |
Name of the SSO provider | SSO | No |
FRONTEND_URL |
URL of the frontend (for CORS/Auth) | - | No |
IMAGE_TAG |
Docker image tag to use | latest | No |
PRICE_CACHE_TTL_HOURS |
Price cache TTL in hours | 168 | No |
DISCOGS_PRICE_FALLBACK |
Use the lowest marketplace listing when Discogs price suggestions are unavailable. Stored as USD with the same amount for every condition grade | false | No |
BACKEND_HOST |
Backend hostname for Nginx | musivault-backend | No |
BACKEND_PORT |
Backend port for Nginx | 5000 | No |
Needs a Discogs Personal Access Token for per-condition prices, or the fallback switch for a market-floor estimate.
Per-condition prices (normal mode)
- Enroll as a Discogs Seller: You must have a seller account (it's free). Visit Discogs Seller Settings to enroll.
- Keep Discogs Currency as USD: In your Discogs Seller Settings, ensure your currency is set to USD. Do not change it there! You will configure your local display currency directly within Musivault's settings.
- Generate a Token: Go to Discogs Developer Settings, click "Generate new token".
- Configure Musivault: Add the generated token as
DISCOGS_PATin your.envfile ordocker-compose.yml.
Fallback mode (no seller account needed)
Set DISCOGS_PRICE_FALLBACK=true. When Discogs price suggestions are unavailable, Musivault uses the release's cheapest current marketplace listing instead. The quote is stored in USD and applied to every condition grade, so it is an estimate rather than a grade-specific suggestion. You can still set DISCOGS_PAT; the fallback simply leaves the normal mode unchanged when it works.
Once configured, prices can be fetched immediately from the Admin Task Center, or by restarting the backend server until the 2026-03-28_album-data-backfill migration has succeeded.
Needs an ENCRYPTION_KEY. Without it, the section is hidden from Settings.
Settings has a Discogs section where each user can connect a Discogs account. It is off by default, and nothing else in the app changes until someone turns it on. This is the first step towards syncing a collection with Discogs.
-
Set an encryption key: Add
ENCRYPTION_KEYto your.envfile ordocker-compose.yml(for exampleopenssl rand -hex 32) and restart the backend. It encrypts the Discogs tokens stored in the database. UnlikeJWT_SECRET, changing it later disconnects every connected account, so keep it safe. -
Connect: In Settings → Discogs, switch on Sync with Discogs, then either:
- Admins, with
DISCOGS_PATset: click Use the server's Discogs account. Nothing to paste. - Everyone else: create a personal token on Discogs Developer Settings ("Generate new token") and paste it once.
- Admins, with
-
Musivault checks the token with Discogs and shows Connected as your username. Personal tokens don't expire. If Discogs later rejects it (you regenerated or revoked it), Settings shows Needs reconnecting.
-
Check against Discogs: Once connected, Check now compares your Discogs collection with Musivault and shows a report: what is new on Discogs, what was merged on Discogs (a record whose release is no longer in your Discogs collection but has an entry with the same artist, title, format and year, so likely the same record), and what is only in Musivault. It also tells you how many matched items have a different date added than on Discogs. It runs in the background (about one Discogs request per 100 releases) and never changes your collection. Only one check runs at a time on an instance, because Discogs rate-limits per IP.
Tokens are stored encrypted, never sent back to the browser, and deleted when you disconnect. Only admins can use the server's account, so other users can't read the owner's collection.
Needs a free Ticketmaster API key. Record shops work without any key.
The Shows Near You section of Discover lists upcoming concerts around you, ranked by how well they fit your collection: acts you already own records from first, then anything in a matching genre.
- Create an account: Register at developer.ticketmaster.com, approval is instant.
- Copy the Consumer Key: Your default app is created automatically. Take its Consumer Key; the Consumer Secret issued alongside it belongs to the Commerce APIs and is not used here.
- Configure Musivault: Add it as
TICKETMASTER_API_KEYin your.envfile ordocker-compose.yml, then restart the backend.
The free tier allows 5000 calls a day. Results are cached per geographic area for 6 hours and only refreshed when someone actually opens the page, so a typical instance uses a few dozen calls a day. Leave the variable empty to hide the section entirely.
Coverage note: Ticketmaster's catalogue is strongest in North America, the UK, Ireland and Australia, and thinner elsewhere. Record shops are unaffected, they come from OpenStreetMap and need no key.
Needs a free Spotify app. Discogs and manual entry work without it.
Paste an album link such as https://open.spotify.com/intl-it/album/50E1iPxp3XKXkykr3F2Kaz into the search field. Musivault fetches the title, artist, year, tracklist and cover, then opens the manual-add form prefilled so you can review everything before saving. The album is stored locally as a manual album; no Spotify account is connected and no redirect URI is needed.
- Create an app: Open the Spotify Developer Dashboard and create an app.
- Copy the credentials: Take the Client ID and Client Secret from the app's settings.
- Configure Musivault: Add them as
SPOTIFY_CLIENT_IDandSPOTIFY_CLIENT_SECRETin your.envfile ordocker-compose.yml, then restart the backend.
The server uses Spotify's client-credentials flow for public album metadata. Leave either variable empty to disable the import action.
| Frontend | Backend | Infrastructure |
|---|---|---|
| React 19 | Node.js + Express | Docker |
| TypeScript | MongoDB + Mongoose | Nginx |
| Vite | JWT Authentication | GitHub Actions |
| TailwindCSS + DaisyUI |
# Install dependencies npm install cd frontend && npm install cd ../backend && npm install # Run development servers npm run dev
Or with Docker:
docker compose -f docker-compose.dev.yml up --build
Pre-built images are available on GitHub Container Registry:
ghcr.io/jeanball/musivault/backend:latest
ghcr.io/jeanball/musivault/frontend:latest
docker compose logs -f # View logs docker compose restart # Restart services docker compose down # Stop application docker compose pull && up -d # Update to latest
- Fork the repository
- Create your feature branch from
develop(git switch -c feature/amazing-feature develop) - Commit your changes (Conventional Commits:
git commit -m 'feat(scope): add amazing feature') - Run
npm run check(lint, tests and build) - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request against
develop
See CONTRIBUTING.md for the details.
MIT License - see LICENSE for details.