A creative music visualization website that shows what I'm currently listening to on Spotify.
Copy .env.example to .env and fill in your credentials:
cp .env.example .env- Go to Spotify Developer Dashboard
- Create a new app
- Get your
Client IDandClient Secret - Add
http://localhost:4321/callbackto Redirect URIs (or your domain) - Get a refresh token:
- Use Spotify OAuth Flow
- Request scopes:
user-read-currently-playing,user-read-recently-played
npm install
npm run devVisit http://localhost:4321
- Real-time Spotify integration
- GSAP animations
- Live/offline indicator
- Audio preview playback
- Responsive design
- Automatic token refresh (in-memory caching)
- Astro
- React 19
- TypeScript
- GSAP
- Tailwind CSS 4
- Spotify Web API
- Axios