FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

koki-develop/git-aicommit: 🤖 Generate commit messages using AI. · GitHub

This repository was archived by the owner on Apr 19, 2026. It is now read-only.
/ git-aicommit Public archive

Repository files navigation

git-aicommit

Generate commit messages using AI.

Supported Providers

Installation

$ pip install git+https://github.com/koki-develop/git-aicommit.git

Usage

Setup

You can create a configuration file template using the init command:

$ git aicommit init

This will create an aicommit.yml file in the current directory with examples for all supported providers.

Alternatively, you can manually place a configuration file in your repository or any parent directory. Supported file names:

  • aicommit.yml
  • aicommit.yaml
  • .aicommit.yml
  • .aicommit.yaml

Using Amazon Bedrock

# aicommit.yml
provider: aws-bedrock
aws-bedrock:
  model: "<model>" # Required (e.g. "us.anthropic.claude-sonnet-4-20250514-v1:0")
  region: "<region>" # Required (e.g. "us-west-2", "us-east-1")
  temperature: 0.0 # Optional (default: 0.0)

Configure AWS credentials via environment variables:

export AWS_ACCESS_KEY_ID="<your-access-key>"
export AWS_SECRET_ACCESS_KEY="<your-secret-key>"
export AWS_SESSION_TOKEN="<your-session-token>" # Optional, for temporary credentials

Using Anthropic

# aicommit.yml
provider: anthropic
anthropic:
  model: "<model>" # Required (e.g. "claude-haiku-4-5-20251001", "claude-sonnet-4-5-20250929")
  api-key: "<api-key>" # Required
  temperature: 0.0 # Optional (default: 0.0)

Using Google GenAI

# aicommit.yml
provider: google-genai
google-genai:
  model: "<model>" # Required (e.g. "gemini-2.5-flash", "gemini-2.5-pro")
  api-key: "<api-key>" # Required
  temperature: 0.0 # Optional (default: 0.0)

Using Ollama

# aicommit.yml
provider: ollama
ollama:
  model: "<model>" # Required
  base-url: "http://localhost:11434" # Optional (default: http://localhost:11434)
  temperature: 0.0 # Optional (default: 0.0)

Using OpenAI

# aicommit.yml
provider: openai
openai:
  model: "<model>" # Required (e.g. "gpt-5", "gpt-4.1")
  api-key: "<api-key>" # Required
  temperature: 0.0 # Optional (default: 0.0)

Generate a Commit Message

Run git aicommit in your git repository to generate a commit message using AI:

$ git aicommit

License

MIT

About

🤖 Generate commit messages using AI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL