- Install the binary
- Run
./crpc init
to initialize the application - Go to your config folder and edit
config.json
- Run
./crpc --help
to get to know about other commands
- Install rustup and all its components
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Clone Repository and build
git clone https://github.com/Vaimer9/crpc
cd crpc
cargo build --release
- Make your way to the binary in case you are not faminliar with Rust
cd target/release
- Run the binary
./crpc --help
You just have to run crpc init
to make the config folder, the code is written to be compatible with both windows and macOS however tests have not been conducted yet.
To get Rich Presence in your Discord Profile you first need to make a Discord application follow these instructions
- Visit their dev portal
- Log In
- Make a new application with the button at the top right
- When giving the application a name keep in mind this will be on your profile so choose wisely, but you can always change it later
- In the general information tab of your application scroll a bit down and copy the application ID of the application
Now that you have your Discord Application set up lets move the next part, which is setting up the
config.json
file. - Make your way to the config directories of your OS (Will specify the exact directories soon)
- Go to crpc directory
- Open
config.json
in the editor of your choice - Paste the application ID in the id slot
- Here you can customize and tinker with the configuration
- Once done save the file
- Then run
crpc
to get the Rich Presence activated
{
"id": "",
"status": "",
"details": "",
"large": true,
"small": false,
"want_buttons": false,
"button_numbers": 1,
"large_image": "",
"small_image": "",
"large_tool": "",
"small_tool": "",
"buttons": ["", "", "", ""]
}
I have tried my best to keep the JSON as simple as possible.