/rpcpp

RPC++ is a tool for Discord RPC (Rich Presence) to let your friends know about your Linux system

Primary LanguageC++MIT LicenseMIT

RPC++

RPC++ is a tool for Discord RPC (Rich Presence) to let your friends know about your Linux system

Installing requirements

Arch based systems

pacman -S unzip

Debian based systems

apt install unzip -y

Building

GNU Make, and Discord Game SDK are required. To see more information about setting up Discord Game SDK, see DISCORD.md

If you have Arch Linux, please read the AUR section.

To build RPC++, use the command:

make

Installing & Running

To install RPC++, run the this command:

sudo make install

You can run the app from any directory with

rpcpp

To run manually (without installing) you need to start ./build/rpcpp with the variables LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(pwd)/lib"

AUR

RPC++ is available in the Arch User Repository.

To install, it run the commands:

pacman -S --needed base-devel
pacman -S git
git clone https://aur.archlinux.org/rpcpp-git.git
cd rpcpp-git
makepkg -si

You can use an AUR helper (for example yay):

yay -S rpcpp-git

Features

  • Displays your distro with an icon (supported: Arch, Gentoo, Mint, Ubuntu, Manjaro)
  • Displays the focused window's class name with an icon (see supported apps here)
  • Displays CPU and RAM usage %
  • Displays your window manager (WM)
  • Displays your uptime
  • Refreshes every second

Preview of the rich presence

Will you add more application/distro support?

Sure, let me know on my discord server! Though I'm pretty sure Discord has a limit of images that can be uploaded per application.

Contributing

You can make pull requests, to improve the code or if you have new ideas, but I don't think I will update the code very often.

Supporting

Want to support me? That's great! Joining my discord server and subscribing to my YouTube channel would help a lot!

Are you a rich boi? You can send me XMR through this address:

48DM6VYH72tRfsBHpLctkNN9KKPCwPM2gU5J4moraS1JHYwLQnS1heA4FHasqYMA66SVnusFFPb3GAyW5yBPBwLRAKJuvT1