Your Spotify
Your Spotify records your Spotify listening history and turns it into statistics: top tracks, artists and albums over any period, listening habits by time of day, and long-term trends. Past history can be imported from a Spotify privacy data export.
Your Spotify
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/your-spotify.sh)"
Configuration
Config file:
1
/opt/your-spotify.env
Notes
You must create a Spotify application at https://developer.spotify.com/dashboard and put its client ID and secret into SPOTIFY_PUBLIC and SPOTIFY_SECRET in /opt/your-spotify.env, then run 'systemctl restart your-spotify'. Without them nothing works.
In the Spotify dashboard add the redirect URI http://[IP]:8080/oauth/spotify/callback - it must match API_ENDPOINT in the env file exactly, otherwise the login fails.
Two services run here: your-spotify (API on 8080) and your-spotify-web (UI on 3000). The API endpoint is baked into the built frontend, so changing API_ENDPOINT means re-running the sed steps from the install script or re-running the update.
Listening history is stored in the local MongoDB database 'your_spotify'. Back that up rather than /opt.