1.0.0 • Published 1 year ago
@jamesjfoong/gqc v1.0.0
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-commitUsage
- Set up your Groq API key and preferences:
groq-commit setup- Generate a commit message from your changes:
groq-commit generate- Generate and automatically commit changes:
groq-commit generate --auto-commitCommands
setup- Configure Groq API key and preferencesgenerate- Generate commit message from current changesconfig list- Display current configurationconfig 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 pointRequirements
- Node.js >= 14.0.0
- Groq API key
License
MIT © James Jeremy Foong
1.0.0
1 year ago