Dogear
Leave a Spotify playlist, come back, and pick up on the same song at the same second.
- Designer and developer
- 2026
- Next.js 14, TypeScript, Tailwind CSS, shadcn/ui, Supabase (Postgres, Cron), Spotify Web API, Vitest, Vercel

Overview
A companion app for Spotify that shuffles each playlist once, remembers exactly where you stopped, and resumes there, with listening insights and skip tracking.
Key features
- Fixed shuffle per playlist that spreads each artist's songs out evenly
- Bookmarks your track and second; resumes there even after you switch playlists
- Listening insights: hours listened, top tracks and artists, recent history
- Spots songs you keep skipping and offers to move them to the end
- Installable on your phone as an app
Story
Spotify forgets where you were. Switch to another playlist and come back, and it throws away your shuffle and starts a new one, so on a big playlist you keep hearing the same popular songs and never reach the rest. I built Dogear to fix that for myself: it shuffles each playlist once, writes that order into a private copy of the playlist, and keeps a bookmark of the exact song and second you stopped at.
The interesting parts were under the hood. The shuffle is seeded, so it's reproducible and testable, and it spreads artists out evenly. A background poller checks what's playing every 20 seconds to move the bookmark forward, and Postgres row locks make sure two pollers never handle the same person at once. Spotify's player API doesn't update instantly, so resuming double-checks the track before it plays. Refresh tokens are encrypted, and every table sits behind row-level security.
Spotify only allows apps in development mode to have five users, so Dogear is a personal tool for me and a few friends for now.
Screens


Gikuyu Translator
AI translation from English and Kiswahili into Gikuyu.