Overview of CodeGPT features
mainCodeGPT is a CLI tool written in Go that uses AI (such as ChatGPT, Gemini, Anthropic, etc.) to:
- Write git commit messages following the conventional commits specification.
- Provide code review summaries.
- Automatically install the
git prepare-commit-msghook.
Key capabilities:
- Multi-provider support: Azure OpenAI, OpenAI, Gemini, Anthropic, Ollama, Groq, and OpenRouter.
- Customizable context: Specify the number of context lines (default: 3) for diff generation.
- Diff filtering: Supports exclusion patterns for
git diff. - Localization: Translate commit messages into
en,zh-tw, orzh-cn. - Network support: Supports SOCKS or custom HTTP proxies.
- Real-time feedback: Supports streaming output to show generated tokens.