https://github.com/observeroftime/discord-custom-rpc
Simple program for creating a custom Discord RPC on Linux
https://github.com/observeroftime/discord-custom-rpc
discord rich-presence
Last synced: 5 months ago
JSON representation
Simple program for creating a custom Discord RPC on Linux
- Host: GitHub
- URL: https://github.com/observeroftime/discord-custom-rpc
- Owner: ObserverOfTime
- License: other
- Created: 2025-09-14T09:39:11.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-09-14T10:45:41.000Z (5 months ago)
- Last Synced: 2025-09-14T12:21:48.771Z (5 months ago)
- Topics: discord, rich-presence
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# discord-custom-rpc
Custom Discord Rich Presence for Linux written in C.
Depends on `json-c` & `uuid` and is configured during compilation.
First, create an [application][] and add some Rich Presence assets.
[application]: https://discord.com/developers/applications/
Then, create an `Env.mak` file to store the configuration.
```make
# your client ID, required
CLIENT_ID =
# rich presence details, optional
DETAILS =
# rich presence state, optional
STATE =
# large image key, optional
LARGE_IMAGE =
# large image text, optional
LARGE_TEXT =
# small image key, optional
SMALL_IMAGE =
# small image text, optional
SMALL_TEXT =
# set to any value to enable debugging
DEBUG =
```
Now, you can compile and run the application with `make`.
Alternatively, use `make rpc` to only compile it.
You can run the application later with `./rpc`