Skip to content

TheMoonThatRises/apple-music-rpc-cpp

Repository files navigation

Apple Music RPC CPP

Apple Music rich presence for Discord using C++.

Inspired by Nextfire/apple-music-discord-rpc.

Features

  • 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

Install

To install, clone the repository recursively:

git clone --recurse-submodules https://github.com/TheMoonThatRises/apple-music-rpc-cpp

Then, run the install script.

./scripts/install.sh

Note

Make sure to allow apple_music_rpc_cpp to access Automation to allow it to access Apple Music statuses.

About

Apple Music rich presence for Discord using C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors