A SvelteKit app to display your Discogs vinyl collection using the Discogs API.
- 📀 Display your entire Discogs collection with album artwork
- 🎨 Clean, responsive grid layout
- 📄 Pagination support for large collections
- 🎵 Shows artist, year, label, format, and genres for each release
- 🔍 Detailed release information including catalog numbers
-
Install dependencies:
npm install
-
Configure environment variables:
The application requires the following environment variables:
DISCOGS_USER_TOKEN- Your Discogs personal access tokenDISCOGS_USERNAME- Your Discogs username
To get your credentials:
- Visit https://www.discogs.com/settings/developers
- Generate a personal access token
Set these variables using your platform's standard method (e.g., export in shell, platform config, etc.)
-
Run the development server:
npm run dev
If running in a container or need network access:
npm run dev -- --host 0.0.0.0
-
Open your browser:
- Navigate to http://localhost:5173
- Your collection should appear!
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
- SvelteKit - Full-stack Svelte framework
- Discogs API - Music database API
- TypeScript - Type safety
The Discogs API has rate limiting:
- 60 requests per minute for authenticated requests
- The app displays 50 releases per page to stay within limits
MIT