JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q54475F
  • License MIT

AI-powered Git commit assistant using Gemini

Package Exports

  • git-commit-assistant
  • git-commit-assistant/bin/git-commit-assistant

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 (git-commit-assistant) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Git Commit Assistant

AI-powered Git commit assistant that helps you write better commit messages using Google's Gemini AI.

Features

  • 🤖 AI-powered commit message suggestions
  • 📝 Conventional commits format with emojis
  • 🔍 Smart analysis of your changes
  • 🎨 Beautiful CLI interface
  • 🔒 Protected branch validation
  • 🚀 Optional automatic push

Python Environment Setup

Create a virtual environment

python3 -m venv venv

Activate the environment

For Unix/macOS:

source venv/bin/activate

For Windows:

.\venv\Scripts\activate

Installation

npm install -g git-commit-assistant

Via Python (Alternative)

pip3 install git-commit-assistant

Setup

  1. Get your Gemini API key from Google AI Studio
  2. Set your API key:
export GEMINI_API_KEY='your-api-key'

Usage

Instead of git commit, use:

git-commit-assistant

With options:

git-commit-assistant -a  # Stage all changes
git-commit-assistant -p  # Push after commit
git-commit-assistant -f  # Skip confirmations

Requirements

  • Python 3.6+
  • Node.js 14+ (for NPM installation)
  • Git

License

MIT

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.