Skip to content

Releases: tiw302/ai-commit

Release: v0.1.0-beta.1

23 Mar 04:54

Choose a tag to compare

Overview

This is the first beta release of ai-commit, a universal AI-powered git commit generator. This version introduces core functionalities including multi-provider support, interactive configuration, and seamless git hook integration.

Key Features

  • Multi-provider Support: Integration with OpenAI, Anthropic (Claude), Google Gemini, and Ollama (Local LLMs).
  • Interactive Configuration: A built-in wizard (--configure) for easy setup and provider switching.
  • Git Hook Integration: Automated commit message generation via prepare-commit-msg hook.
  • Smart Diff Handling: Automatic filtering of binary files and lockfiles with intelligent diff truncation.
  • Custom Prompt Modes: Support for different writing styles (e.g., professional, conventional).

Installation

Build from source:

go build -o ai-commit ./cmd/ai-commit

Set up your provider:

./ai-commit --configure

Usage

Standard mode:

git add . && ai-commit

Git hook mode:

ai-commit --install-hook
git commit