A Spotify web app that helps you rediscover your music by randomly playing songs from your liked tracks, excluding recently played ones.
🎵 Try it here: https://danielwolfman.github.io/spotify-throwback-random/
- 🎵 Browse your liked songs
- 🕒 Exclude recently played tracks
- 🎲 Add random songs to your queue
- 🎚️ Choose how many songs to add (1-20)
- 🔄 Automatic playback management
- 🔐 Secure Spotify authentication
- Node.js (v16 or higher)
- A Spotify account
- Spotify Developer App credentials
- Clone the repository:
git clone <your-repo-url>
cd spotify-throwback-random- Install dependencies:
npm install- Create a
.env.localfile based on.env.example:
VITE_SPOTIFY_CLIENT_ID=your_spotify_client_id
VITE_SPOTIFY_REDIRECT_URI=http://localhost:3000/spotify-throwback-random/callback- Start the development server:
npm run dev- Built with React + TypeScript
- Uses Vite for fast development
- Integrates with Spotify Web API
- GitHub Actions for automated deployment
- user-read-private
- user-read-email
- user-library-read
- user-read-recently-played
- user-read-playback-state
- user-modify-playback-state
- user-read-currently-playing
- streaming
- app-remote-control
The app is automatically deployed to GitHub Pages using GitHub Actions. To deploy:
- Add your
SPOTIFY_CLIENT_IDto your repository secrets - Push to the main branch
- GitHub Actions will handle the build and deployment
MIT