1.0.0 • Published 9 months ago

@jamesjfoong/gqc v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

groq-commit

A CLI tool to generate commit messages using Groq AI from git diff.

Features

  • 🤖 Uses Groq AI to analyze git changes and generate meaningful commit messages
  • ⚡ Fast and lightweight
  • 🔧 Configurable settings (model, temperature, tokens, etc)
  • 🔄 Auto-commit option available
  • 🎨 Pretty console output with status indicators

Installation

npm install -g groq-commit

Usage

  1. Set up your Groq API key and preferences:
groq-commit setup
  1. Generate a commit message from your changes:
groq-commit generate
  1. Generate and automatically commit changes:
groq-commit generate --auto-commit

Commands

  • setup - Configure Groq API key and preferences
  • generate - Generate commit message from current changes
  • config list - Display current configuration
  • config reset - Reset configuration to defaults

Project Structure

src/
  ├── commands/      # CLI command implementations
  ├── services/      # Core business logic and services
  ├── utils/         # Shared utilities and helpers
  └── index.ts       # Main entry point

Requirements

  • Node.js >= 14.0.0
  • Groq API key

License

MIT © James Jeremy Foong