Musjxa logo

Musjxa — Apple Music Now Playing Broadcaster

Broadcast your Apple Music "now playing" to any channel. Pluggable, configurable, zero dependencies. Pure macOS.

Get started in 3 steps

No installs. No build tools. Just clone and run.

1

Clone

Grab the repo from GitHub

git clone asdrubalchirinos/musjxa
2

Configure

Copy the example config and add your credentials

cp config.example.json config.json
3

Run

Start broadcasting what you listen to

osascript -l JavaScript musjxa.js

Why Musjxa?

Lightweight by design, extensible by nature.

🔌

Pluggable channels

Drop a .js file in channels/ to add any service. No core changes needed.

📝

Custom templates

Each channel gets its own message format with {{track}} and {{artist}} placeholders.

ðŸŠķ

Zero dependencies

Pure JXA. No Node.js, no npm, no build step. Just macOS.

🍎

Native macOS

Built with JavaScript for Automation. Talks directly to Apple Music.

Built-in channels

Ready to use out of the box. Or write your own.

ðŸ–Ĩïļ

System Log

macOS unified log

𝕏

Twitter / X

Post tweets via API

✈ïļ

Telegram

Send via Bot API

💎

Pumble

Webhook integration

Write a plugin in 5 lines

Create a file in channels/ with a post() function. That's the entire API.

// channels/discord.js
function post(message, channel) {
    const body = JSON.stringify({ content: message })
    curlPost(channel.webhookUrl, ["Content-Type: application/json"], body)
}