Skip to content

alexandregv/RP42

Repository files navigation

RP42

A Discord Rich Presence integration for @42School.
Screenshot

Installation

  1. Download RP42 from the releases page, or build it yourself
  2. 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. /!\

Usage

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.

Building yourself

If you want to build RP42 yourself, you will have to generate an app on the 42's API and then follow these instructions:

  1. Clone the repo: git clone https://github.com/alexandregv/RP42.git
  2. Compile: make for all distro, or make linux / make macos / make windows

Contributing

  1. Fork it (https://github.com/alexandregv/RP42/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Stargazers over time

Stargazers over time

About

Discord Rich Presence integration for @42School

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages