{"id":15140233,"url":"https://github.com/darthsalad/pr-mate","last_synced_at":"2026-02-05T13:31:55.166Z","repository":{"id":234076790,"uuid":"685426569","full_name":"darthsalad/pr-mate","owner":"darthsalad","description":"pr-mate is a GitHub App designed to enhance your pull request reviews.","archived":false,"fork":false,"pushed_at":"2023-12-08T14:16:54.000Z","size":6899,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T15:50:56.192Z","etag":null,"topics":["github-app","open-ai","piston","probot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darthsalad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-31T07:49:36.000Z","updated_at":"2023-09-21T10:50:23.000Z","dependencies_parsed_at":"2024-04-18T04:42:58.054Z","dependency_job_id":"8f13814f-d28d-4fdc-96ff-48552a41825f","html_url":"https://github.com/darthsalad/pr-mate","commit_stats":null,"previous_names":["darthsalad/pr-mate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darthsalad/pr-mate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthsalad%2Fpr-mate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthsalad%2Fpr-mate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthsalad%2Fpr-mate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthsalad%2Fpr-mate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darthsalad","download_url":"https://codeload.github.com/darthsalad/pr-mate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darthsalad%2Fpr-mate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29122609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github-app","open-ai","piston","probot","typescript"],"created_at":"2024-09-26T08:01:40.305Z","updated_at":"2026-02-05T13:31:55.148Z","avatar_url":"https://github.com/darthsalad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pr-mate\n\u003e A GitHub App built with [Probot](https://github.com/probot/probot)\n\n## Description\n`pr-mate` is a GitHub App designed to enhance your pull request experience by providing real-time code execution and explanation. It listens to pull request creation events and responds with comments based on specific commands.\n\n## Features\n- ### Code Execution: \n  The app can execute code in a variety of languages using the Piston API. The output is then posted as a comment on the pull request.\n- ### Code Explanation: \n  The app can provide a detailed explanation of the code using the OpenAI API. The explanation is then posted as a comment on the pull request.\n\n## Usage\nIn a pull request, type the following commands in a comment:\n\n- `/execute \u003clanguage\u003e` Replace \u003clanguage\u003e with the programming language your code is written in. It gives the output of the code that the comment is based on.\n- `/explain` It gives the explanation of the code the comment is based on.\n\n## Setup\n\n- ### Clone the repo:\n  `git clone https://github.com/darthsalad/pr-mate.git`\n- `cd pr-mate`\n- ### Environment Variables:\n  Setup the environment variables as described in the [this file](./.env.example) section. (Most of the fields are populated by following the initial steps to setup the Probot app)\n- ### Run the app\n  - `yarn install` to install the dependencies\n  - `yarn build` to build the app\n  - `yarn start` to start the app \n\n\n## Screenshots \n- ### `/execute \u003clanguage\u003e`\n  ![Code Execution](./assets/execute-command.png)\n- ### `/explain`\n  ![Code Explanation](./assets/explain-command.png)\n\n## Working Demo \n(In case of video not loading, you can watch it here: [link](https://drive.google.com/file/d/1S5vkE4KYedRFOejFu82O8-HcrIlg3m-B/view?usp=sharing))\n\n\nhttps://github.com/darthsalad/codemate-task/assets/75924053/16aef419-e82e-409a-b954-201d65c7b2ad\n\n\n## Report\nYou can read the project report [here](./REPORT.md)\n\n## References\n- [GitHub REST API](https://docs.github.com/en/rest)\n- [Piston API](https://piston.readthedocs.io/en/latest/api-v2/)\n- [OpenAI API](https://beta.openai.com/docs/introduction)\n\n## Author\n- [darthsalad](https://github.com/darthsalad)\n\n## Contributing\n\nIf you have suggestions for how `pr-mate` could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[ISC](LICENSE) © 2023 darthsalad\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthsalad%2Fpr-mate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarthsalad%2Fpr-mate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthsalad%2Fpr-mate/lists"}