https://github.com/iluha168/mpris-rpc
A connector between Chromium-based browsers and Discord's RPC (or arRPC) using MPRIS.
https://github.com/iluha168/mpris-rpc
arrpc discord mpris mpris2 rpc
Last synced: about 2 months ago
JSON representation
A connector between Chromium-based browsers and Discord's RPC (or arRPC) using MPRIS.
- Host: GitHub
- URL: https://github.com/iluha168/mpris-rpc
- Owner: iluha168
- Created: 2025-01-22T06:20:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T11:01:44.000Z (over 1 year ago)
- Last Synced: 2025-06-05T13:50:18.358Z (12 months ago)
- Topics: arrpc, discord, mpris, mpris2, rpc
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MPRIS-RPC
### A connector between Chromium-based browsers and Discord's RPC (or arRPC) using MPRIS.
This project displays activity status of your Discord user to whatever music you are listening in a browser, music being any media that has a square thumbnail.
## Setup instructions
*Warning:* this project uses your account token to upload images to Discord. **Self-botting is against Discord ToS**, and I will not be responsible for any accounts banned.
### Install dependencies
- `playerctl` - used as a connector to MPRIS.
- Run `deno install` to download *most* of JS libraries ahead of time.
### Create a Discord Application
- Go to https://discord.com/developers/applications and create an application. The application name will be shown in your profile when listening to music.
- Open file `template.env` in this repository and follow instructions there.
- Visit "Rich Presence" tab of your new application and upload images with the following names:
- `playing` - music is playing;
- `paused` - the player is paused;
- `stopped` - the player has finished;
- `default` - default album thumbnail.
### Run the script
Execute `deno run -A index.mts` in the current directory.