spin-that-dice is a party dice for music: tap the die, get a random track from one of 43 categories, it plays. It now has a step-by-step guide that GitHub runs on a fresh machine every week, so if a step breaks I find out before you do.
You can roll before you've set anything up
A fresh clone ships a 305-track starter crate covering 10 of the 43 categories, so the dice works with no Spotify app at all:
git clone https://github.com/casareanderson/spin-that-dice && cd spin-that-dice python3 -m pip install requests python3 spin.py
Enter fullscreen mode
Exit fullscreen mode
spin-that-dice on 127.0.0.1:8770 - spotify, 43 categories, 305 tracks indexed
Enter fullscreen mode
Exit fullscreen mode
Open localhost:8770 and tap. Playing the song needs Spotify Premium on that device. There's no free fallback since Spotify pulled 30-second previews in 2024.
That's the real check.…