Visualize your Spotify playlists as an interactive network graph. Explore how your playlists, tracks, artists, and genres connect!
- Spotify Login: Securely authenticate with your Spotify account.
- Playlist Graph: Visualize playlists, tracks, artists, and genres as a network.
- Genre & Artist Insights: See how your music taste connects across genres and artists.
- Node Distance Control: Adjust the spacing between nodes in the graph interactively.
- Caching: Data is cached locally for fast reloads.
Check out the live app: spotify-playlist-graph.vercel.app
git clone https://github.com/luiskisters/spotify-playlist-graph.git
cd spotify-playlist-graphpnpm install # or npm install or yarn installCreate a .env.local file in the root directory with the following variables:
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
BASE_URL=http://localhost:3000- Get your Spotify credentials from the Spotify Developer Dashboard.
- Set
BASE_URLto your local dev URL or your deployed URL on Vercel.
pnpm dev # or npm run dev or yarn devOpen http://localhost:3000 in your browser.
This app is ready to deploy on Vercel. Just set the same environment variables in your Vercel project settings.
Short repo description:
Visualize your Spotify playlists, tracks, artists, and genres as an interactive network graph.
Let me know if you want this written directly to your README.md or need any more tweaks!