{"id":42454497,"url":"https://github.com/setkyar/ai-review","last_synced_at":"2026-01-28T08:54:55.745Z","repository":{"id":277289411,"uuid":"931622288","full_name":"setkyar/ai-review","owner":"setkyar","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-13T14:51:49.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T14:25:00.836Z","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/setkyar.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":"2025-02-12T15:32:50.000Z","updated_at":"2025-03-14T09:03:09.000Z","dependencies_parsed_at":"2025-02-13T06:42:55.502Z","dependency_job_id":null,"html_url":"https://github.com/setkyar/ai-review","commit_stats":null,"previous_names":["setkyar/ai-review"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/setkyar/ai-review","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setkyar%2Fai-review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setkyar%2Fai-review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setkyar%2Fai-review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setkyar%2Fai-review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/setkyar","download_url":"https://codeload.github.com/setkyar/ai-review/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/setkyar%2Fai-review/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28842990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"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":[],"created_at":"2026-01-28T08:54:55.110Z","updated_at":"2026-01-28T08:54:55.739Z","avatar_url":"https://github.com/setkyar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AIReview\n\n[![PyPI](https://img.shields.io/pypi/v/aireview.svg)](https://pypi.org/project/aireview/)\n[![Changelog](https://img.shields.io/github/v/release/setkyar/ai-review?include_prereleases\u0026label=changelog)](https://github.com/setkyar/ai-review/releases)\n[![Tests](https://github.com/setkyar/ai-review/actions/workflows/test.yml/badge.svg)](https://github.com/setkyar/ai-review/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/setkyar/ai-review/graph/badge.svg?token=RNWN1A9D8J)](https://codecov.io/gh/setkyar/ai-review)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/setkyar/ai-review/blob/master/LICENSE)\n\nAIReview is a command-line tool that leverages LLM to provide code reviews for your Git changes.\n\n## Features\n\n- Automatic detection of Git changes\n- AI-powered code review using OpenAI's GPT models\n- Customizable review prompts and project context\n- Markdown-formatted review output\n- Support for multiple file reviews in a single run\n\n## Installation\nInstall this tool using `pip`:\n\n```bash\npip install aireview\n```\n\n## Configuration\n\nCreate a configuration file named `aireview.config` with the following structure in your project root:\n\n```ini\n[ai]\nmodel = gpt-4\napi_key = your_openai_api_key\nbase_url = https://api.openai.com/v1  # Optional: for custom OpenAI-compatible endpoints\n\n[review]\noutput = ai-review.md # Output file for the review comments\n\n[context]\nproject_context = Your project context description... # Example, I am working on Nodejs, typescript project\n\n[prompt]\nprompt_template = Your custom review prompt... # Example, Review the changes and provide feedback on the code quality and best practices\n```\n\n## Usage\n\n1. Make some changes in your Git repository\n2. Add changes to the staging area:\n```bash\ngit add  the/changed/files\n```\n3. Run AIReview:\n```bash\naireview --config path/to/aireview.config # you can skip --config if the config file is in the project root\n```\n\nThe tool will:\n1. Detect your Git changes\n2. Send them to the LLM for review\n3. Generate a markdown file with the review comments\n\n## Development\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/setkyar/aireview.git\ncd aireview\n```\n\n2. Create and activate a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. Install the package:\n```bash\npip install -e .\n```\n\n### Running Tests\n\n```bash\n# Install test dependencies\npip install -e \".[test]\"\n\n# Run tests\npytest\n\n# Run tests with coverage\ncoverage run -m pytest\ncoverage report\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetkyar%2Fai-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsetkyar%2Fai-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetkyar%2Fai-review/lists"}