Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 2.97 KB

File metadata and controls

59 lines (37 loc) · 2.97 KB

Barcoder

Lookup ISRC and UPC barcodes for Deezer and Spotify albums and tracks. Note that Spotify quotas are inhumanly restrictive and there's no way to get more ‘if you're not an organisation with 250K+ users’. Deezer requires no API key and is quite generous with request quotas.

Live: https://barcoder.wrongwave.net

Paste an album or track URL to get release metadata, a tracklist with ISRCs, and a copyable text summary. Links are shareable via ?url=.

Deezer works right away without a key (JSONP).

Spotify needs a Client ID and Client Secret from the Spotify Developer Dashboard — add them in the 'Spotify keys' dialog. Keys stay in the browser (localStorage), never leave the machine, and override defaults from config.js. Old keys are kept with a per-key request count so you can switch or remove them later. 10-track album is 10 track requests, 1 album request and 1 token request — 12 requests in total. Spotify quotas are per developer account, not per app.

Local setup

  1. [Optional] Create a Spotify Developer app if you want Spotify lookups. You can enter the keys in the UI, or put a site-wide fallback in config.js:
cp config.example.js config.js
window.BARCODER = {
	clientId: '…',
	clientSecret: '…',
}
  1. Serve the folder over HTTP (not file://), e.g.:
python3 -m http.server 8765

Open http://127.0.0.1:8765.

Bandcamp CLI

Bandcamp has no public catalog API suitable for the web app, so lookups are a local script instead. Stdlib only — no venv or packages.

python3 bandcamp_lookup.py 'https://artist.bandcamp.com/album/…'

or

./bandcamp_lookup.py 'https://artist.bandcamp.com/album/…'

Accepts album or track URLs. Progress goes to stderr; the Barcoder-style summary (UPC, ISRCs, label, etc.) goes to stdout.

The MIT License (MIT)

Copyright © 2026 Wrong Wave

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.