Skip to content
المشاريع

NextFire/apple-music-discord-rpc

عرض على GitHub

حول

🎵 عميل Discord Rich Presence لعرض الحالة في الملف الشخصي لتطبيق Apple Music على macOS

التصميم والوسائط

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Can start in the background at login
  • No status bar icon clutter
  • Small and (relatively) easy-to-understand script
  • Presence is enabled only when music is actually playing

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

apple-music-discord-rpc

Deno + JavaScript for Automation (JXA) Discord Rich Presence client for the macOS Apple Music app (Catalina and later) and legacy iTunes.

Works with local tracks and the Apple Music streaming service.

Features

  • Can start in the background at login
  • No status bar icon clutter
  • Small and (relatively) easy-to-understand script
  • Presence is enabled only when music is actually playing
  • Apple Music matching
  • Local artwork temporary upload on litterbox.catbox.moe as a fallback
image image

Getting Started

Follow one of the two methods below to download the script and enable the macOS launch agent so it starts at login.

Homebrew (Recommended)

Install

After installing Homebrew, run:

brew install nextfire/tap/apple-music-discord-rpc
brew services restart apple-music-discord-rpc

You may need to approve the installation of this third-party formula, see tap trust documentation.

These commands add this tap to Homebrew, install the apple-music-discord-rpc formula (and Deno), and enable the launch agent, starting it immediately.

The music-rpc.ts executable is also placed in your PATH.

Upgrade

brew upgrade apple-music-discord-rpc
brew services restart apple-music-discord-rpc

Uninstall

brew services stop apple-music-discord-rpc
brew remove apple-music-discord-rpc
brew untap nextfire/tap

Shell Scripts

Install

Install Deno (v2+), clone the repository, and run ./scripts/install.sh:

git clone https://github.com/NextFire/apple-music-discord-rpc.git
cd apple-music-discord-rpc/
./scripts/install.sh

It copies the launch agent into ~/Library/LaunchAgents/ and edits it accordingly.

Upgrade

cd apple-music-discord-rpc/
git fetch && git reset --hard origin/main
./scripts/install.sh

Uninstall

cd apple-music-discord-rpc/
./scripts/uninstall.sh
cd ../
rm -rf apple-music-discord-rpc/

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…