https://github.com/M3DZIK/discordrpc
Fast Discord RPC Client written in Rust 🦀
https://github.com/M3DZIK/discordrpc
cli discord discord-rich-presence discord-rich-presence-with-buttons discord-rpc discord-rpc-builder discord-rpc-client discord-rpc-custom discord-rpc-maker discordrpc discordrpc-state rpc rust rust-cli rust-lang rustlang
Last synced: 4 months ago
JSON representation
Fast Discord RPC Client written in Rust 🦀
- Host: GitHub
- URL: https://github.com/M3DZIK/discordrpc
- Owner: M3DZIK
- License: gpl-3.0
- Archived: true
- Created: 2022-02-12T19:18:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T20:16:45.000Z (over 2 years ago)
- Last Synced: 2025-01-08T21:58:44.027Z (4 months ago)
- Topics: cli, discord, discord-rich-presence, discord-rich-presence-with-buttons, discord-rpc, discord-rpc-builder, discord-rpc-client, discord-rpc-custom, discord-rpc-maker, discordrpc, discordrpc-state, rpc, rust, rust-cli, rust-lang, rustlang
- Language: Rust
- Homepage:
- Size: 87.9 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord RPC Client
## Examples
### Big image, small image, details and one button

```bash
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

```bash
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](https://github.com/MedzikUser/discordrpc/releases/latest) and runchmod +x discordrpc-linux
./discordrpc-linux### Arch Linux
Using yay ([AUR](https://aur.archlinux.org/packages/discordrpc))yay -S discordrpc
Alternatively you can add [this repo](https://github.com/archlinux-pkg/packages) and run
sudo pacman -S discordrpc
### OSX
Download discordrpc-darwin from the [releases page](https://github.com/MedzikUser/discordrpc/releases/latest) and runchmod +x discordrpc-darwin
./discordrpc-darwin### Windows
Download discordrpc-windows from the [releases page](https://github.com/MedzikUser/discordrpc/releases/latest) and runchmod +x discordrpc-windows
./discordrpc-windows### Compile with Cargo
Make sure you have the latest version of Rust. Then you can runcargo install imgurs
## How do I get a client id?
1. Go to [Discord Developer Portal](https://discord.com/developers/applications)
2. Make New Application, name them freely (the name will be displayed in RPC)
3. Go to General Information

3. Copy ID

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

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