{"id":13459933,"url":"https://github.com/alexandregv/RP42","last_synced_at":"2025-03-24T18:31:31.456Z","repository":{"id":42659820,"uuid":"167282616","full_name":"alexandregv/RP42","owner":"alexandregv","description":"Discord Rich Presence integration for @42School","archived":false,"fork":false,"pushed_at":"2025-01-09T23:04:58.000Z","size":4605,"stargazers_count":54,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-09T23:34:52.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexandregv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-24T01:40:39.000Z","updated_at":"2025-01-09T23:05:02.000Z","dependencies_parsed_at":"2024-05-10T22:34:13.409Z","dependency_job_id":"9bd3c193-a9f1-4857-bc4a-a164554baf96","html_url":"https://github.com/alexandregv/RP42","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandregv%2FRP42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandregv%2FRP42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandregv%2FRP42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandregv%2FRP42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandregv","download_url":"https://codeload.github.com/alexandregv/RP42/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245328210,"owners_count":20597386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T10:00:32.577Z","updated_at":"2025-03-24T18:31:31.444Z","avatar_url":"https://github.com/alexandregv.png","language":"Go","funding_links":[],"categories":["WELCOME","Vie sur le campus","Resources","Tools","Table des matières"],"sub_categories":["**Others**","Liens externes","Fun","Campus specific"],"readme":"# RP42\n\nA Discord Rich Presence integration for [@42School](https://github.com/42School).  \n![Screenshot](https://raw.githubusercontent.com/alexandregv/RP42/refs/heads/master/screenshot.png)\n\n\u003c!--TOC--\u003e\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Building yourself](#building-yourself)\n- [Contributing](#contributing)\n- [Contributors](#contributors)\n- [Stargazers over time](#stargazers-over-time)\n\n\u003c!--TOC--\u003e\n\n## Installation\n\n1. Download RP42 from the [releases](https://github.com/alexandregv/RP42/releases) page, or build it yourself\n2. Create an API App on the Intranet: https://profile.intra.42.fr/oauth/applications/new\n\nAlternatively, if you have Go installed:\n\n```bash\ngo install github.com/alexandregv/RP42@latest\n```\n\n/!\\ Do NOT share your API credentials to someone else, or on GitHub, etc. /!\\\n\n## Usage\n\nRun the app like this, using the credentials of your API App:\n\n- Linux: `./RP42 -i CLIENT_ID -s CLIENT_SECRET \u0026`\n- Windows: `RP42.exe -i CLIENT_ID -s CLIENT_SECRET`\n- MacOS: `./RP42 -i CLIENT_ID -s CLIENT_SECRET`\n\nOn Linux, to run it in background as a service, create a file `~/.config/systemd/user/RP42.service` with this content:\n\n```ini\n[Unit]\nDescription=Discord Rich Presence for 42\n\n[Service]\nExecStart=%h/.local/bin/RP42 -i \u003cmy-app-id\u003e -s \u003cmy-app-secret\u003e\nRestart=always\n\n[Install]\nWantedBy=default.target\n```\n\nThen run `systemctl --user start RP42` and `systemctl --user status RP42`.\n\n## Building yourself\n\nIf you want to build RP42 yourself, follow these instructions:\n\n1. Clone the repo: `git clone https://github.com/alexandregv/RP42.git`\n2. Compile: `make` for all distro, or `make linux` / `make macos` / `make windows`\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/alexandregv/RP42/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [alexandregv/aguiot--](https://github.com/alexandregv) - creator and maintainer\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/alexandregv/RP42.svg?variant=adaptive)](https://starchart.cc/alexandregv/RP42)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandregv%2FRP42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandregv%2FRP42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandregv%2FRP42/lists"}