{"id":31104678,"url":"https://github.com/quochuydev/gitlab-ai-agent","last_synced_at":"2025-09-17T03:37:56.267Z","repository":{"id":309526159,"uuid":"1036433128","full_name":"quochuydev/gitlab-ai-agent","owner":"quochuydev","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-28T10:21:49.000Z","size":284,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T13:09:10.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quochuydev.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,"zenodo":null}},"created_at":"2025-08-12T04:33:13.000Z","updated_at":"2025-08-27T04:03:12.000Z","dependencies_parsed_at":"2025-08-28T13:09:14.554Z","dependency_job_id":"c05cfcaf-5c38-4b79-829a-b1dcfc60da8b","html_url":"https://github.com/quochuydev/gitlab-ai-agent","commit_stats":null,"previous_names":["quochuydev/gitlab-agent","quochuydev/gitlab-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quochuydev/gitlab-ai-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fgitlab-ai-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fgitlab-ai-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fgitlab-ai-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fgitlab-ai-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quochuydev","download_url":"https://codeload.github.com/quochuydev/gitlab-ai-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fgitlab-ai-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275530926,"owners_count":25481325,"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-09-17T02:00:09.119Z","response_time":84,"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":"2025-09-17T03:37:54.439Z","updated_at":"2025-09-17T03:37:56.257Z","avatar_url":"https://github.com/quochuydev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Code Review Agent\n\nAutomatically reviews your code when you push and sends feedback to Slack.\n\n## Setup\n\n1. **Install**\n\n   ```bash\n   npm install\n   ```\n\n2. **Configure Environment**\n\n   ```bash\n   cp .env.example .env\n   ```\n\n   Edit `.env`:\n\n   ```env\n   GITHUB_TOKEN=your_github_token_here\n   GITHUB_REPO=owner/repository-name\n   SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK\n   OPENAI_API_KEY=your_openai_api_key_here\n   PORT=3000\n   ```\n\n3. **Start Webhook Server**\n\n   ```bash\n   npm run webhook\n   ```\n\n4. **Setup GitHub Webhook**\n   - Go to your GitHub repo → Settings → Webhooks\n   - Add webhook: `https://your-domain.com/webhook/github`\n   - Select \"Push events\"\n   - Set Content-Type: `application/json`\n\n## Usage\n\n**Automatic Mode (Recommended):**\n\n1. Push code to any branch (not main)\n2. Agent automatically reviews changes\n3. Get Slack notifications with feedback\n\n**Manual Mode:**\n\n```bash\nnpm run review\n```\n\n## How it works\n\n1. **Push Code** → GitHub sends webhook\n2. **AI Reviews** → Compares branch vs main\n3. **Slack Alert** → Sends issues + fixes\n4. **Click \"Update now\"** → Go to GitHub PR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fgitlab-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquochuydev%2Fgitlab-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fgitlab-ai-agent/lists"}