Add Discord rich presence for Apple Music!

Overview

Apple Music Presence

Build passing Bmac link

Connect Apple music with Discord!

We all have friends who have Spotify (gross), but it shows what they are listening to in Discord! Being an apple music user, I felt left out so implemented it myself!

Preview

Features

  • Easy startup
  • Extremely lightweight
  • No API keys required
  • No dependencies
  • Easy setup
  • Display song name
  • Display album art
  • Display artist name
  • Display album name

Installation

Download the latest release from the releases page. There are 3 options. You want to select apple-music-presence.zip with the little cube icon, NOT either of the source code folders. This will download a zip file with the latest release.

Unzip the folder.

To run the program, simply right-click on apple-music-presence inside the unzipped folder and select 'Open'. MacOS will warn you that this is from an unidentified developer, and if you trust me, just click on 'Open'. If you don't trust me and know your way around code, you can build it yourself.

There are 2 versions availible: the standard which runs on a one-second interval, and the lightweight version which runs every 20 seconds.

If you want to, you can add this program to your Mac's startup file.

Updating

To update your app, download the latest release from the releases page, and replace the old version's binary with the new one. If you set it up to run at startup, ensure you have replaced the old app, but named the new one to exactly the same thing.

Building from source

To build from source, you need to clone the repository and install the dependencies with npm install.

You will also need to set up a .env file with 3 keys:

DISCORD_KEY=<<your discord api key>>
S3_ACCESS_KEY=<<your aws s3 access key>>
S3_SECRET=<<your aws s3 secret key>>

NOTE All of the s3 handling happens in s3.js (and is actually set up to work with DigitalOcean Spaces). You will need to change the bucket config, as well as the url in the resolve callback in applescript.js. This is a horrible way of dealing with this, but tough.

You will also need to install pkg and modclean

npm i -g pkg
npm i -g modclean

Now, you can simply run npm rum build to build your own version of apple-music-presence.

Alternatives

Apple-Music-RPC

https://github.com/rohilpatel1/Apple-Music-RPC

This app requires you to have python and nodejs installed and configured, as well as needing you to run command-line scripts to make it executable.

Cannot display album art.

iTunes Rich Presence

https://itunesrichpresence.com/

There is only a windows version availible.

Cannot display album art.

You might also like...

Voice Controlled Discord Music Bot in discord.js v14

Voice Controlled Discord Music Bot in discord.js v14

Voice Controlled Discord Bot This repository is for the 5th Hackathon of Documatic. With that Project I am aiming to place #1 and win 50€ About It is

Nov 28, 2022

This script produce the video scroll effect that we can find on the Apple Website's

Scrollable Sequence Description This script produce the video scroll effect that we can find on the Apple Website's. This script is inspired from the

Jan 25, 2022

Add some fire to your Spotify music playlists 🔥🎧

Add some fire to your Spotify music playlists 🔥🎧

Spotifire 🔥 Add some fire to your Spotify music playlists 🎧 Built With Next.js React Tailwind CSS (v3.0) NextAuth Recoil Spotify Web API Preview Vis

Jun 19, 2022

An adorable lavalink discord music bot that has a lot of features inside it.

An adorable lavalink discord music bot that has a lot of features inside it.

Laffey An adorable lavalink discord music bot that has a lot of features inside it. First Project of Weeb-Devs Features: ✓ High quality ✓ Support filt

Dec 31, 2022

A multi-purpose discord bot, that has 100+ commands. Includes 🎶 Music, 📷 Image Generation, 📊 Leaderboard, and more!

Cleckzie An open-source, multi-purpose discord bot, made with JavaScript. Has useful categories like: 🎶 Music - filter, seek, queue, volume and more.

Jul 2, 2022

Discord.js Music Bot with buttons and slash support!

Music Bot Vote for us! (Please) How to use? Download the repo, create a .env file, and add your token into it. You need to change guildOnly to your gu

Nov 24, 2022

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi ALi a powerful Discord Bot Invite ALi · Report Bug · Request Feature 🎭 Futures Music Moderation Fun Economy Utility More 🚀 Installation You can

Oct 17, 2022

A Discord.js Music Bot, which connects via Lavalink and erela.js

A Discord.js Music Bot, which connects via Lavalink and erela.js

Discord.js Lavalink Music Bot using erela.js A Advance Discord Music Bot Like Hydra Erela.js docs Note this Discord Bot Repository is the Same as for

Dec 9, 2022

Discord Music Made Simple.

boat-discord Inspiration This project was made because of the shutdown of Groovy and Rhythm. This project was inspired by the connecting two APIs work

Nov 9, 2022
Comments
  • Application crashing with TypeError

    Application crashing with TypeError

    First of all: Thanks a lot for the effort implementing this. The app is crashing for me, though. If I can help with debugging (I'm actually a node.js backend developer myself) just tell me.

    SlowDown: Reduce your request rate.
        at deserializeAws_restXmlPutObjectCommandError (/snapshot/apple-music-presence/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js:8037:24)
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at async /snapshot/apple-music-presence/node_modules/@aws-sdk/middleware-serde/dist-cjs/deserializerMiddleware.js:7:24
        at async /snapshot/apple-music-presence/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js:11:20
        at async StandardRetryStrategy.retry (/snapshot/apple-music-presence/node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js:51:46)
        at async /snapshot/apple-music-presence/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/flexibleChecksumsMiddleware.js:56:20
        at async /snapshot/apple-music-presence/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:6:22
        at async Upload (/snapshot/apple-music-presence/s3.js:28:18)
        at async /snapshot/apple-music-presence/applescript.js:29:26 {
      '$fault': 'client',
      '$metadata': {
        httpStatusCode: 503,
        requestId: undefined,
        extendedRequestId: undefined,
        cfId: undefined,
        attempts: 3,
        totalRetryDelay: 939
      },
      Code: 'SlowDown'
    }
    🎺 New Song! My Friends by Red Hot Chili Peppers. As always, donations appreciated! https://www.buymeacoffee.com/jackcrane
    🎺 New Song! My Friends by Red Hot Chili Peppers. As always, donations appreciated! https://www.buymeacoffee.com/jackcrane
    /snapshot/apple-music-presence/applescript.js:23
              song.forEach((s) => {
                   ^
    
    TypeError: Cannot read properties of undefined (reading 'forEach')
        at /snapshot/apple-music-presence/applescript.js:23:16
        at ChildProcess.<anonymous> (/snapshot/apple-music-presence/node_modules/applescript/lib/applescript.js)
        at ChildProcess.emit (node:events:390:28)
        at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
    So long and thanks for all the fish.
      -- Douglas Adams
    
    Saving session...completed.
    Deleting expired sessions...       2 completed.
    
    [Prozess beendet]
    
    
    opened by aerben 1
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 10% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /console.png | 45.60kb | 33.36kb | 26.84% | | /test.jpeg | 85.42kb | 78.39kb | 8.23% | | /preview.png | 101.42kb | 96.85kb | 4.50% | | | | | | | Total : | 232.44kb | 208.60kb | 10.26% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
Releases(v1.0.1)
Owner
Heyoo im Jack, a high schooler who happens to enjoy programming.
null
🎼 - MusicBridge Recieves MIDI messages and converts them to AppleScript commands to control Apple Music and Spotify for macOS.

MusicBridge MusicBridge Recieves MIDI messages and converts them to AppleScript commands to control Apple Music and Spotify for macOS. Installation Si

null 3 Dec 20, 2022
A Electron Port of Discord Webapp for Apple Silicon

Discord M1 (Apple Silicon) A Electron Port of Discord Webapp for Apple Silicon This Application is Unofficial Discord Application for Apple Silicon us

Leo Kim 35 Jul 18, 2022
Um cantinho dessa org destinado a elaboração de apps/aplicações de Custom Presence.

Discord Server Rich Presence - Coders Community Um cantinho dessa org destinado a elaboração de apps/aplicações de Custom Presence. Para executar o no

Coders Community 10 Dec 12, 2022
A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands & Buttons. Make Giveaways and…

Giveaway - Discord Bot A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands. Make Giveaways and more..! Explore the d

Chethan Yadav 27 Dec 5, 2022
I’m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

I’m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

Hugo Kishi 2 Aug 16, 2022
Music-Player - Music player application built with HTML, CSS and vanilla JavaScript

Music-Player Music player application built with HTML, CSS and vanilla JavaScrip

Karthik Umashankar 1 Feb 10, 2022
A mobile app for playing music on Resonate, an open source music streaming co-op.

stream2own Play fair. Website | Twitter | Contributing | Developer Guide ?? Resonate Stream App A mobile app for playing music on Resonate, an open so

Peter Klingelhofer 12 Dec 28, 2022
A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users

A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users.

M. Adil Fayyaz 10 Sep 5, 2022
⚡ Discord bot with economy, gambling, music, fun, moderation features based on discord.js v12

Crucian Crucian is my discord bot with simple structure based on discord.js Click Here to invite Crucian to your server Author Crucian © Apoo Authored

apoow3b 3 Jul 26, 2021
A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment.

hazel A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment. Features Music ― supporting YouTube, Spotify and So

yushi 27 Dec 31, 2022