Import
Paste any public Spotify playlist URL.
Singuessr is a dynamic music blind test platform built for fans of all genres. It combines two music APIs: the Spotify Web API (via a custom high-performance Cloudflare Worker proxy) provides playlist metadata and album cover art, while the Apple Music / iTunes Search API delivers the 30-second audio previews that drive each round. The hybrid serverless architecture handles regional API restrictions, high-concurrency recursive fetching, and cross-catalog track matching.
Built to solve the limitations of static music trivia. Singuessr uses Spotify as the source-of-truth for playlists and cover art (because that's where users curate their music), but routes audio playback through the public Apple Music / iTunes preview catalogue — which is globally reachable, unauthenticated, and free of OAuth complexity.
Anyone who wants to run a real-time blind test on their own curated Spotify playlists
A hybrid serverless architecture: React SPA for the UI and a Cloudflare Worker for the API proxy layer. The Worker handles Spotify OAuth2, recursive playlist flattening, and cross-catalog matching against the public iTunes Search API to resolve each track's Apple Music preview URL. The frontend manages the interactive audio loop and feeds the round queue directly from those preview URLs. Deployment is fully automated via Cloudflare's edge network.
Paste any public Spotify playlist URL.
Edge worker flattens Spotify tracks and matches each to its Apple Music preview.
Apple Music previews stream round by round, with cover art from Spotify.
Fuzzy matching validates song title guesses.
A lightweight Worker orchestrates two APIs: it hits Spotify for playlist data + album covers (with the right market headers to dodge regional blocks), then resolves every track to its Apple Music preview URL via iTunes Search.
A single fetch call recursively pages through all of Spotify's paginated endpoints, returning a flat track array — each enriched with its matched Apple Music preview — in one round-trip.
A custom state machine pre-fetches the next Apple Music preview buffer during active round play, eliminating perceived latency between game rounds.
The proxy uses a 'flatten-and-cache' strategy for Spotify playlist metadata (covers + titles + artists) and pipes each track into a parallel iTunes Search lookup that returns a 30-second Apple Music preview URL. Audio is then played in the React SPA via the HTML5 Audio API with a custom state machine that handles loading, playback, and race conditions during fast-paced guessing rounds.
Designed and shipped a Cloudflare Worker that proxies and orchestrates two music APIs at the edge.
Combined Spotify (playlists + cover art) with Apple Music (globally reachable previews) so audio plays for every user, regardless of region.
Achieved sub-200ms large playlist loading by collocating data flattening and cross-catalog matching at the CDN edge.
Built a robust audio lifecycle manager that handles pre-fetching and race conditions in a fast-paced game context.
Bring me your idea or half-built project. We'll scope it, design it and ship it — using the same workflow behind Singuessr.