GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Jeanball/Musivault: An open-source, self-hosted app to track your CD and vinyl collection

BranchesTags
Open more actions menu

Latest commit

 

History

473 Commits
473 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
backend
backend
 
 
docs/screenshots
docs/screenshots
 
 
frontend
frontend
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 
docker-compose.dev.yml
docker-compose.dev.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Musivault Logo

Musivault

Your music collection, reimagined.
A beautiful web application to catalog and explore your vinyl & CD collection.

Version License


Features

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

Discover

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

Self-hosting

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

Screenshots

Collection Table
Collection - Browse your albums in grid, list or table view, on any screen

Search
Search - One field that recognises an artist, an album, a Discogs ID or a barcode

Album Detail
Album Detail - Tracklist, pressing details and market value

Discover
Discover - Record shops near you, concerts and releases matching your collection

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

Quick Start

Prerequisites

  • Docker and Docker Compose
  • Discogs API credentials

Installation

# 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

Environment Variables

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

Optional Setup: Price Tracking

Needs a Discogs Personal Access Token for per-condition prices, or the fallback switch for a market-floor estimate.

Per-condition prices (normal mode)

  1. Enroll as a Discogs Seller: You must have a seller account (it's free). Visit Discogs Seller Settings to enroll.
  2. 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.
  3. Generate a Token: Go to Discogs Developer Settings, click "Generate new token".
  4. Configure Musivault: Add the generated token as DISCOGS_PAT in your .env file or docker-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.

Optional Setup: Discogs Account

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.

  1. Set an encryption key: Add ENCRYPTION_KEY to your .env file or docker-compose.yml (for example openssl rand -hex 32) and restart the backend. It encrypts the Discogs tokens stored in the database. Unlike JWT_SECRET, changing it later disconnects every connected account, so keep it safe.

  2. Connect: In Settings → Discogs, switch on Sync with Discogs, then either:

    • Admins, with DISCOGS_PAT set: 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.
  3. 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.

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

Optional Setup: Nearby Concerts

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.

  1. Create an account: Register at developer.ticketmaster.com, approval is instant.
  2. 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.
  3. Configure Musivault: Add it as TICKETMASTER_API_KEY in your .env file or docker-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.

Optional Setup: Spotify Album Import

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.

  1. Create an app: Open the Spotify Developer Dashboard and create an app.
  2. Copy the credentials: Take the Client ID and Client Secret from the app's settings.
  3. Configure Musivault: Add them as SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET in your .env file or docker-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.

Tech Stack

Frontend Backend Infrastructure
React 19 Node.js + Express Docker
TypeScript MongoDB + Mongoose Nginx
Vite JWT Authentication GitHub Actions
TailwindCSS + DaisyUI

Development

# 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

Docker Images

Pre-built images are available on GitHub Container Registry:

ghcr.io/jeanball/musivault/backend:latest
ghcr.io/jeanball/musivault/frontend:latest

Management

docker compose logs -f          # View logs
docker compose restart          # Restart services
docker compose down             # Stop application
docker compose pull && up -d    # Update to latest

Contributing

  1. Fork the repository
  2. Create your feature branch from develop (git switch -c feature/amazing-feature develop)
  3. Commit your changes (Conventional Commits: git commit -m 'feat(scope): add amazing feature')
  4. Run npm run check (lint, tests and build)
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request against develop

See CONTRIBUTING.md for the details.

License

MIT License - see LICENSE for details.

About

An open-source, self-hosted app to track your CD and vinyl collection

musivault.dev

Topics

albumalbumsartistartistscdcollectiondiscogsmusicmusicalselfhosttrackervaultvinyl

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

63 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.