JSPM

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

A CLI tool for GitHub operations

Package Exports

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

Readme

Git Whisper ๐Ÿค–โœจ

Git Whisper is an intelligent CLI tool that generates meaningful and consistent commit messages using AI. Stop struggling with commit message writing and let AI help you create clear, concise, and conventional commits.

โœจ Features

  • ๐Ÿค– AI-powered commit message generation
  • ๐Ÿ“ Follows conventional commit standards
  • ๐Ÿš€ Simple and intuitive CLI interface
  • ๐Ÿ”„ Analyzes your code changes to provide context-aware messages
  • ๐Ÿ’ก Supports multiple languages and frameworks

๐ŸŽฏ Purpose

Git Whisper aims to streamline the Git workflow by eliminating the cognitive load of writing commit messages. It helps developers maintain a consistent and professional commit history while saving time.

๐Ÿš€ Setting Up Git-Whisper

  1. Install Git-Whisper globally using npm:
npm install git-whisper -g
  1. Configure Git-Whisper OpenRouter:
gw config --apiKey your-api-key-here --model anthropic/claude-3-5-haiku

This command will create a configuration file at ~/.git-whisper/config.json to store your API key and preferred model settings.

  1. Use the CLI โค๏ธ
# Generate commit message
gw generate

# Generate commit message with another LLM
gw --model anthropic/claude-3.5-sonnet generate

๐Ÿงช Testing Locally

To test Git Whisper locally, follow these steps:

  1. Build the project:

    npm run build:watch
  2. Link the package globally:

    npm link
  3. You can now use the git-whisper or gw command in your terminal.

๐Ÿ› ๏ธ Tech Stack

  • Node.js
  • OpenRouter