{"id":15664666,"url":"https://github.com/rjmacarthy/gpt-code-reviewer","last_synced_at":"2025-10-05T14:58:07.026Z","repository":{"id":153831668,"uuid":"630631659","full_name":"rjmacarthy/gpt-code-reviewer","owner":"rjmacarthy","description":"Use ChatGPT to conduct code reviews on your pull requests.","archived":false,"fork":false,"pushed_at":"2025-06-25T06:47:56.000Z","size":38,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T07:42:04.369Z","etag":null,"topics":["api","artificial-intelligence","chatbot","chatgpt","code","github-api","openai","review"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rjmacarthy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-20T19:56:29.000Z","updated_at":"2025-06-25T06:48:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3d0925d-a73d-43d8-acdf-15e6526534f2","html_url":"https://github.com/rjmacarthy/gpt-code-reviewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rjmacarthy/gpt-code-reviewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjmacarthy%2Fgpt-code-reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjmacarthy%2Fgpt-code-reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjmacarthy%2Fgpt-code-reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjmacarthy%2Fgpt-code-reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjmacarthy","download_url":"https://codeload.github.com/rjmacarthy/gpt-code-reviewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjmacarthy%2Fgpt-code-reviewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278470181,"owners_count":25992203,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","artificial-intelligence","chatbot","chatgpt","code","github-api","openai","review"],"created_at":"2024-10-03T13:43:49.854Z","updated_at":"2025-10-05T14:58:06.979Z","avatar_url":"https://github.com/rjmacarthy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gpt-code-reviewer\n\ngpt-code-reviewer is a Python script that assists you with code reviews using OpenAI's GPT-3.5 language model. It interacts with users through a command line interface and GitHub API to retrieve code for review.\n\n## Requirements\n\nThe script requires access to a GitHub account and an OpenAI API key.\n\nSet environment variables:\n\n`GITHUB_TOKEN`  - optional for authentication\n\n`OPENAI_API_KEY` - required to access gpt\n\n## Usage\n\nClone the repository and navigate to its directory in your terminal. Then, run the following command:\n\n`cp config.yaml.example config.yaml`\n\nEdit `config.yaml` to suit your needs.\n\nRun this command to start the application and chat with GPT about your pull requests.\n\n`python chat.py`\n\nThe script will prompt you to select a repository and pull request to review. You will then be prompted to enter 'r' to review the code, 'q' to quit, 'h' for help, and 'n' to review a different pull request.\n\nThe language model will provide suggestions and feedback based on your input, and you can continue to review the code until you are finished.\n\nTranscripts of the conversation will be saved as a markdown file for reference.\n\n## API\n\nYou can also host gpt-code-reviewer as an api using `python api.py`, see `api.py` for the list of routes.\n\n## SudoLang\n\nYou can run a [SudoLang](https://github.com/paralleldrive/sudolang-llm-support) version of this at https://github.com/rjmacarthy/pseudo\n\n## License\n\nThis script is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjmacarthy%2Fgpt-code-reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjmacarthy%2Fgpt-code-reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjmacarthy%2Fgpt-code-reviewer/lists"}