An elegant Apple Music desktop client for Linux, macOS and Windows. No frippery, just quality. A better class of Cider ๐
Made with ๐ for ๐ง๐๐ช
Sidra is Apple Music as a proper desktop citizen on Linux, macOS, and Windows - wired into each platform's native media subsystem, not bolted on top.
Most Apple Music desktop clients break the audio, mangle the playback controls, or bury you under a custom UI that Apple never signed off on - the problem is worst on Linux.
Sidra takes the opposite approach: wrap music.apple.com directly, stay out of the way, and let the audio through untouched. Apple owns the interface and keeps it current; Sidra inherits every improvement automatically.
As featured on Linux Matters podcast! ๐๏ธ I am a presenter on Linux Matters and I discussed some of the backstory and how came to create Sidra on Episode 79 - Pouring out the Sidra.
- ๐ง Untouched audio - no
AudioContext, no DSP, no resampling; lossless on macOS and Windows via CastLabs EVS production VMP signing - ๐จ Six bundled themes - Catppuccin, Dracula, Gruvbox, Nord, Rosรฉ Pine, and Solarized - plus a live-reloading
custom.cssescape hatch - ๐ Last.fm scrobbling - opt-in; connect from the tray and approve Sidra in your browser
- ๐ฎ Discord Rich Presence - show what you are listening to
- ๐ Desktop notifications - track changes, native to each platform
- ๐ 32 languages - localised storefront and interface
- ๐งญ Back, Forward, and Reload - injected into both Apple Music and Apple Music Classical
- ๐ฑ๏ธ Scroll to change volume - point at the player bar volume control and scroll; 5% a notch
- ๐ผ Apple Music Classical - switch at runtime from the tray Player submenu:
- Start pages are Home, Browse, Playlists, Search, or your last page; Apple Music's are Home, New, Radio, All Playlists, or your last page
- ๐ง Linux:
- Widevine DRM via CastLabs Electron
- Wayland and X11 support
- Bi-directional MPRIS (
org.mpris.MediaPlayer2.sidra) over D-Bus
- ๐ macOS:
- Full Widevine DRM with EVS production VMP signing
- Now Playing widget, Dock menu with playback controls, and Dock progress bar
- App menu (Cmd+Q, About) and native share sheet for the current track
- ๐ช Windows:
- Full Widevine DRM with EVS production VMP signing
- GSMTC media flyout, taskbar thumbnail toolbar (play/pause, next, previous)
- Taskbar overlay icon and progress bar showing playback state and position
- ๐๏ธ Application Indicator:
- Now Playing: track, artist, album, artwork
- Playback controls, volume, and mute
- Start page and last session restore, style switcher, zoom control
- Close to tray, opt-in: closing the window keeps Sidra running, with Hide and Show entries
- Share current track (macOS), auto-update status
- ๐ Auto-update via GitHub Releases:
- AppImage and NSIS: silent OTA download with restart prompt; disable with
SIDRA_DISABLE_AUTO_UPDATE=1 - deb, rpm, Nix, macOS DMG: update notification linking to the release page
- AppImage and NSIS: silent OTA download with restart prompt; disable with
Sidra ships no mini player and does not need one. Christian Lauinger (@ChrisLauinger77) asked for one in #125, then built MPRIS MiniPlayer: a small GTK4/libadwaita window that controls any MPRIS player on Linux.
It pairs beautifully with Close to tray. Hide the Sidra window, keep the mini player on top, and place it anywhere on your desktop. Thank you, Christian ๐
Theme selection lives in the tray Style submenu. Sidra ships with Catppuccin, Dracula, Gruvbox, Nord, Rosรฉ Pine, and Solarized, plus the default Apple Music styling.
As an unsupported escape hatch, you can place a custom.css file in Sidra's user data directory and it will live-reload without restarting:
- Linux:
~/.config/Sidra/custom.css - macOS:
~/Library/Application Support/Sidra/custom.css - Windows:
%APPDATA%\Sidra\custom.css
The Custom menu entry only appears when that file exists.
Your chosen theme applies to both Apple Music and Apple Music Classical.
Nothing is sent to Last.fm until you connect an account. Open the tray menu, choose Last.fm โ Connect to Last.fmโฆ, and Sidra opens the Last.fm approval page in your browser. Approve Sidra there and the tray shows your username, along with a notification if you have those switched on.
Once connected, the Last.fm submenu turns scrobbling on and off and offers Disconnect. Sidra sends the now-playing track when playback starts or resumes, and scrobbles it once it has played for half its length or four minutes, whichever comes first. Tracks of 30 seconds or less never scrobble - that is Last.fm's rule, not Sidra's. When a scrobble cannot reach Last.fm, Sidra holds the play and sends it with the next one that gets through, so a dropped connection does not cost you it.
Connecting stores a Last.fm session key and your username in Sidra's configuration file, in plain text:
- Linux:
~/.config/Sidra/config.json - macOS:
~/Library/Application Support/Sidra/config.json - Windows:
%APPDATA%\Sidra\config.json
Important
Last.fm session keys never expire, and the Last.fm API has no call to revoke one. Disconnect deletes Sidra's copy of the key, which stops this installation scrobbling, but only Last.fm can invalidate the key itself. Remove Sidra under Applications in your Last.fm settings to do that. Sidra notices the revoked session on its next request, disconnects, and tells you.
What Sidra sends is listed in docs/LASTFM-PRIVACY.md.
Important
Sidra's macOS and Windows releases are currently unsigned, requiring Gatekeeper and SmartScreen workarounds at install time. Sponsoring the project ๐ฉท goes directly towards code-signing certificates to remove that friction for every user.
Grab the latest release from GitHub Releases.
AppImage
On Debian 13 (Trixie) and Ubuntu 24.04 or newer, install the AppImage FUSE dependency first:
sudo apt install libfuse2t64Runs anywhere, no installation:
chmod +x Sidra-*.AppImage && ./Sidra-*.AppImageDebian/Ubuntu
Use the .deb package unless you need AppImage:
sudo apt install ./Sidra-*.debFedora/openSUSE
sudo dnf install ./Sidra-*.rpm # Fedora
sudo zypper install ./Sidra-*.rpm # openSUSESnap - Ubuntu and other snapd-enabled distributions:
sudo snap install sidraAUR - Arch Linux and derivatives:
yay -S sidra-binNix:
nix profile add github:wimpysworld/sidraFor NixOS or Home Manager, add github:wimpysworld/sidra as a flake input and reference inputs.sidra.packages.<system>.default.
DMG - open and drag Sidra to Applications.
Warning
On first launch macOS may report: "Sidra.app" is damaged and can't be opened. You should move it to the Bin. The app is unsigned, not corrupt. macOS shows this because the download is quarantined.
Strip the quarantine attribute in Terminal, then open Sidra normally:
xattr -dr com.apple.quarantine /Applications/Sidra.appSystem Settings โ Privacy & Security only offers Open Anyway for the milder "unidentified developer" prompt, never for "damaged" - so Terminal is the dependable path.
Installer (.exe) - run and follow the prompts.
SmartScreen will warn the installer is unsigned. Click More info then Run anyway.
Sidra loads music.apple.com directly inside CastLabs Electron (required for Widevine DRM on Linux - no other shell supports this).
A lightweight hook script is injected after page load that taps MusicKit.getInstance() events and forwards them over Electron IPC to the main process, which distributes them to platform integrations.
music.apple.com
โโโ MusicKit.js events
โโโ musicKitHook.js (injected)
โโโ IPC โ player.ts (EventEmitter)
โโโ MPRIS (Linux, dbus-next, D-Bus session bus)
โโโ Discord Rich Presence
โโโ Last.fm scrobbling
โโโ Desktop notifications
โโโ navigator.mediaSession (macOS/Windows)
โโโ Dock menu + progress bar (macOS)
โโโ Taskbar toolbar + overlay + progress bar (Windows)
Controls flow in reverse: MPRIS method calls reach window.__sidra via webContents.executeJavaScript(), which calls the appropriate MusicKit method directly.
The codebase is tightly focused and as lean as possible.
I used Cider for years, but as time passed and the weight of new features grew the core experience degraded.
Cider hardcodes a 96kHz AudioContext, so every track Apple delivers at 44.1 or 48kHz gets resampled up, then back down to whatever the hardware expects. Twice, needlessly. All audio routes through a DSP chain regardless of your settings - the "Cider Adrenaline Processor" markets itself as making lossy audio sound lossless, but it is biquad EQ shaping and cannot recover discarded information. Common advice in the community is to simply turn it off.
Reliability followed the same arc. Authentication reported failure after succeeding. Tracks stopped for no reason. Volume reset mid-session. On Linux, MPRIS volume never worked right because Cider's audio engine sat between the system volume curve and the actual output. These were not new bugs; they were architectural, and the architecture was load-bearing.
I wanted something that just worked. So, I made Sidra.
Linux came first. Every existing Apple Music client either lacks MPRIS, implements it badly, or wrecks the audio in the process. Media keys should work. Desktop notifications should fire. Volume should track. None of that is exotic, and none of it should require a custom audio engine.
macOS followed, for two reasons. Devices enrolled in MDM can block personal Apple ID authentication - the native app simply refuses to sign in. Sidra authenticates at the application layer, a glorified browser session, so MDM policy never sees it. Then there is the more relatable problem: a friend's daughter was steadily polluting his Apple Music recommendations with K-pop. Sidra installed alongside the native app gives her a fully isolated session - her listening history, her "For You" shelf, her algorithmic rabbit holes. His recommendations are his own again.
Windows followed at the request of another friend who wanted a decent Apple Music client that was not Cider.
The bonus became clear once everything was working. Wrapping music.apple.com directly means none of those failure modes can exist. Apple's audio pipeline, Apple's auth, Apple's UI - Sidra never creates an AudioContext. Audio flows untouched through Chromium's media stack to the OS. Authentication cannot drift out of sync with Apple's servers. The interface updates whenever Apple ships a change, automatically.
Sidra is the Spanish word for the traditional dry cider of Asturias in northern Spain - poured from height, unfiltered, drunk before it goes flat. The name came from a trip to the region for UbuCon Europe 2018. No additives, no artifice, nothing between the apple and the glass.
Requires Nix with flakes enabled. direnv is recommended. The project uses npm and TypeScript with CastLabs Electron (wvcus variant) - standard Electron cannot be substituted as it lacks Widevine DRM support on Linux.
direnv allow # or: nix develop
just install # install npm dependencies
just run # build and launchSign in on first launch; your session persists across relaunches. Run just with no arguments to list all available recipes for building, testing, debugging, and diagnostics.
Widevine enforces VMP (Verified Media Path) production signing on macOS and Windows - without it, Apple Music returns "Something went wrong" after login. CastLabs ECS ships with development keys; production signing requires a free CastLabs EVS account.
One-time setup:
uvx --from castlabs-evs evs-account signupCredentials are stored at ~/.config/evs/config.json. The account is portable - use evs-account reauth on any new machine.
| Context | Credentials |
|---|---|
| Local machine | ~/.config/evs/config.json; or set EVS_ACCOUNT_NAME + EVS_PASSWD env vars (e.g. via sops-nix) |
just install and just build sign the local Electron binary automatically once credentials are in place. Release builds are signed via the afterPack hook in build/afterPack.cjs.
Official releases ship Last.fm API credentials; a build from this repository does not. Without them the tray hides the Last.fm menu entirely, so the advertised feature is simply absent rather than broken.
Register an API account at last.fm/api/account/create, then export the key and secret before building:
export SIDRA_LASTFM_API_KEY=your-api-key
export SIDRA_LASTFM_API_SECRET=your-shared-secret
just run| Context | Credentials |
|---|---|
| Local machine | SIDRA_LASTFM_API_KEY + SIDRA_LASTFM_API_SECRET env vars (e.g. via direnv or sops-nix) |
| Packaged build | assets/lastfm-credentials.json, written from those env vars by just build and npm run build |
| CI | The same two names as repository secrets |
Environment variables win at runtime; the JSON file is the fallback that packaged builds use. That file is gitignored - the shared secret must never be committed. With neither variable set the build writes it empty, unless it already holds credentials, in which case it is left alone.
See docs/SPECIFICATION.md for full technical detail: architecture, IPC event flow, MPRIS property checklist, platform media control implementation, and the complete feature inventory.
Dependency security is tracked in the open. Dependabot alerts carries the live state of every advisory affecting Sidra, and fixes are merged as they land. A live page beats a report checked into the repository, which is stale the day after it is written. GitHub restricts that page to repository maintainers.
Private vulnerability reporting is enabled. To report a security issue, follow SECURITY.md - your report stays between you and the maintainers until a fix ships.

