{"id":26937100,"url":"https://github.com/amalhanaja/codebleu","last_synced_at":"2025-09-09T08:33:25.815Z","repository":{"id":247174724,"uuid":"819648314","full_name":"amalhanaja/codebleu","owner":"amalhanaja","description":"AI Pull Request / Merge Request Reviewer","archived":false,"fork":false,"pushed_at":"2024-07-07T04:59:58.000Z","size":54,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T09:09:56.818Z","etag":null,"topics":["ai","merge-request","pr-review","pull-request","pull-request-review","reviewer"],"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/amalhanaja.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-06-24T23:57:54.000Z","updated_at":"2024-08-17T13:42:42.000Z","dependencies_parsed_at":"2024-07-07T05:44:13.061Z","dependency_job_id":"49412a32-13ab-441e-a6dc-82bfb99a05ed","html_url":"https://github.com/amalhanaja/codebleu","commit_stats":null,"previous_names":["amalhanaja/codebleu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amalhanaja%2Fcodebleu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amalhanaja%2Fcodebleu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amalhanaja%2Fcodebleu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amalhanaja%2Fcodebleu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amalhanaja","download_url":"https://codeload.github.com/amalhanaja/codebleu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819785,"owners_count":20839095,"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":["ai","merge-request","pr-review","pull-request","pull-request-review","reviewer"],"created_at":"2025-04-02T13:14:16.901Z","updated_at":"2025-04-02T13:14:17.416Z","avatar_url":"https://github.com/amalhanaja.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codebleu: Powerful Pull Request/Merge Request Reviewer \n\nStreamline your code review workflow with Codebleu, a powerful tool that assists you in reviewing pull request (PR) or merge request (MR) changes. Leveraging Gemini AI, Codebleu provides valuable insights and potential issues to consider, empowering you to conduct more efficient and effective code reviews.\n\n```bash\nNAME:\n   Codebleu - Review PR / MR Diff Changes\n\nUSAGE:\n   Codebleu [global options] command [command options] \n\nVERSION:\n   v0.0.1\n\nDESCRIPTION:\n   Pull Request / Merge Request reviewer agent\n\nCOMMANDS:\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --model value, -m value       uses model to review pull request (options: \"gemini-1.5-flash\" (default), \"gemini-1.5-pro\", \"gemini-1.0-pro\") (default: \"gemini-1.5-flash\") [$MODEL]\n   --repository value, -r value  hosted remote repository provider name (options: \"bitbucket\", \"github\") [$REPOSITORY_PROVIDER]\n   --id value                    pull request id [$PULL_REQUEST_ID]\n   --system-instruction value    Custom system instruction for review pull request diff chages [$SYSTEM_INSTRUCTION]\n   --help, -h                    show help\n   --version, -v                 print the version\n```\n\n### Example\n- **Bitbucket**: [Pull Request](https://bitbucket.org/amalhanaja/test/pull-requests/8)\n\n- **Github**: [Pull Request](https://github.com/amalhanaja/codebleu/pull/1)\n\n## [Get Codebleu](https://github.com/amalhanaja/codebleu/releases)\n\n## Usage\n\n### Github\n\n#### Configure Environment Variable\n\n```bash\nexport GH_ACCESS_TOKEN=\u003cYOUR_GITHUB_ACCESS_TOKEN\u003e\nexport GH_OWNER=\u003cYOUR_GITHUB_REPOSITORY_OWNER\u003e\nexport GH_REPO_SLUG=\u003cYOUR_REPOSITORY_SLG\u003e\nexport GEMINI_API_KEY=\u003cYOUR_GEMINI_API_KEY\u003e\n```\n#### Command\n\n```bash\ncodebleu --repository github --id \u003cPULL_REQUEST_ID\u003e\n```\n\n#### Example:\n\nPull Request Url to review : https://github.com/amalhanaja/codebleu/pull/1\n\n**Environment Variable**\n```bash\nexport GH_ACCESS_TOKEN=\"secret_access_token\"\nexport GH_OWNER=\"amalhanaja\"\nexport GH_REPO_SLUG=\"codebleu\"\nexport GEMINI_API_KEY=\"secret_api_key\"\n```\n\n**Command**\n```bash\ncodebleu --repository github --id 1\n```\n\n### Bitbucket\n\n#### Configure Environment Variable\n\n```bash\nexport BITBUCKET_ACCESS_TOKEN=\u003cYOUR_BITBUCKET_ACCESS_TOKEN\u003e\nexport BITBUCKET_REPO_SLUG=\u003cYOUR_REPOSITORY_SLUG\u003e\nexport BITBUCKET_WORKSPACE=\u003cYOUR_REPOSITORY_WORKSPACE\u003e\nexport GEMINI_API_KEY=\u003cYOUR_GEMINI_API_KEY\u003e\n```\n#### Command\n\n```bash\ncodebleu --repository github --id \u003cPULL_REQUEST_ID\u003e\n```\n\n#### Example:\n\nPull Request Url to review : https://bitbucket.org/amalhanaja/test/pull-requests/8\n\n**Environment Variable**\n```bash\nexport BITBUCKET_ACCESS_TOKEN=\"secret_access_token\"\nexport BITBUCKET_WORKSPACE=\"amalhanaja\"\nexport BITBUCKET_REPO_SLUG=\"test\"\nexport GEMINI_API_KEY=\"secret_api_key\"\n```\n\n**Command**\n```bash\ncodebleu --repository bitbucket --id 8\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famalhanaja%2Fcodebleu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famalhanaja%2Fcodebleu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famalhanaja%2Fcodebleu/lists"}