Skip to content
KkkermitPublic

About

Your Spotify listening stats, full streaming history, synced lyrics and player controls in a private desktop app for Windows, macOS and Linux. No servers, no tracking.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

162 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Statsify

Your Spotify, by the numbers. A free, open-source app for Windows, macOS, Linux and the web that shows every stat Spotify shares, turns your full listening history into insights, and controls playback. No servers and no tracking: your data stays on your computer.

CI Desktop app build CodeQL Latest release Licence: Apache-2.0
Platforms: Windows, macOS, Linux and web Built with Tauri 2 React 19 Accessibility: WCAG 2.2 AA Buy me a coffee

Overview: now playing, 30-day listening time, plays, top artist, streak, top tracks and recent plays

Website: kkkermit.github.io/Statsify has the downloads, the set-up guide, the changelog and answers to common problems.

Statsify works with your own Spotify account through Spotify's official Web API. You create a free Client ID for it once (about two minutes, see below), or click Explore the demo to look around with fictional data first.

Features

  • Top charts: your top tracks, artists, albums and genres over the last 4 weeks, 6 months and year, with rank changes, release decades, explicit share and artist variety.
  • All time: everything since your first listen (streams, listening time, songs, artists, albums, days, streaks, genres), built from your listening history.
  • Streams over any period: streams, minutes, songs and artists in the last 24 hours, week, month, 6 months, year, all time or any dates, with a chart, every play listed and CSV export. Rank songs, artists or albums by streams, minutes, first or last listen, or name.
  • Details for everything you've played: select a song, artist or album for its streams, time listened, rank, first and last listen, days played, skip rate, streams over time, top songs and albums, and recent plays.
  • Insights from your whole history: import your Spotify data export for lifetime listening time, streaks, a weekday × hour heatmap and a day-by-day listening calendar, records, skips, devices, countries, discovery, least-played and forgotten favourites, year-by-year totals, and podcasts and audiobooks per show. New plays are saved automatically while Statsify runs.
  • Your own history database: the desktop app keeps every play in a documented SQLite file on your computer that you can open, query and back up (docs/DATABASE.md).
  • Library: every playlist, liked song, saved album and followed artist, with search, filters, sorting and per-playlist stats, smooth even with 10,000-track playlists. Group playlists in your own folders and pin up to four playlists or folders to the sidebar.
  • Player: play, pause, skip, shuffle, repeat, seek, volume, queue and device switching (Spotify Connect), 30-second previews, tray controls and keyboard shortcuts. Songs pick up where they stopped, with a Start over button. In the desktop app, Play starts Spotify hidden in the tray when there's no Spotify device to play on, so you never need Spotify's window.
  • Lyrics: time-synced lyrics that light up word by word, with auto-scroll, click-a-line-to-jump and a timing nudge remembered per song. Press L or the microphone button.
  • Instant playlists: play your top songs of any period, your forgotten favourites or your most skipped, or save them to Spotify as a private playlist.
  • Liked Songs and playlists: like a song with the heart, or add any song to one of your playlists (or a new private one) from its ⋯ menu.
  • Full-screen player: the cover, the lyrics or both, over flowing waves in the colours of the song that's playing (F).
  • Make it yours: five themes (Midnight, OLED black, Forest, Light, High contrast), or Midnight and Light following your system; nine accent colours or any colour you pick (text in it is adjusted to stay readable); interface size from 75 % to 150 %; and a see-through window (0–90 %) tinted by the playing song's colours. On Windows, choose what shows through: the apps behind the window (Clear), the same frosted (Acrylic) or a tint of your wallpaper (Mica).
  • At home on a Mac: the desktop app has the Mac's own window, with the traffic lights, rounded corners and full screen in a space of its own; it can keep running in the menu bar.
  • Accessible: WCAG 2.2 AA, checked in CI; full keyboard support, single-key shortcuts you can turn off, reduced motion and a performance mode.
  • Developer log: right-click anywhere → Developer log (or Ctrl Shift L) for errors, every API call and system info, with tokens masked: handy for bug reports.

Insights: lifetime listening time, plays, streaks, skip rate and listening-over-time chart Playlist page with search, sort and track list

Install

Download the file for your system from the latest release:

System File
Windows 10 and 11 Statsify_<version>_x64-setup.exe: installs for you only, no admin needed (or the .msi, or the portable .exe)
macOS (Apple silicon and Intel) Statsify_<version>_universal.dmg
Linux Statsify_<version>_amd64.deb (Debian, Ubuntu, Mint...) or Statsify_<version>_amd64.AppImage (most distributions)

The installers aren't code-signed yet, so Windows and macOS can't verify who made them and ask you to confirm the first time you open Statsify:

  • Windows: SmartScreen says "Windows protected your PC". Choose More info → Run anyway.
  • macOS: open the .dmg and drag Statsify to Applications. Open it once; macOS says it can't check the app. Then open System Settings → Privacy & Security, scroll down and choose Open Anyway (on macOS 14 and earlier, Control-click the app → Open also works). If macOS says Statsify "is damaged and can't be opened", it means the app isn't signed, not that it's damaged: run xattr -dr com.apple.quarantine /Applications/Statsify.app in Terminal, then open it.
  • Linux: sudo apt install ./Statsify_<version>_amd64.deb, or make the AppImage executable (chmod +x Statsify_*.AppImage) and run it. The tray icon needs a desktop with AppIndicator support (on GNOME, the AppIndicator and KStatusNotifierItem Support extension).

Good to know:

  • Checking the download: SHA256SUMS.txt in each release lists every file's SHA-256 checksum. Compare it with sha256sum <file> on Linux, shasum -a 256 <file> on macOS or Get-FileHash <file> in Windows PowerShell.
  • Updating: Statsify doesn't update itself yet. Install the new version over the old one; your history, settings and sign-in are kept. On Windows, if the old version's uninstaller asks, leave Delete the application data unticked: ticked, it erases your history and settings too.
  • Uninstalling: remove Statsify like any other app. Your history and settings stay on your computer unless you delete them: the uninstaller of the Windows -setup.exe offers to ("Delete the application data"); elsewhere, delete the data folder yourself (where it is).
  • The portable Windows .exe needs Microsoft Edge WebView2, which Windows 11 includes. The installers add it on Windows 10 if it's missing.
  • The latest changes on main: every build is under Actions → Desktop app for 14 days. Open a run and download statsify-Windows, statsify-macOS or statsify-Linux (you need to be signed in to GitHub).
  • The web version: each release also has Statsify_<version>_web.zip to host yourself; see Production web build.

One-time Spotify setup (about 2 minutes)

Statsify signs in to Spotify with your own Client ID, a free key you create once in Spotify's developer dashboard. Choose Connect Spotify and the app walks you through it:

  1. Open the Spotify Developer Dashboard, sign in with your Spotify account and choose Create app. Any name and description will do.

  2. Under Redirect URIs, add the address Statsify's setup screen shows, exactly:

    • Desktop app: http://127.0.0.1:43821/callback
    • npm run dev: http://127.0.0.1:5173/callback
    • Your own web host: https://<your-domain>/callback

    Spotify only accepts https:// or loopback IP addresses, so it's 127.0.0.1, never localhost. Tick Web API and Web Playback SDK, and save.

  3. Under User Management, add each Spotify account that will use Statsify (up to five).

  4. Copy the Client ID from the app's Basic Information page, paste it into Statsify and choose Save and sign in. Spotify asks you to approve access in your browser (in the desktop app, your normal browser opens; come back to Statsify when you've approved).

The Client ID is a public identifier, not a password. There is no client secret: Statsify signs in with PKCE, and your password only ever goes to Spotify.

Why do I need my own Client ID?

Statsify has no server, so there's no Statsify account at Spotify for everyone to share. And Spotify's rules for apps like yours (Development Mode) are:

  • One Client ID can be used by at most five Spotify accounts, each added under User Management. A shared one couldn't serve everyone, so each person, or a household, creates their own.
  • The account that creates the Spotify app needs Spotify Premium.
  • Controlling playback needs Premium for every account: Spotify's rule for every third-party app. Without it you still get every stat, previews and "Open in Spotify".

Typed the wrong Client ID?

A sign-in with a wrong Client ID never comes back to Statsify: Spotify shows an error on its own page instead.

  • INVALID_CLIENT: Invalid client means Spotify doesn't know that Client ID.
  • INVALID_CLIENT: Invalid redirect URI means your Spotify app's Redirect URIs don't include the address the setup screen shows, exactly.

Back in Statsify, the welcome page shows the Client ID in use (its first and last four characters) with Change, which opens the setup screen to correct or clear it. While the desktop app waits for the browser, Wrong Client ID? takes you there too, and a failed sign-in offers Check your Client ID. Once you're signed in, it's in Settings → Account. More in the user guide.

Import your full history (optional)

Spotify's API only shares your last 50 plays, so lifetime stats come from your Spotify data export:

  1. On spotify.com/account/privacy, request Extended streaming history: every play since you joined. It can take up to 30 days. Account data (the last year) usually arrives within about 5 days. You can import both.
  2. Spotify emails you when your data is ready. Download the .zip.
  3. Drop it on Statsify's Import history page. It's read on your computer; nothing is uploaded.

From then on, Statsify adds new plays itself while it's open or in the tray. See Your listening history in the user guide.

Your data and privacy

  • No servers, no tracking, no analytics. Statsify talks only to Spotify (sign-in, the Web API, artwork and the preview player) and, for lyrics, to LRCLIB, which gets the song's title, artist, album and length, never anything about you. Lyrics can be turned off in Settings → Lyrics.
  • Where it's kept: in the desktop app, your listening history is one SQLite file in the app's data folder (location on each system), and your settings and sign-in are in the app's own storage on your computer, with a copy in app-state.json in the app's data folder. That copy puts them back if Windows shuts down or updates Statsify before the app's storage was saved. In a browser, everything stays in that site's browser storage.
  • Backing up: close the app and copy the database file (how), or export your history as CSV from Import history → Export as CSV (or one period from Streams → Export CSV).
  • Deleting: Import history → Delete history removes your imported and recorded plays from this device; Settings → Account → Sign out and erase data does the same and signs you out. Neither changes anything in your Spotify account. To take away Statsify's access to your account, remove it on Spotify's Manage apps page.
  • Permissions: Statsify asks Spotify only for what its features use: your profile, top items, recently played, library, playlists and followed artists; seeing and controlling playback; creating private playlists, adding songs to your own and collaborative playlists, and liking songs. It never removes or reorders songs in a playlist, and never deletes one. The browser version also asks for streaming and your email address, which Spotify's in-browser player requires; Statsify never reads the address.

More in SECURITY.md.

FAQ

Do I need Spotify Premium? Stats, your library, lyrics and 30-second previews work with any account. Controlling playback needs Premium. Spotify also requires the account that creates the Client ID to have Premium; if yours doesn't, someone with Premium can create one and add you under User Management.

Can friends or family use Statsify? Yes: up to five Spotify accounts per Client ID. Add each one under User Management in your Spotify app, and share the Client ID with them; each person signs in with their own Spotify account on their own device.

Why are some numbers or features missing? Under Spotify's rules for Development Mode apps (since February 2026), the API leaves out popularity scores, follower counts, artist top tracks and other people's profiles and playlists, among others. Statsify says where something isn't available instead of showing zeros.

Why are plays missing from Streams or All time? Spotify only shares your last 50 plays, and not how long you listened to each. Statsify saves them while it's open or in the tray (counting each as the song's full length); if it's closed while you play more than 50 songs, the oldest are missed. Importing your next data export fills the gaps with the exact plays.

Why don't lyrics show for a song? Spotify's API has no lyrics, so Statsify looks them up on LRCLIB, a free, community-built database. Popular songs are well covered; less-known ones may have plain lyrics (without timing) or none. You can add missing lyrics on LRCLIB, and Statsify looks again after three days. If lyrics run early or late, nudge them with − / +.

Why does Play say "No active Spotify device" or "Spotify isn't installed on this PC"? Statsify is a remote control: the music plays in a Spotify app, the only official way to play Spotify's protected audio. The desktop app needs the Spotify desktop app installed and signed in once; it then starts it hidden for you. If it doesn't start lists each message and what to do.

What does "Spotify didn't allow this" mean? Your Spotify account probably isn't listed under User Management in your Spotify app, or the page is someone else's playlist, which Spotify doesn't share with Development Mode apps.

More answers are in the user guide's Troubleshooting.

Build from source

You need Node.js 26 or newer, and for the desktop app Rust 1.92 or newer plus the Tauri prerequisites for your system.

git clone https://github.com/Kkkermit/Statsify.git
cd Statsify
npm ci
npm run dev           # the web app on http://127.0.0.1:5173
npm run desktop:dev   # or the desktop app, with hot reload

docs/DEVELOPMENT.md has the prerequisites for each system, every command, the tests and debugging.

Documentation

Document For
User guide Using Statsify: playing music, your history, library, lyrics, full screen, troubleshooting
History database Where your history file is, its schema and example queries, backups
Security policy Reporting a vulnerability privately, and how Statsify protects your data
Contributing Ways to help, branches, commits, pull requests and code style
Development Setting up on Windows, macOS or Linux, commands, testing and debugging
Architecture (AGENTS.md) How the code works, every folder, conventions; for contributors and AI coding agents
Releasing Versions and the release pipeline, for maintainers

Contributing and support

  • Found a bug or have a question? Open an issue. The bug form asks for the details that help; the developer log can export them, with tokens masked.
  • Found a security problem? Please report it privately, as SECURITY.md describes.
  • Want to contribute? Contributions are welcome! Start with CONTRIBUTING.md, and please follow the Code of Conduct.
  • Like Statsify? Star the repository, tell a friend, or buy me a coffee.

Roadmap

Ideas for future versions, roughly in order:

  • Auto-updates from signed releases, tokens in the operating system's keychain, code-signed installers (no more SmartScreen or Gatekeeper prompts).
  • Global media keys, a compact always-on-top mini player, start with Windows.
  • Shareable "year in review" cards, comparing two periods side by side, playlist tools (find duplicates, sort and save).
  • Translations.

Licence and disclaimer

Statsify is licensed under Apache-2.0. It is an independent project and is not affiliated with, endorsed by or sponsored by Spotify AB. Spotify is a trademark of Spotify AB. Demo-mode artists, tracks and artwork are fictional and generated.

About

Your Spotify listening stats, full streaming history, synced lyrics and player controls in a private desktop app for Windows, macOS and Linux. No servers, no tracking.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages