JSPM

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

AI-powered git commit message suggester using Ollama + tinyllama

Package Exports

  • git-commit-at
  • git-commit-at/index.js

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-at) 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-at

AI-powered git commit message suggester using Ollama + tinyllama.

Features

  • Suggests conventional commit messages based on staged git changes
  • Uses Ollama with the qwen2.5-coder:1.5b model for high-quality suggestions
  • Interactive CLI with message selection
  • Docker and Docker Compose support for easy setup

Requirements

Contribution

  1. Clone this repository:

    git clone <repo-url>
    cd git-commit-at
  2. Install dependencies:

    npm install
  3. (Optional) Build the Docker image:

    docker compose build
  4. You can Raise Pr and Make changes

Usage

  1. Run the tool, Just one Step of installing the tool:

    npm i -g git-commit-at
  2. Stage your changes:

    git add .
  3. To run the commmit

git commit-at

How it works

  • Reads staged changes using git diff --cached
  • Parses the diff and sends it to Ollama for commit message suggestions
  • Prompts you to select and confirm a message before committing

Development

License

MIT