This project is a JavaScript-based Discord Rich Presence integration for YouTube Music. It also includes a custom-made Google Extension.
- Displays your current YouTube Music activity on Discord
- Shows the song title, artist, and album cover as your Discord status
- Updates in real-time as you listen to different songs on YouTube Music
Before you can use this integration, make sure you have the following:
- Node.js installed on your machine
- A Discord account and a registered application with a client ID
- A YouTube Music account
-
Clone this repository to your local machine.
-
Open a terminal and navigate to the project directory.
-
Run the following command to install the required dependencies:
npm install
-
Configure the Discord application:
- Go to the Discord Developer Portal and create a new application.
- Copy the client ID of your application.
- Rename the
config-example.json
file toconfig.json
and replace theYOUR_CLIENT_ID
placeholder with your actual client ID.
-
Configure the YouTube Music extension:
- Open Google Chrome and navigate to
chrome://extensions
in the address bar. - Enable the "Developer mode" toggle switch located in the top right corner of the page.
- Click on the "Load unpacked" button.
- Select the folder containing the YouTube Music extension files.
- The extension should now appear in the list of installed extensions.
- Enable the extension by toggling the switch next to it.
- Open Google Chrome and navigate to
-
Start the integration:
node .
-
Open Discord and start playing music on YouTube Music. Your Discord status should now update with the currently playing song.
Here is how it looks when the integration is running in the console:
And here is how the rich presence will look once started:
- Console error spamming, (I will eventuall fix it, the current way to avoid it is to reload the page)
- Last i checked the extension doesn't work on Edge, could be a manifest issue