Skip to content
/ crpc Public

A Discord Rich Presence client for the command line

License

Notifications You must be signed in to change notification settings

Vaimer9/crpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Rich Presence🚀

A Blazingly Fast Rich Presence Command Line Application made in rust

Installation

  1. Install the binary
  2. Run ./crpc init to initialize the application
  3. Go to your config folder and edit config.json
  4. Run ./crpc --help to get to know about other commands

Build Locally

  1. Install rustup and all its components
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Clone Repository and build
git clone https://github.com/Vaimer9/crpc
cd crpc
cargo build --release
  1. Make your way to the binary in case you are not faminliar with Rust
cd target/release
  1. Run the binary
./crpc --help

QuickStart

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

  1. Visit their dev portal
  2. Log In
  3. Make a new application with the button at the top right
  4. 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
  5. 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.
  6. Make your way to the config directories of your OS (Will specify the exact directories soon)
  7. Go to crpc directory
  8. Open config.json in the editor of your choice
  9. Paste the application ID in the id slot
  10. Here you can customize and tinker with the configuration
  11. Once done save the file
  12. Then run crpc to get the Rich Presence activated

JSON Example

{
	"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.

About

A Discord Rich Presence client for the command line

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages