Skip to content

Your-Spotify #2119

Description

@MickLesk

Name of the Script

Your-Spotify

Script Type

CT (LXC Container)

Does this script support arm64?

arm64 supported

📋 Script Details

Your Spotify records your Spotify listening history and turns it into statistics — top tracks/artists/albums per period, habits by time of day, long-term trends, plus import from a Spotify privacy data export.

  • Note: LOCAL_INSTALL.md upstream is stale (says yarn, server/, lib/bin/www.js). Current v1.20.x is a pnpm workspace with rsbuild: apps/server → build/index.js, apps/client → build/ (output.distPath in rsbuild.config.ts). The script follows the actual Dockerfiles, not that doc.
  • Stack: setup_mongodb, NODE_VERSION="22" NODE_MODULE="pnpm@^10,serve" setup_nodejs, pnpm --filter @your_spotify/server build and --filter @your_spotify/client build.
  • Two services: your-spotify (API :8080, with ExecStartPre=node build/index.js --migrate matching apps/server/scripts/run/run.sh) and your-spotify-web (serve -s on :3000).
  • Frontend templating replicated from apps/client/scripts/run/variables.sh: copy variables-template.js → variables.js, substitute __API_ENDPOINT__, and patch the connect-src CSP in index.html. The update path redoes this from API_ENDPOINT in the env file.
  • Requires a Spotify app: SPOTIFY_PUBLIC/SPOTIFY_SECRET in /opt/your-spotify.env plus the redirect URI http://<IP>:8080/oauth/spotify/callback in the Spotify dashboard — both flagged as warnings.

Source: https://github.com/Yooooomi/your_spotify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions