Firefox MV2 content script that detects artist/band names in reddit comment threads and rewrites them inline into Spotify + Bandcamp links, backed by a tiny zero-dependency Node resolver that confirms each candidate against the Spotify Web API (direct links) or MusicBrainz (zero-setup, search links). Includes build + install instructions in the README. Source: project/reddit-spotify-linker (user 2026-06-12) + user message 2026-06-14 "Full vibe code, small service, minimal code." Closes task/resolver-service, closes task/firefox-extension, closes task/docs-and-publish (plan/mvp-build, objective/ship-mvp-linker). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
578 B
Bash
14 lines
578 B
Bash
# Copy to `.env` (it is gitignored). All values are OPTIONAL.
|
|
#
|
|
# Without Spotify credentials the resolver validates names against MusicBrainz and links
|
|
# to Spotify/Bandcamp SEARCH pages — works with zero setup.
|
|
#
|
|
# With credentials it uses the Spotify Web API for DIRECT artist links.
|
|
# Create a (free) app at https://developer.spotify.com/dashboard to get these.
|
|
SPOTIFY_CLIENT_ID=
|
|
SPOTIFY_CLIENT_SECRET=
|
|
|
|
# Port the resolver listens on (default 8787). If you change it, also update
|
|
# RESOLVER_URL in extension/content.js and the host in extension/manifest.json.
|
|
PORT=8787
|