Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grialion/rpcpp
RPC++ is a tool for Discord RPC (Rich Presence) to let your friends know about your Linux system
https://github.com/grialion/rpcpp
Last synced: 15 days ago
JSON representation
RPC++ is a tool for Discord RPC (Rich Presence) to let your friends know about your Linux system
- Host: GitHub
- URL: https://github.com/grialion/rpcpp
- Owner: grialion
- License: mit
- Created: 2022-01-22T09:30:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T21:37:12.000Z (about 1 year ago)
- Last Synced: 2024-08-06T18:13:10.667Z (3 months ago)
- Language: C++
- Size: 54.7 KB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-discord-activities - rpcpp - let your friends know about your Linux system (I use [Arch](https://archlinux.org), btw) (Other)
README
# RPC++
RPC++ is a tool for Discord RPC (Rich Presence) to let your friends know about your Linux system## Installing requirements
### Arch based systems
```sh
pacman -S unzip
```
### Debian based systems
```sh
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](./DISCORD.md)If you have Arch Linux, please read the AUR section.
To build RPC++, use the command:
```sh
make
```## Installing & Running
To install RPC++, run the this command:
```sh
sudo make install
```
You can run the app from any directory with
```sh
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:
```sh
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):
```sh
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](./APPLICATIONS.md))
- Displays CPU and RAM usage %
- Displays your window manager (WM)
- Displays your uptime
- Refreshes every second
![Preview of the rich presence](./screenshot.png)## Will you add more application/distro support?
Sure, let me know on my [discord server](https://grial.tech/discord)! 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](https://grial.tech/discord) and subscribing to my [YouTube channel](https://www.youtube.com/channel/UCi-C-JNMVZNpX9kOs2ZLwxw) would help a lot!Are you a rich boi? You can send me XMR through this address:
```
48DM6VYH72tRfsBHpLctkNN9KKPCwPM2gU5J4moraS1JHYwLQnS1heA4FHasqYMA66SVnusFFPb3GAyW5yBPBwLRAKJuvT1
```