🚀 GitGenius

AI-Powered Commit Message Generator

v1.0.3 Latest Version
TypeScript Built with
MIT License

What is GitGenius? 🤔

GitGenius is a comprehensive TypeScript npm CLI package that revolutionizes how developers write commit messages. Using advanced AI technology from OpenAI and Google Gemini, it generates intelligent, contextual commit messages that follow conventional commit standards.

📦 View on NPM

🚀 Quick Installation

Get started in seconds with a global installation:

$ npm install -g @dharshansr/gitgenius

Then use either command:

$ gitgenius
$ gg # Short alias

✨ What Can GitGenius Do?

🤖

AI-Powered Messages

Generate intelligent commit messages using OpenAI GPT or Google Gemini based on your git changes

🔧

Interactive Editing

Built-in editor to customize generated messages before committing

🌿

Branch Management

Interactive branch switching and management with clipboard integration

📊

Git Statistics

Comprehensive analytics and insights about your commit history

Multiple Commit Types

Support for conventional commits: feat, fix, docs, style, refactor, test, and more

📋

Clipboard Integration

Copy generated messages to clipboard for use anywhere

🎯 See GitGenius in Action

$ gitgenius -t feat -a
🤖 Analyzing your changes...
📝 Generated commit message:
feat: implement user authentication with JWT tokens
✅ Committed successfully!
$ gg stats --days 7
📊 Git Statistics (Last 7 days)
Total Commits: 15
Files Changed: 42
Most Active Day: Monday (6 commits)

🛠️ Key Features

🔑 Configuration

Set up your AI provider:

$ gitgenius config provider openai
$ gitgenius config provider gemini

Add your API key:

$ export OPENAI_API_KEY="your-api-key"
$ export GEMINI_API_KEY="your-api-key"

Ready to Transform Your Git Workflow? 🚀

Install GitGenius View Source Code Documentation