v1.0.39

Introducing aicommit

aicommit

Generate clean Conventional Commits messages and semantic branch names straight from your staged git diff. 12 KB package, zero heavy SDKs, works with 9+ AI providers including local Ollama.

Examples

Works with DeepSeek, OpenAI, Anthropic, Gemini, OpenRouter, Groq, SiliconFlow, Moonshot, and local Ollama.

zsh — aicommit
❯ aicommit -a -c "fix Safari date parsing"
? Generated commit message:
fix: replace hyphens with slashes in date parsing for Safari compatibility
What would you like to do?
❯ Accept
Edit
Regenerate
Cancel
[main 5e8d9f5] fix: replace hyphens with slashes in date parsing for Safari compatibility
1 file changed, 2 insertions(+), 1 deletion(-)
DeepSeekDeepSeek
OpenAIOpenAI
AnthropicAnthropic
GeminiGemini
OpenRouterOpenRouter
GroqGroq
# Stage files and generate a commit message
git add .
aicommit

# ? Generated commit message:
#   feat: add token verification helper
#
# What would you like to do?
# ❯ Accept
#   Edit
#   Regenerate
#   Cancel

Features

9+ Built-in Providers

Switch effortlessly between DeepSeek, Moonshot, SiliconFlow, OpenAI, OpenRouter, Gemini, Groq, Anthropic, Ollama, or any custom AI_BASE_URL.

Learn more >

Interactive CLI & Setup

Run aicommit setup once to configure provider, key, and language. Accept, edit, or regenerate with automatic deduplication.

Learn more >

Branch Name Generator

Run aicommit branch to generate a clean slug from your diff, pick a prefix, and auto-checkout in one step.

Learn more >

Multilingual Commits

English by default, or set AI_LOCALE=zh for English Conventional Commit types paired with concise Chinese descriptions.

Learn more >

Smart Diff Budgeting

Prepends git --stat, caps per-file diffs at 4k chars, and ignores lockfiles and generated assets so large files never drown out real code.

Learn more >

Safe & Lightweight

Uses execFile with argument arrays (zero shell injection), native fetch with timeout, 0600 config permissions, and ships in just 12 KB.

Learn more >

Ready to automate your git commits?