{"id":19652204,"url":"https://github.com/avaterclasher/pr-agent","last_synced_at":"2025-11-22T04:03:00.500Z","repository":{"id":217549657,"uuid":"744190926","full_name":"AvaterClasher/PR-agent","owner":"AvaterClasher","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-10T13:17:28.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T01:43:37.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AvaterClasher.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":"2024-01-16T19:53:00.000Z","updated_at":"2024-06-10T13:17:28.000Z","dependencies_parsed_at":"2024-01-17T04:14:11.727Z","dependency_job_id":"22d3cc08-0eda-4ae4-8d88-f510c12895a2","html_url":"https://github.com/AvaterClasher/PR-agent","commit_stats":null,"previous_names":["avaterclasher/pr-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AvaterClasher/PR-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaterClasher%2FPR-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaterClasher%2FPR-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaterClasher%2FPR-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaterClasher%2FPR-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AvaterClasher","download_url":"https://codeload.github.com/AvaterClasher/PR-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaterClasher%2FPR-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285731803,"owners_count":27222214,"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-11-22T02:00:05.934Z","response_time":64,"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":[],"created_at":"2024-11-11T15:09:41.530Z","updated_at":"2025-11-22T04:03:00.483Z","avatar_url":"https://github.com/AvaterClasher.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PR - AGENT\n\nAI sends pull requests for features you request in natural language\n\n## Usage\n\n```bash\npython pr.py -h                                                                                              \nusage: pr.py [-h] -f FILE -i INSTRUCTION [-r REPO] [-d] [-pr]\n\nEdit a section of code, PR with changes.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -f FILE, --file FILE  location of a file\n  -i INSTRUCTION, --instruction INSTRUCTION\n                        instruction on how to edit the file\n  -r REPO, --repo REPO  location to git repo\n  -d, --diff            show diff\n  -pr, --pull-request   add change, commit, push and raise a PR\n```\n\n## Example\n\n```bash\nOPENAI_KEY=\"\u003ckey\u003e\" GH_TOKEN=\"\u003ctoken\u003e\" python pr.py -f examples/bug.py -i \"Rewrite the given code and fix any bugs in the program.\" -d --pr\n```\n\n\u003e Please replace the OPENAI key and GH_TOKEN with your own.\n\nHere is a real PR opened by this above command: https://github.com/AvaterClasher/PR-agent/pull/1","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaterclasher%2Fpr-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favaterclasher%2Fpr-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaterclasher%2Fpr-agent/lists"}