A Discord Rich Presence integration for @42School.
- Download RP42 from the releases page, or build it yourself
- Create an API App on the Intranet: https://profile.intra.42.fr/oauth/applications/new
/!\ Do NOT share your API credentials to someone else, or on GitHub, etc. /!\
Run the app like this, using the credentials of your API App:
- Linux:
./RP42 -i CLIENT_ID -s CLIENT_SECRET &
- Windows:
RP42.exe -i CLIENT_ID -s CLIENT_SECRET
- MacOS:
open RP42.app -i CLIENT_ID -s CLIENT_SECRET
The app will appear in your menu/tray bar (near the clock). Right click it to quit.
If you want to build RP42 yourself, you will have to generate an app on the 42's API and then follow these instructions:
- Clone the repo:
git clone https://github.com/alexandregv/RP42.git
- Compile:
make
for all distro, ormake linux
/make macos
/make windows
- Fork it (https://github.com/alexandregv/RP42/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- alexandregv/aguiot-- - creator and maintainer