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.
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.
playerctl- used as a connector to MPRIS.- Run
deno installto download most of JS libraries ahead of time.
- 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.envin 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.
Execute deno run -A index.mts in the current directory.