JSPM

yt-commit

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

    AI-powered git commit message generator using Groq

    Package Exports

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

    Readme

    yt-commit

    AI-powered git commit message generator. Reads your staged changes and uses Groq's AI to write a clear, meaningful commit message — then commits for you.

    Installation

    npm install -g yt-commit

    Setup

    You'll need a free Groq API key from console.groq.com.

    Once you have your key, set it:

    yt-commit config --set-key YOUR_GROQ_API_KEY

    This is saved locally on your machine and only needs to be done once.

    Usage

    Stage your changes as usual:

    git add .

    Then run:

    yt-commit

    The tool will:

    1. Read your staged diff
    2. Send it to Groq's AI to generate a commit message
    3. Show you the suggested message
    4. Ask for confirmation before committing

    Options

    Flag Description
    -d, --dry-run Show the suggested commit message without committing
    -y, --auto-confirm Commit immediately without asking for confirmation

    Example

    git add .
    yt-commit --dry-run

    License

    MIT