Neon Music
Free, open source, self-hosted

Your playlists, always evolving.

Set up a private copy of Neon Music in your own GitHub account. Your playlists update in the cloud and your personal listening records stay under your control.

No Spotify API needed

Listening history analyzer

Import your Spotify export, find your top tracks and artists, and download rankings. No login, Premium subscription, or server necessary.

One-time setup

Dynamic playlist automation

Automatically maintain your own Spotify top-track playlists, plus optional imported listening-history rankings and a private dashboard.

Keep it free: Neon Music is free software. GitHub private repositories include a limited Actions allowance; set a zero-spending budget or disable overage usage and monitor usage. Spotify requires Premium to own a development-mode app. Spotify requirements · GitHub billing.

Setup checklist

0 of 5 complete

Progress and your repository name are saved only in this browser. You won't enter Spotify credentials or encryption keys on this site.

1

Create your private repository

Click the button to create your own copy of the Neon Music source code. Sign into GitHub, choose a name such as my-neon-music, and select Private. Do not put any encrypted state, tokens or listening data in the public starter.

Your repository shortcuts

Enter only your GitHub username and the name of the new private repository. This generates your own GitHub links throughout the guide; it doesn't access your account.

2

Make your Spotify developer app

In the Spotify Developer Dashboard, create a personal app or use your own existing development app. Enable Web API and add the following exact redirect URI.

http://127.0.0.1:8766/callback

Keep its Client ID ready for the installer. You do not need to share your Client Secret or Spotify password with Neon Music.

3

Authorize once on your computer

Install Python 3.12 from the official Python website. Download your private repository ZIP using the link in step 1 and extract it. On Windows, double-click setup-windows.bat and paste the Client ID when asked. Approve the Spotify authorization in your browser.

On macOS/Linux, open a terminal in the extracted folder and run:

python3.12 -m pip install --only-binary=:all: -r requirements.txt
python3.12 setup_once.py

The script generates encrypted state and a private rotation-key.txt file. Never share that key or paste it into this website.

4

Activate GitHub automation

If you used the optional CLI installer to deploy, it handles the following secret and encrypted upload for you. Otherwise:

  1. Open your private repository’s Actions secrets and create a repository secret with this exact name: ROTATION_STATE_KEY. Set its value to your own rotation-key.txt.
  2. Upload only the encrypted files from state/ into the private repository, preserving the folder path. Follow the full source guide. Never upload your plaintext configuration, tokens, key, raw Spotify history, or entire extracted folder.
  3. Check your GitHub budget before enabling paid usage. Under Actions, choose Neon Music playlist sync, click Run workflow, and verify its first successful run. The schedule is hourly, with possible delays.
5

Open your personal dashboard

Your bot creates state/dashboard.html after a successful sync that creates the local database. Open the file in your private GitHub repository, download it and open it in your browser. Enter your key only in your downloaded offline dashboard, not here. Download a new copy to refresh it.

Your Spotify playlists will appear immediately after the bot manages them. Listening charts need imported history or an enabled journal/ListenBrainz source, as described in the guide. The optional journal starts off by default.

This is the free, offline dashboard approach. Neon Music does not store your personal file, encryption key or Spotify token. A live, access-protected web dashboard is a future option.

What does Neon Music maintain?

Dynamic top tracks

Three private playlists using Spotify's own top-track rankings for about 4 weeks, 6 months, and 1 year. The same playlists update each sync.

Optional listening history

Import Spotify Extended Streaming History for separate play-count rankings, or enable ListenBrainz after reviewing its public-data model. These are separate from Spotify affinity rankings.

Need to change playlists, renew authorization, or stop the bot? Follow the maintenance guide. The project does not bypass Spotify limits and is not affiliated with Spotify or GitHub.