Gathering detailed insights and metrics for git-meld
Gathering detailed insights and metrics for git-meld
Transform your quick commit messages into detailed, AI-powered git commits! ✨
npm install git-meld
Typescript
Module System
Min. Node Version
Node Version
NPM Version
66.9
Supply Chain
97.1
Quality
85.9
Maintenance
100
Vulnerability
98.9
License
JavaScript (78.68%)
TypeScript (21.32%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
280
Last Day
2
Last Week
6
Last Month
280
Last Year
280
18 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 04, 2025
Latest Version
0.4.0
Package Id
git-meld@0.4.0
Unpacked Size
25.24 kB
Size
6.09 kB
File Count
8
NPM Version
10.9.0
Node Version
22.11.0
Published on
Feb 04, 2025
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
-80.6%
6
Compared to previous week
Last Month
0%
280
Compared to previous month
Last Year
0%
280
Compared to previous year
3
Enhance your git commits with AI-powered commit messages!
git-meld
is a CLI tool that uses AI to analyze your changes and generate meaningful, detailed commit messages. It's like having a helpful co-pilot for your git commits! 🚀
git commit
with meld
.meld
file1npm install -g git-meld
On first run, git-meld will ask for your OpenRouter API key:
1meld 2# Follow the prompt to enter your OpenRouter API key
Get your API key from OpenRouter. Your API key will be stored securely in your system's keychain.
By default, git-meld uses the openai/o1-mini-2024-09-12
model, but you can easily switch to any other model available on OpenRouter.
1git add . # or git add <specific-files>
git commit
, use:1meld "brief description"
The tool will analyze your changes and generate a detailed, meaningful commit message!
meld "your message"
- Create an enhanced commit messagemeld --dry "message"
- Preview the commit message without committingmeld --choose-model
- Select an AI model from available modelsmeld --set-model "model-id"
- Set model ID directly (e.g., "anthropic/claude-2")meld --reset-key
- Reset the stored API key and model choicemeld --help
- Show help informationYou can choose from any model available on OpenRouter:
1# Interactive model selection 2meld --choose-model 3 4# Direct model setting 5meld --set-model "anthropic/claude-2"
You can create a .meld
file in your repository root to provide additional instructions for commit message generation. These instructions will be included every time a commit message is generated.
Example .meld
file:
Follow conventional commits format (feat, fix, docs, etc)
Include ticket number from Jira (e.g., PROJ-123)
Keep subject line under 72 characters
The contents of this file will be added to the AI prompt, helping to maintain consistent commit message style across your project.
1$ git add feature.ts 2$ meld "add user auth" 3 4# Generated commit message might look like: 5✨ feat(auth): Implement user authentication system 6 7- Add JWT token validation middleware 8- Create secure password hashing functionality 9- Implement session management
"Meld" is a Dutch word meaning "report" or "announce". This tool helps you announce your changes in a more meaningful way, ensuring your git history is clear and informative.
Your API key is stored securely in your system's keychain, not in plain text files.
MIT © 2024
Found a bug? Please open an issue!
No vulnerabilities found.
No security vulnerabilities found.