Back to services

Your Spotify

Allows you to record your Spotify listening activity and have statistics about them served through a Web application.

View alternatives to Your Spotify
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website could not be retrieved this time, so the following was written based on existing knowledge of the project, keeping only information that is reasonably certain. For specific details, please refer to the latest instructions in the GitHub repository.

Introduction

Your Spotify is an open-source, self-hosted application for tracking and analyzing your Spotify listening history. It uses the official Spotify API to periodically fetch your recently played tracks and store them in its own database. Over time this builds up a complete listening history, and charts then show your musical tastes and listening habits. Official features such as year-end summaries are only available at set times and are limited in content; with Your Spotify you can check more detailed statistics whenever you like.

Key Features

  • Automatic listening history recording: Continuously polls the Spotify API in the background and saves every play.
  • Statistics dashboard: Shows your most-played songs, artists and albums, as well as how listening time and play counts change over time.
  • Filtering by time period: Choose different time ranges to view your statistics.
  • Historical data import: Supports importing the account data you can request and download from your Spotify privacy settings, filling in listening records from before you deployed the app.
  • Multi-user: A single instance can serve multiple Spotify accounts, and you can also compare musical tastes between different users.

Target Users

  • Spotify users who want to understand their listening habits in depth
  • Users who enjoy self-hosting and want to control their own data
  • Small groups who want to share one instance with family or friends and compare musical tastes

Core Advantages

  • Data is stored on your own server, with no reliance on third-party statistics websites
  • Once deployed, it accumulates a complete listening history over the long term
  • Open source and free, and can be deployed quickly with Docker

Deployment

The project consists of two parts, a backend service (server) and a web frontend (client), with data stored in MongoDB. Deploying with Docker / Docker Compose is recommended:

  1. Create an app in the Spotify developer dashboard (Spotify for Developers), get the Client ID and Client Secret, and set the Redirect URI to the corresponding address of the backend service.
  2. Write a docker-compose configuration that includes three services, MongoDB, server and client, and fill in the Spotify credentials as well as the frontend and backend access addresses through environment variables.
  3. Start the containers, open the frontend address in a browser, and log in and authorize with your Spotify account; recording will then start automatically.

Technical Requirements

  • A server or NAS that can run Docker
  • A MongoDB database (can be deployed in a container alongside)
  • A Spotify developer app (free to create)
  • The service must keep running over the long term to continuously record listening data

Notes

  • The app can only record plays made after it has been deployed and authorized; earlier history has to be supplemented by importing your Spotify privacy data.
  • It depends on the official Spotify API, so changes to the API's policies may affect its functionality.