Skip to content

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:

yaml
services:
  sleeve:
    image: ghcr.io/nicuz/sleeve:${SLEEVE_VERSION:-latest}
    restart: unless-stopped
    ports:
      - "3001:3001"
    volumes:
      - ${SLEEVE_DATA_DIR:-./data}:/data

Then start it:

bash
docker compose up -d

Open 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:

dotenv
SLEEVE_DATA_DIR=/opt/stacks/sleeve/data

The image's entrypoint creates the directory and fixes ownership before starting the app. No manual chown needed.

Or clone and build the image locally:

bash
git clone https://github.com/Nicuz/sleeve.git
cd sleeve
docker compose up -d --build

From source, with Bun 1.4 or newer:

bash
bun install
cp .env.example .env
bun run db:deploy
bun run dev

Run it on a server ​

Start with one of the Docker commands above. For a long-running server:

  1. Optional login: set both SLEEVE_AUTH_USER and SLEEVE_AUTH_PASSWORD in .env, then recreate the stack. Set both or neither.

  2. Upgrade the published image with:

    bash
    docker compose pull
    docker compose up -d

    Or upgrade a source build with:

    bash
    git pull
    SLEEVE_COMMIT=$(git rev-parse --short HEAD) docker compose up -d --build

    Pending migrations run on startup. Settings → About and /api/version show the running version and commit.

  3. 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 ​

  1. Select Add a release on the library page.
  2. Search for an artist, album or barcode.
  3. 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:

  1. Export your collection as CSV from Discogs.
  2. Open Import from Discogs in Sleeve.
  3. Drop the CSV, review the detected columns and import.

Discogs rows have no MusicBrainz IDs or covers. Run the metadata download afterwards.

See Importing from Discogs.

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.

Next steps ​