Your Spotify

Host your own personal dashboard to track music listening habits. Import past data, view detailed statistics, and keep full ownership of your audio history.

Take control of your music data with a self-hosted application designed to monitor and visualize your Spotify listening habits. By running on your own infrastructure, this tool continuously polls the Spotify API to build a comprehensive, private database of every track you play. You can easily explore your musical tastes through an interactive web dashboard that breaks down your most played artists, favorite songs, and overall listening trends.

Key features include:

  • Complete data ownership: Keep your listening statistics private and securely stored on your own MongoDB instance.
  • Historical data import: Upload your Spotify privacy data exports to backfill your database, supporting both recent history and full account lifetime imports.
  • Multi-user support: Host the dashboard for friends and family, allowing each user to connect their own Spotify account and set their local timezone.
  • Docker deployment: Install and configure the server, client, and database quickly using the provided Docker Compose setups.

Directory Structure

your-spotify
data
db
.env
docker-compose.yml

docker-compose.yml

services:
  db:
    image: mongo:6
    restart: always
    volumes:
      - ./data/db:/data/db

  server:
    image: yooooomi/your_spotify_server
    restart: always
    ports:
      - "8080:8080"
    environment:
      - API_ENDPOINT=http://localhost:8080
      - CLIENT_ENDPOINT=http://localhost:3000
      - SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID}
      - SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET}
      - MONGO_ENDPOINT=mongodb://db:27017/your_spotify
    depends_on:
      - db

  client:
    image: yooooomi/your_spotify_client
    restart: always
    ports:
      - "3000:3000"
    environment:
      - API_ENDPOINT=http://localhost:8080

.env

SPOTIFY_CLIENT_ID=your_spotify_client_id_here
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret_here
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Your Spotify

Favicon

 

  
  
Favicon

 

  
  
Favicon