VinylValueCheck is a specialized web application designed for vinyl collectors and enthusiasts. It leverages the Discogs API to fetch and display the lowest market prices for vinyl records. Users can input a list of songs, and the app retrieves corresponding data from Discogs, presenting it in an easily readable table format.
- Song Price Lookup: Input a list of songs to find the lowest price for each on the Discogs market.
- Dynamic Table Display: Results are displayed in a table with sortable columns for song name, master ID, and lowest price.
- Efficient Search: Utilizes the Discogs API for fast and accurate vinyl record price checks.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install dependencies (if any).
- Run
npm install - Run
npm run dev - Open the local Vite URL in a web browser
- Enter a list of songs in the provided text area. Each song should be on a new line.
- Click the 'Search' button to initiate the search.
- The results will be displayed in the table below the search area.
To price a YouTube playlist from the command line:
node scripts/price-playlist.mjs "https://www.youtube.com/playlist?list=PLYapdvbx1R5hDvJyGgGt1g9x-uSOu0C0Q" playlist-prices.tsvThe script uses yt-dlp for playlist titles and Discogs for release prices.
This can be done programmatically, but run it as a dry run first because YouTube video titles do not always map cleanly to Discogs release IDs.
Prerequisites:
- Install
yt-dlp. - Be signed in to YouTube in Chrome, or set
YTDLP_BROWSER=firefox,safari, etc. - Create a Discogs personal access token at
https://www.discogs.com/settings/developers. - Add these to
.env:
DISCOGS_USER_TOKEN=your_discogs_user_token
DISCOGS_USERNAME=your_discogs_usernamePreview matches without changing Discogs:
npm run wantlist:likedAdd confident matches to your Wantlist:
npm run wantlist:liked:applyThe report is written to liked-youtube-discogs-wantlist.tsv. Rows marked needs_review are deliberately not added automatically.
- API Key & Secret: Before using the app, you must obtain a Consumer Key and Consumer Secret from Discogs. Copy
.env.exampleto.env, then setVITE_KEYandVITE_SECRET.
- Discogs API: For fetching record data.
- A modern web browser with JavaScript enabled.
Contributions to VinylValueCheck are welcome. Please follow the standard fork-and-pull request workflow.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository.