Skip to content

feloy/discogs-collection-kdn-demo

Repository files navigation

Discogs Collection Viewer

A SvelteKit app to display your Discogs vinyl collection using the Discogs API.

Features

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

Setup

  1. Install dependencies:

    npm install
  2. Configure environment variables:

    The application requires the following environment variables:

    • DISCOGS_USER_TOKEN - Your Discogs personal access token
    • DISCOGS_USERNAME - Your Discogs username

    To get your credentials:

    Set these variables using your platform's standard method (e.g., export in shell, platform config, etc.)

  3. Run the development server:

    npm run dev

    If running in a container or need network access:

    npm run dev -- --host 0.0.0.0
  4. Open your browser:

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Tech Stack

API Rate Limiting

The Discogs API has rate limiting:

  • 60 requests per minute for authenticated requests
  • The app displays 50 releases per page to stay within limits

License

MIT

About

An application created from scratch using KAIDEN CLI (kdn)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors