🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@cavani21/commit-genie

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cavani21/commit-genie

AI-powered CLI to generate Git commit messages from staged diffs

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

commit-genie

commit-genie logo

Fast, local, AI-powered Git commit message generator. Light weight (if a bit slow)

npm version downloads license bundle size npm install CI provenance

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 --commit flag to auto-commit
  • 🧪 Built with TypeScript, lightweight, zero bloat
  • ✅ Cross-platform (Windows/Linux/Mac)
  • 📁 .commitgenrc.json for 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 Commit

Example 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

Keywords

git

FAQs

Package last updated on 09 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts