Skip to content

Repository files navigation

Headspace Spotify

An Electron Spotify client rebuilt around the classic Headspace alien-head media player skin.

Headspace Spotify open player preview

Headspace Spotify keeps the strange, compact desktop charm of the original skin: the alien head, tiny transport controls, sliding drawers, speaker ears, and neon interface language. Underneath, it adds a modern Spotify connection layer with OAuth, playback controls, library browsing, queue views, lyrics, themes, and audio-reactive visuals.

This is a fan/nostalgia project and an experiment in bringing old desktop skin culture back into modern music software.

Features

  • Compact alien-head desktop player built with Electron and Vite.
  • Spotify OAuth using PKCE.
  • Spotify playback controls with Web Playback SDK support.
  • Spotify Connect fallback when local playback is unavailable.
  • Library browsing, queue view, and lyrics panel.
  • Theme cycling for lime, amber, crimson, magenta, cobalt, and album-art-inspired auto color.
  • Audio-reactive visualizer and speaker motion.
  • Hidden face-alive Easter egg.

Screenshots

Headspace Spotify compact player

Headspace Spotify drawers open

Headspace Spotify hidden eyes-open Easter egg

More screenshots live in docs/screenshots, with a simple gallery in docs/SCREENSHOTS.md.

Setup

  1. Install dependencies:

    npm install
  2. Create .env from .env.example and set your Spotify app client ID:

    SPOTIFY_CLIENT_ID=your_spotify_client_id_here
    
  3. In the Spotify Developer Dashboard, configure this redirect URI:

    http://127.0.0.1:8888/callback
    
  4. Start the app:

    npm start

For the full setup path, see Spotify Setup.

Development

Build both Electron main and renderer bundles:

npm run build

Run Electron against the built renderer:

npm run electron:dev

Packaging

Windows installer and portable build (uses the installed Castlabs/Widevine Electron):

npm run dist

Output lands in release/. Put a .env with SPOTIFY_CLIENT_ID next to the installed exe (or in %APPDATA%\headspace-spotify\).

Unpackaged dir build (faster, no installer):

npm run pack

CI runs npm test on Windows for every push/PR. Installers build on tags or a manual workflow dispatch.

Notes

  • In-app Spotify playback requires a Spotify Premium account and Widevine support through the Castlabs Electron build.
  • Free accounts or DRM failures fall back to Spotify Connect control mode.
  • The visualizer prefers live system-audio capture when available, because Spotify no longer reliably exposes audio analysis for newer apps.
  • This project is not affiliated with Spotify, Microsoft, Windows Media Player, or the original Headspace skin authors.

Project Status

Headspace Spotify is shareable as a builder/demo project, but not packaged as a polished public release yet. See Known Limitations for the current rough edges.

Before posting publicly, use the Share Checklist.

Asset Notice

This repo includes original skin assets and converted image assets used for restoration/nostalgia purposes. See Asset Notice.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages