Apple Music rich presence for Discord using C++.
Inspired by Nextfire/apple-music-discord-rpc.
- Not vibe-coded: made with real human sweat and tears
- Zero external dependencies: fully self-contained, with a purpose-built Discord IPC layer (
discord_ipc_cpp) instead of bundled third-party libraries - Event-driven instead of polling: directly hooks into Apple Music through Scripting Bridge, meaning track changes are instantly pushed
- Survives Discord relaunch: detects Discord launch and termination, ensuring the current track is always relayed
- Lightweight executable: low private memory footprint when running (<9MB) with small executable size (<500KB)
- Artwork caching: LRU caching for iTunes requests, decreasing network requests
To install, clone the repository recursively:
git clone --recurse-submodules https://github.com/TheMoonThatRises/apple-music-rpc-cppThen, run the install script.
./scripts/install.shNote
Make sure to allow apple_music_rpc_cpp to access Automation to allow it to
access Apple Music statuses.