Simple program for creating a custom Discord RPC on Linux
Go to file
Observer of Time 912021ff33
Minor edits
2022-04-12 15:05:22 +03:00
LICENSE.txt Initial commit 2021-01-29 11:19:21 +02:00
Makefile Initial commit 2021-01-29 11:19:21 +02:00
README.md Initial commit 2021-01-29 11:19:21 +02:00
defs.h Minor edits 2022-04-12 15:05:22 +03:00
rpc.c Minor edits 2022-04-12 15:05:22 +03:00
utils.h Minor edits 2022-04-12 15:05:22 +03:00

README.md

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.

Then, create an Env.mak file to store the configuration.

# 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