Skip to content

Smeltier/aicommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aicommit

AI-powered conventional commit message generator. Analyzes your staged changes and suggests a commit message following the Conventional Commits spec.

Installation

npm install -g @smeltier/aicommit

Setup

Add to your .zshrc or .bashrc:

export AICOMMIT_PROVIDER=anthropic   # anthropic | openai | ollama
export AICOMMIT_API_KEY=your-api-key
export AICOMMIT_LANG=en              # language for commit messages

Usage

git add .
aicommit

Providers

Provider Default model
anthropic claude-haiku-4-5-20251001
openai gpt-4o-mini
ollama llama3

To override the model:

export AICOMMIT_MODEL=claude-opus-4-6

License

See the MIT License

About

AI-powered conventional commit message generator for any provider

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors