1.4.0 โ€ข Published 8 months ago

git-whisper v1.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Git Whisper ๐Ÿค–โœจ

Meet Git Whisper, your AI-powered companion for crafting perfect Git commit messages. This intelligent CLI tool eliminates the hassle of writing commit messages by generating clear, conventional, and contextually relevant commits automatically.

โœจ Key Features

  • ๐Ÿค– Smart commit message generation powered by AI
  • ๐Ÿ’ก Flexibility to choose your preferred LLM (GPT-4, Claude, and more)
  • ๐Ÿ“ Full compliance with conventional commit standards
  • ๐Ÿš€ Clean and user-friendly CLI interface
  • ๐Ÿ”„ Intelligent code change analysis for context-aware messaging

๐ŸŽฏ Why Git Whisper?

Git Whisper revolutionizes your Git workflow by automating commit message creation. It helps developers maintain professional commit histories while reducing mental overhead and saving valuable time.

๐Ÿš€ Getting Started

  1. Install globally via npm:
npm install git-whisper -g
  1. Set up with OpenRouter:
# Set your APIKey of OpenRouter
gw config set apikey

# Choose LLM
gw config set model

Your settings will be saved automatically to ~/.git-whisper/config.json.

  1. Start Using Git Whisper โค๏ธ
CommandDescription
gwGenerate and execute commit message
gw --model anthropic/claude-3.5-sonnetUse a specific LLM for message generation
gw --interactive --commit-count 5 --dry-runGenerate 5 commit messages interactively (preview only)
gw --language frenchGenerate commit in french
gw --auto-addAdd all staged changes
gw --auto-pushPush on remote repository
gw config view apiKeyView your current API key configuration
gw config view modelView your current model configuration

๐Ÿงช Local Development

To set up Git Whisper for local testing:

  1. Build the project:

    npm run build:watch
  2. Run the CLI

    node ./dist/index.js

๐Ÿ› ๏ธ Built With

  • Node.js
  • OpenRouter API

๐Ÿ“‹ TODO

Here are some exciting features we're planning to add:

  • ๐ŸŽจ Custom commit message templates
  • ๐Ÿ”„ Git hook integration for automated commits
  • โšก Batch commit processing for multiple changes
1.4.0

8 months ago

1.3.0

8 months ago

1.2.2

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago