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
- Install Git-Whisper globally using npm:
npm install git-whisper -g- Configure Git-Whisper OpenRouter:
gw config set apiKey <your-api-key-here>
gw config set model anthropic/claude-3-5-haikuThis command will create a configuration file at ~/.git-whisper/config.json to store your API key and preferred model settings.
- Use the CLI โค๏ธ
# Generate commit message
gw
# Generate commit message with another LLM
gw --model anthropic/claude-3.5-sonnet
# See the default configuration
gw config view apiKey
gw config view model๐งช Testing Locally
To test Git Whisper locally, follow these steps:
Build the project:
npm run build:watchLink the package globally:
npm link
You can now use the
git-whisperorgwcommand in your terminal.
๐ ๏ธ Tech Stack
- Node.js
- OpenRouter