A personal Spotify analytics dashboard that visualizes listening habits, top artists, favorite tracks, and audio insights using the Spotify Web API.
This project allows users to log in with their Spotify account and explore detailed statistics about their music preferences.
- Spotify OAuth authentication
- View Top Artists
- View Top Tracks
- Listening insights and trends
- Audio feature visualizations
- Interactive dashboard UI
- Personal listening analytics
- Node.js
- Express.js
- Spotify Web API
- HTML / CSS / JavaScript
- Chart.js (data visualizations)
git clone https://github.com/sudo13samurai/spotify-dashboard.git
cd spotify-dashboardnpm installVisit:
https://developer.spotify.com/dashboard
Create an application and copy your:
- Client ID
- Client Secret
- Redirect URI
Create a .env file in the project root:
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secret
SPOTIFY_REDIRECT_URI=http://localhost:3000/callback
PORT=3000npm startThen open:
http://localhost:3000
spotify-dashboard/
│
├── public/ # static assets
├── views/ # dashboard templates
├── routes/ # API and auth routes
├── server.js # main server file
├── package.json
└── .env
This app may request scopes such as:
user-top-readuser-read-recently-playeduser-library-read
These allow the dashboard to access listening statistics and track data.
- Dark mode dashboard
- Playlist analytics
- Listening history graphs
- Export statistics
- Mobile responsive layout
MIT License
Krystian J GitHub: https://github.com/sudo13samurai
