Package Exports
- @cavani21/commit-genie
- @cavani21/commit-genie/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cavani21/commit-genie) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
commit-genie
Fast, local, AI-powered Git commit message generator. Light weight (if a bit slow)
Features
- โ๏ธ Generate commit messages from staged Git diffs
- ๐ค Works with local AI models (via Ollama)
- ๐ Optional: Use OpenAI or Claude API
- ๐ง Supports Conventional Commits (--conventional)
- ๐งโ๐ป Optional --commitflag to auto-commit
- ๐งช Built with TypeScript, lightweight, zero bloat
- โ Cross-platform (Windows/Linux/Mac)
- ๐ .commitgenrc.jsonfor persistent config
- ๐ฆ Tiny footprint, zero dependencies for core functionality
Global Installation
npm install -g @cavani21/commit-genie
# or
npx @cavani21/commit-genie --help
Usage
npx commit-genie
# Or manually:
git add .
commit-genie                 # Generates a commit message from staged changes
commit-genie --commit        # Also commits it
commit-genie --conventional  # Format as Conventional CommitExample Output
feat: add initial CLI support with local AI (Ollama)Config
You can save settings in a .commitgenrc.json file:
{
  "provider": "ollama",
  "model": "mistral",
  "conventional": true
}License
MIT ยฉ 2025 cavani21
