🤖 GPT( Deepseek and more ) Code Review for Gitlab (针对于 Gitlab 的 LLM 辅助 Code Review 工具)项目详细文档 👇🏻 https://mimo-x.github.io/Code-Review-GPT-Gitlab/
Find a file
xin.xu1 aff1e87be8
chore:增强文档并新增中文支持
	•	更新了 zensical.toml,新增英文和中文文档的网站配置。
	•	新增 zensical.zh.toml 文件,用于支持中文文档配置。
	•	修改了 GitHub Actions 工作流,使其可以同时构建并部署英文和中文文档。
	•	新增中文版本的首页和 FAQ 文档,并添加了多张图片以增强可视化效果。
	•	删除了过期的文档文件,以精简项目结构。
2025-12-02 10:49:16 +08:00
.devcontainer feat: 添加VS Code Dev Containers配置,支持Python和TypeScript开发环境 2025-11-17 11:26:48 +08:00
.github/workflows 2025-12-02 10:49:16 +08:00
backend feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
docker/backend feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
docs 2025-12-02 10:49:16 +08:00
docs_zh 2025-12-02 10:49:16 +08:00
frontend feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
scripts 2025-12-02 10:49:16 +08:00
.dockerignore - 2025-11-28 21:07:01 +08:00
.env feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
.env.example feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
.env.prod.example feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
.gitignore chore: add zensical configuration and GitHub Actions for documentation deployment 2025-12-02 00:12:52 +08:00
CLAUDE.md feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
docker-compose.yml feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
LICENSE Initial commit 2023-10-19 22:10:10 +08:00
README.md feat: 添加环境配置文件和更新文档以支持新功能 2025-11-30 15:48:17 +08:00
README_EN.md - 2025-11-28 21:07:01 +08:00
zensical.toml 2025-12-02 10:49:16 +08:00
zensical.zh.toml 2025-12-02 10:49:16 +08:00

English README | 中文 README

Description 📚

A project using LLM to empower Code Review 💪🏻 ((LLM not only includes GPT 🎁))

What are the characteristics of the project?

🐶 We customize it for gitlab

🐱 We combine the powers of GPT 🚀

🦊 We're going to access privatization LLM to solve code security issues

🦁 We will always be aware of the latest developments of code review into the project

Project structure 🚗

Results preview 🌈

1. Gitlab Code Review for Merge Request

2. Dingding-code-review message

3. Integration of More Large Models

  1. Custom models can be quickly integrated by implementing the project interface. For specific configuration methods, refer to config.md.
  2. The project supports multiple models through UnionLLM, which is compatible with LiteLLM. The default supported models are listed in the table below.
OpenAI Azure AWS - SageMaker AWS - Bedrock
Google - Vertex_AI Google - Palm Google AI Studio - Gemini Mistral AI API
Cloudflare AI Workers Cohere Anthropic Empower
Huggingface Replicate Together_AI OpenRouter
AI21 Baseten Vllm NLP_Cloud
Aleph Alpha Petals Ollama Deepinfra
Perplexity-AI Groq AI DeepSeek Anyscale
IBM - Watsonx.ai Voyage AI Xinference [Xorbits Inference] FriendliAI
Galadriel 智谱AI 月之暗面 Moonshot 百度文心一言
阿里巴巴通义千问 MiniMax 讯飞星火 百川智能
昆仑天工 零一万物 阶跃星辰 字节豆包
DeepSeek More
# Usage 📖

install

Run by Source code

1.clone repo

git clone git@github.com:mimo-x/Code-Review-GPT-Gitlab.git

2.install requirements

pip install -r requirements.txt

3.modify config file

vim config/config.py

4.run

python3 app.py

5.config gitlab webhook

When filling in the Webhook URL, please add /git/webhook after the domain name. For example: http://example.com/git/webhook

6.**make a mr 🎉**

Docker

todo dockerfile

Todo List 📌

  • Use GPT to Code Review
  • Try to access the privatization LLM to Address code security issues
  • Enable more trigger methods
    • Merge Request
    • for every commit
    • for tag
  • FeiShu(飞书) Code Review message notification
  • Static code analysis to Analyze the risk level of modifying code

Communication 👨‍👨‍👦‍👦

👏🏻You're welcome to ask us questionsissuepr, Thank you for your star

📮 Emailmixuxin@163.com

👨‍👨‍👦‍👦 This is our WeChat group

reference 📚

License 📑

github license This project is licensed under the MIT License.