Fast Discord RPC Client written in Rust 🦀
Go to file
MedzikUser 525756da2a
v0.2.1
2022-03-14 19:52:55 +01:00
.github/workflows ci: add cache 2022-03-14 19:51:07 +01:00
src rustfmt 2022-03-09 18:50:19 +01:00
.editorconfig ci: add cache 2022-03-14 19:51:07 +01:00
.gitignore upgrade dependencies, Cli::into_app() is deprecated and has been changed 2022-02-20 22:18:41 +01:00
CHANGELOG.md v0.2.1 2022-03-14 19:52:55 +01:00
Cargo.lock v0.2.1 2022-03-14 19:52:55 +01:00
Cargo.toml v0.2.1 2022-03-14 19:52:55 +01:00
LICENSE change license to GPL3 2022-03-14 19:46:50 +01:00
README.md add README 2022-02-13 16:58:38 +01:00
renovate.json add renovate config 2022-02-23 22:53:42 +01:00

README.md

Discord RPC Client

Examples

Big image, small image, details and one button

discord rpc 1

discordrpc -c 942151169185316874 -d 'untypeable nickname' --button-1-text 'Discord RPC written in Rust' --button-1-url 'https://github.com/MedzikUser/discord-rpc' -N medzik -I medzik -n archlinux -i archlinux`

Big image, details, state and two buttons

discord rpc 2

discordrpc -c 942151169185316874 -d 'untypeable nickname' -s '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' -N medzik -I 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