‹ Back
Jukebox cover

Jukebox

A new tab extension that shows what you're currently listening to on Spotify.

Oct 2026View source

Why I built it

I wanted to make something clean that I'd see pretty much every day, and nothing fits that better than a new tab page. Every new tab shows the time, a search bar and whatever I'm listening to, over an animated blur of the album art.

What it does

  • Now playing: the current song with a live progress bar, plus your five most recent songs
  • Spotify or Last.fm: sign in with Spotify, or just type a Last.fm username
  • Search: Google suggestions as you type, with shortcuts like !yt and !gh
  • Quick dial: up to five links you can edit in place

How it works

It's built with WXT, React and TypeScript. A background worker fetches the music data instead of each tab doing it, so ten open tabs don't mean ten sets of requests. It only checks while a new tab is on screen, and stops when you switch away.

Spotify and Last.fm share one interface, so most of the app doesn't need to know which one you're using.

Tricky parts

A progress bar without constant updates. Spotify only tells you the song's position when you ask, and Jukebox asks every five seconds. In between, the bar works out the position from how much time has passed since the last update.

Failures and long pauses. When a request fails, Jukebox waits longer before each retry, up to a minute. And if a song has been paused for ten minutes, it counts as nothing playing, so an old song doesn't sit on your screen forever.

Spotify's rules. I'd put this on the Chrome Web Store, but letting anyone sign in needs approval from Spotify, and they've limited that to organizations. So for now, you have to build it yourself with your own Spotify app.