Fast Discord RPC Client written in Rust 🦀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
renovate[bot] 1f60af2b55 Update Rust crate clap_mangen to 0.1.9 2 weeks ago
.github/workflows Update actions/cache action to v3 2 months ago
src chore: update 1 month ago
.editorconfig ci: add cache 4 months ago
.gitignore chore: update 1 month ago
CHANGELOG.md chore(release): v0.2.2 1 month ago
Cargo.lock Update Rust crate clap_mangen to 0.1.9 2 weeks ago
Cargo.toml Update Rust crate clap_mangen to 0.1.9 2 weeks ago
LICENSE change license to GPL3 4 months ago
README.md chore: update 1 month ago
renovate.json add renovate config 4 months ago

README.md

Discord RPC Client

Examples

Big image, small image, details and one button

discordrpc --client-id 942151169185316874 --details 'untypeable nickname' --button-1-text 'Discord RPC written in Rust' --button-1-url 'https://github.com/MedzikUser/discord-rpc' --large-image medzik --large-image-text medzik --small-image archlinux --small-image-text archlinux

Big image, details, state and two buttons

discordrpc --client-id 942151169185316874 --details 'untypeable nickname' --state 'MedzikUser' --button-1-text 'Discord RPC written in Rust' --button-1-url 'https://github.com/MedzikUser/discord-rpc' --button-2-text 'GitHub' --button-2-url 'https://github.com/MedzikUser' --large-image medzik --large-image-text medzik

How to install?

Linux

Download discordrpc-linux from the releases page and run

chmod +x discordrpc-linux
./discordrpc-linux

Arch Linux

Using yay (AUR)

yay -S discordrpc

Alternatively you can add this repo and run

sudo pacman -S discordrpc

OSX

Download discordrpc-darwin from the releases page and run

chmod +x discordrpc-darwin
./discordrpc-darwin

Windows

Download discordrpc-windows from the releases page and run

chmod +x discordrpc-windows
./discordrpc-windows

Compile with Cargo

Make sure you have the latest version of Rust. Then you can run

cargo install imgurs

How do I get a client id?

  1. Go to Discord Developer Portal
  2. Make New Application, name them freely (the name will be displayed in RPC)

new app

  1. Go to General Information

general

  1. Copy ID

copy id

  1. Then go to the Rich Presence tab (optional)

rich presence

  1. Add images to be able to display them in RPC (optional)

add image