Getting started
Sleeve is a catalog for a physical collection. It does not play music and it does not replace streaming. You add the records you own, Sleeve fetches covers and tracklists from MusicBrainz, and everything stays in one local SQLite database.
There are no user accounts and no telemetry. One instance holds one collection.
Want to look around first? Try the static demo. It uses made-up records and read-only data.
Run it
The fastest route is the published multi-arch image. Save this as compose.yaml:
services:
sleeve:
image: ghcr.io/nicuz/sleeve:${SLEEVE_VERSION:-latest}
restart: unless-stopped
ports:
- "3001:3001"
volumes:
- ${SLEEVE_DATA_DIR:-./data}:/dataThen start it:
docker compose up -dOpen http://127.0.0.1:3001, or http://<host-ip>:3001 from another device on your LAN. Pin a release with SLEEVE_VERSION=0.2.0 in .env; the default is latest. If 3001 is taken, change the host side of ports.
Data defaults to ./data next to the compose file. To use another path:
SLEEVE_DATA_DIR=/opt/stacks/sleeve/dataThe image's entrypoint creates the directory and fixes ownership before starting the app. No manual chown needed.
Or clone and build the image locally:
git clone https://github.com/Nicuz/sleeve.git
cd sleeve
docker compose up -d --buildFrom source, with Bun 1.4 or newer:
bun install
cp .env.example .env
bun run db:deploy
bun run devRun it on a server
Start with one of the Docker commands above. For a long-running server:
Optional login: set both
SLEEVE_AUTH_USERandSLEEVE_AUTH_PASSWORDin.env, then recreate the stack. Set both or neither.Upgrade the published image with:
bashdocker compose pull docker compose up -dOr upgrade a source build with:
bashgit pull SLEEVE_COMMIT=$(git rev-parse --short HEAD) docker compose up -d --buildPending migrations run on startup. Settings → About and
/api/versionshow the running version and commit.Download a backup from Settings → Backup & restore after upgrades and before risky changes.
Tagged releases publish ghcr.io/nicuz/sleeve images for linux/amd64 and linux/arm64. The inline stack above is the minimal setup. The repository's docker-compose.image.yml adds auth and user-agent variables. The data directory keeps the SQLite database, covers and snapshots; back it up before upgrading.
Basic auth protects an exposed instance. It does not add user accounts or separate libraries. Environment variables, Docker details and hardening live in Operations.
Add your first record
- Select Add a release on the library page.
- Search for an artist, album or barcode.
- Pick the exact edition, adjust format and condition, then select Add to collection.
Sleeve pulls the cover, label, year and tracklist from MusicBrainz. You can edit the release later without losing your own condition, rating, notes or purchase details.
See Adding releases for both search and manual entry.
Import an existing collection
If your shelf already lives on Discogs:
- Export your collection as CSV from Discogs.
- Open Import from Discogs in Sleeve.
- Drop the CSV, review the detected columns and import.
Discogs rows have no MusicBrainz IDs or covers. Run the metadata download afterwards.
The three parts
- Library: every record you own, with filters, search and a review list for incomplete metadata.
- Wishlist: the records you are looking for, with optional target prices.
- Discover: records worth checking next, built from your shelf, your wishlist and the artists you follow.
Insights, settings, imports and backups are linked from the app when you need them.
Protect your data
Open Settings → Backup & restore → Download backup before big edits or imports. The JSON file contains releases, wishlist, saved finds, followed artists and defaults.