A tiny Spotify mini-player for Windows 11. It sits in your system tray and pops up a small floating card showing what you are currently playing, along with playback controls.
Built with Tauri v2 (Rust backend, React frontend).
- Shows a floating mini-player that stays on top of other windows
- Lives in the system tray; click the icon to show or hide it
- Displays the current track, artist, album art, and a progress bar
- Lets you play, pause, skip, and go back
- Stores your Spotify tokens in an encrypted local vault
- Automatically refreshes the access token when it expires
- Node.js (LTS)
- Rust (install via rustup)
- A Spotify account
- Go to the Spotify Developer Dashboard
- Create an app
- Add
http://127.0.0.1:9133/callbackas a Redirect URI - Copy the Client ID
npm install
npm run tauri devThe first time you run it, paste your Spotify Client ID into the prompt, then log in with your Spotify account.
npm run tauri buildspotpeek/
├── src/ React frontend
│ ├── App.tsx
│ ├── styles.css
│ └── main.tsx
├── src-tauri/ Rust backend
│ ├── src/
│ │ ├── lib.rs Tray icon, window, commands
│ │ ├── auth.rs OAuth PKCE flow
│ │ ├── spotify.rs API client
│ │ └── store.rs Encrypted token storage
│ ├── Cargo.toml
│ └── tauri.conf.json
└── package.json
Ctrl + Alt + S toggles the window.
- The app starts hidden. Use the tray icon or the shortcut to bring it up.
- Tokens are stored in a Tauri Stronghold vault, not plain text.
- The OAuth callback runs a local server on port 9133.
MIT