@ahmad_technology/gitcommit-ai 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +15 -23
- package/bin/gitcommit.cjs +2 -0
- package/package.json +3 -3
- package/bin/gitcommit.js +0 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AhmadTchnology
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# 🧠 gitcommit — AI Commit Message Generator
|
|
2
2
|
|
|
3
|
-
[](https://opensource.org/licenses/MIT)
|
|
3
|
+
[](https://www.npmjs.com/package/@ahmad_technology/gitcommit-ai)
|
|
4
|
+
[](./LICENSE)
|
|
6
5
|
|
|
7
6
|
> Generate meaningful, conventional git commit messages using AI — from your terminal.
|
|
8
7
|
|
|
@@ -24,21 +23,10 @@
|
|
|
24
23
|
|
|
25
24
|
```bash
|
|
26
25
|
# npm (recommended)
|
|
27
|
-
npm install -g gitcommit-ai
|
|
26
|
+
npm install -g @ahmad_technology/gitcommit-ai
|
|
28
27
|
|
|
29
28
|
# Or run directly
|
|
30
|
-
npx gitcommit-ai
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Other methods
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
# Homebrew (macOS/Linux)
|
|
37
|
-
brew install AhmadTchnology/tap/gitcommit
|
|
38
|
-
|
|
39
|
-
# Direct binary (no runtime needed)
|
|
40
|
-
curl -L https://github.com/AhmadTchnology/Ai_Commit_Message_Generator/releases/latest/download/gitcommit-linux -o /usr/local/bin/gitcommit
|
|
41
|
-
chmod +x /usr/local/bin/gitcommit
|
|
29
|
+
npx @ahmad_technology/gitcommit-ai
|
|
42
30
|
```
|
|
43
31
|
|
|
44
32
|
---
|
|
@@ -134,14 +122,14 @@ model = "llama3"
|
|
|
134
122
|
|
|
135
123
|
## 🤖 Supported Providers
|
|
136
124
|
|
|
137
|
-
| Provider |
|
|
125
|
+
| Provider | Config Key | Notes |
|
|
138
126
|
|---|---|---|
|
|
139
|
-
| **OpenAI** | `
|
|
140
|
-
| **Anthropic** | `
|
|
141
|
-
| **Google Gemini** | `
|
|
142
|
-
| **Groq** | `
|
|
143
|
-
| **NVIDIA NIM** | `
|
|
144
|
-
| **OpenRouter** | `
|
|
127
|
+
| **OpenAI** | `openai.api_key` | GPT-4o, GPT-4-turbo |
|
|
128
|
+
| **Anthropic** | `anthropic.api_key` | Claude 3.5 Sonnet+ |
|
|
129
|
+
| **Google Gemini** | `gemini.api_key` | gemini-2.0-flash |
|
|
130
|
+
| **Groq** | `groq.api_key` | Llama 3.3, ultra-fast |
|
|
131
|
+
| **NVIDIA NIM** | `nim.api_key` | OpenAI-compatible |
|
|
132
|
+
| **OpenRouter** | `openrouter.api_key` | 100+ models |
|
|
145
133
|
| **Ollama** | None | Fully offline |
|
|
146
134
|
|
|
147
135
|
---
|
|
@@ -169,3 +157,7 @@ npm run build
|
|
|
169
157
|
## 📄 License
|
|
170
158
|
|
|
171
159
|
MIT © [AhmadTchnology](https://github.com/AhmadTchnology)
|
|
160
|
+
|
|
161
|
+
##
|
|
162
|
+
|
|
163
|
+
### Made With ❤️ By AhmadTchnology
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahmad_technology/gitcommit-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "AI-powered git commit message generator following Conventional Commits",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/gitcommit.cjs",
|
|
7
7
|
"bin": {
|
|
8
|
-
"gitcommit": "./bin/gitcommit.
|
|
8
|
+
"gitcommit": "./bin/gitcommit.cjs"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "node esbuild.config.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/AhmadTchnology/Ai_Commit_Message_Generator#readme",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
36
|
+
"node": ">=20.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@iarna/toml": "^2.2.5",
|
package/bin/gitcommit.js
DELETED