This project is using discord-rpc
(NPM library) and powered by JavaScript (Node.js), it should run on every common OS (Linux, MacOS, Windows)
- Go to https://discord.com/developers/applications
- Click on
New Application
and name your app by that what you want title of your RPC to be! - Click on
OAuth2 --> General
and copy your Client ID and store it somewhere for later - Click on
Rich Presence --> Art Assets
and upload some images (2) what you want to use later (optional)
- Make sure that you have registered your RPC
- Download WindowsInstaller_GUI.exe, it may get flagged as virus but it isn't.
- Process is pretty straightforward from there so it doesn't need further explanation I think.
- Python - only if you want to use GUI
- NodeJS
- Discord
- Notepad++ (Optional - you can choose different program and is not required for GUI)
- Download Universal_CLI.zip or
git clone
this repository. - Make sure that you have registered your RPC
- Edit config.js
- CLI: Run
npm install
andnode index.js
in command line/terminal - GUI: Run
pip3 install nicegui
andpython3 gui.py
in command line/terminal
- NodeJS
- Discord
- PM2 (Optional - for app background use)
- Notepad++ (Optional - you can choose different program)
- Install PM2 if you havent already
npm install pm2 -g
- Edit config.js
- Run
pm2 start index.js
in Command Line/Terminal - Run
pm2 list
and check if app is running! - Note: This makes app run fully on background, kill it with
pm2 stop <name>
- This doesnt need to be done when using GUI.
- put everything what should be in mentioned line to "putItHere"
{
"clientID": "", // client ID from discord.dev portal
"largeImage": "", // name of image (big) uploaded on discord.dev
"largeImageText": "", // comment to display after hovering mouse on large image
"smallImage": "", // name of image (small) uploaded on discord.dev
"smallImageText": "", // comment to display after hovering mouse on smal image
"state": "", // state what you want to display
"details": "", // details what you want to display
"button1": "", // button 1 text
"buttonURL1": "", // button 1 URL
"button2": "", // button 2 text
"buttonURL2": "" //button 2 URL
}