ollama-git-commit 0.1.0__tar.gz → 0.1.2__tar.gz

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.
Files changed (28) hide show
  1. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/workflows/publish.yml +1 -1
  2. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/PKG-INFO +99 -91
  3. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/README.md +98 -90
  4. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/PKG-INFO +99 -91
  5. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/publish.sh +2 -2
  6. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/pyproject.toml +1 -1
  7. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/setup.py +1 -1
  8. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/FUNDING.yml +0 -0
  9. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  10. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  11. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  12. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.github/workflows/ci.yml +0 -0
  13. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/.gitignore +0 -0
  14. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/CHANGELOG.md +0 -0
  15. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/CONTRIBUTING.md +0 -0
  16. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/DOCUMENTATION.md +0 -0
  17. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/LICENSE +0 -0
  18. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/MANIFEST.in +0 -0
  19. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/PYPI_QUICK_GUIDE.md +0 -0
  20. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ai_commit.py +0 -0
  21. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/install.sh +0 -0
  22. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/SOURCES.txt +0 -0
  23. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/dependency_links.txt +0 -0
  24. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/entry_points.txt +0 -0
  25. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/requires.txt +0 -0
  26. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/ollama_git_commit.egg-info/top_level.txt +0 -0
  27. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/requirements.txt +0 -0
  28. {ollama_git_commit-0.1.0 → ollama_git_commit-0.1.2}/setup.cfg +0 -0
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  environment:
13
13
  name: pypi
14
- url: https://pypi.org/p/ai-commit-cli
14
+ url: https://pypi.org/p/ollama-git-commit
15
15
  permissions:
16
16
  id-token: write
17
17
  steps:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ollama-git-commit
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Generate AI-powered git commit messages using local Ollama
5
5
  Home-page: https://github.com/himanshu231204/ai-commit
6
6
  Author: Himanshu Kumar
@@ -32,14 +32,16 @@ Dynamic: home-page
32
32
  Dynamic: license-file
33
33
  Dynamic: requires-python
34
34
 
35
- # 🤖 AI Commit - AI-Powered Git Commit Messages
35
+ # 🤖 Ollama Git Commit - AI-Powered Commit Messages
36
36
 
37
- Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
38
-
39
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
37
+ [![PyPI version](https://badge.fury.io/py/ollama-git-commit.svg)](https://pypi.org/project/ollama-git-commit/)
38
+ [![Downloads](https://pepy.tech/badge/ollama-git-commit)](https://pepy.tech/project/ollama-git-commit)
40
39
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
40
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
41
41
  [![GitHub Stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)](https://github.com/himanshu231204/ai-commit)
42
42
 
43
+ Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
44
+
43
45
  ---
44
46
 
45
47
  ## ✨ Features
@@ -54,9 +56,27 @@ Generate intelligent git commit messages using your local Ollama instance. No AP
54
56
 
55
57
  ---
56
58
 
59
+ ## 📦 Installation
60
+
61
+ ### From PyPI (Recommended)
62
+
63
+ ```bash
64
+ pip install ollama-git-commit
65
+ ```
66
+
67
+ ### From Source
68
+
69
+ ```bash
70
+ git clone https://github.com/himanshu231204/ai-commit.git
71
+ cd ai-commit
72
+ pip install -e .
73
+ ```
74
+
75
+ ---
76
+
57
77
  ## 📋 Prerequisites
58
78
 
59
- Before installing AI Commit, you need:
79
+ Before using Ollama Git Commit, you need:
60
80
 
61
81
  1. **Python 3.8+**
62
82
  ```bash
@@ -82,33 +102,6 @@ Before installing AI Commit, you need:
82
102
 
83
103
  ---
84
104
 
85
- ## 🚀 Installation
86
-
87
- ### Option 1: Install from PyPI (Coming Soon)
88
- ```bash
89
- pip install ai-commit
90
- ```
91
-
92
- ### Option 2: Install from Source
93
- ```bash
94
- # Clone the repository
95
- git clone https://github.com/himanshu231204/ai-commit.git
96
- cd ai-commit
97
-
98
- # Install
99
- pip install -e .
100
- ```
101
-
102
- ### Option 3: Quick Install Script
103
- ```bash
104
- # Clone and run install script
105
- git clone https://github.com/himanshu231204/ai-commit.git
106
- cd ai-commit
107
- bash install.sh
108
- ```
109
-
110
- ---
111
-
112
105
  ## 💡 Usage
113
106
 
114
107
  ### Basic Usage
@@ -142,18 +135,30 @@ git add hello.py
142
135
  ai-commit
143
136
 
144
137
  # Output:
145
- # 🤖 AI Commit Message Tool
146
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
147
- # Generated Commit Message:
148
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
149
- # feat: add hello world script
150
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
151
- #
152
- # Options:
153
- # y - Accept and commit
154
- # r - Regenerate message
155
- # e - Edit message
156
- # n - Cancel
138
+ ╔═══════════════════════════════════════════╗
139
+ ║ 🤖 AI Commit Message Tool ║
140
+ ║ Powered by Local Ollama 🦙 ║
141
+ ╚═══════════════════════════════════════════╝
142
+
143
+ 🔍 Checking Ollama server...
144
+ ✓ Ollama server is running
145
+
146
+ 📊 Changes:
147
+ + 1 lines added
148
+ - 0 lines removed
149
+
150
+ 🤖 Generating commit message...
151
+
152
+ Generated Commit Message:
153
+ ──────────────────────────────────────────────────
154
+ feat: add hello world script
155
+ ──────────────────────────────────────────────────
156
+
157
+ Options:
158
+ y - Accept and commit
159
+ r - Regenerate message
160
+ e - Edit message
161
+ n - Cancel
157
162
  ```
158
163
 
159
164
  ---
@@ -218,51 +223,6 @@ ollama pull phi
218
223
 
219
224
  ---
220
225
 
221
- ## 🛠️ Development
222
-
223
- ### Project Structure
224
-
225
- ```
226
- ai-commit/
227
- ├── ai_commit.py # Main script
228
- ├── setup.py # Installation config
229
- ├── requirements.txt # Dependencies
230
- ├── README.md # This file
231
- ├── LICENSE # MIT License
232
- ├── .gitignore # Git ignore rules
233
- └── examples/ # Example usage
234
- ```
235
-
236
- ### Running Tests
237
-
238
- ```bash
239
- # Install dev dependencies
240
- pip install -e ".[dev]"
241
-
242
- # Run tests (coming soon)
243
- pytest tests/
244
- ```
245
-
246
- ---
247
-
248
- ## 🤝 Contributing
249
-
250
- Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
251
-
252
- ### How to Contribute:
253
-
254
- 1. Fork the repository
255
- 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
256
- 3. Make your changes
257
- 4. Run tests (when available)
258
- 5. Commit using ai-commit! 😄
259
- 6. Push to your branch (`git push origin feature/amazing-feature`)
260
- 7. Open a Pull Request
261
-
262
- See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
263
-
264
- ---
265
-
266
226
  ## 📝 Examples
267
227
 
268
228
  ### Example 1: Adding a New Feature
@@ -316,6 +276,24 @@ Solution: Pull the model with `ollama pull llama2`
316
276
 
317
277
  ---
318
278
 
279
+ ## 🤝 Contributing
280
+
281
+ Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
282
+
283
+ ### How to Contribute:
284
+
285
+ 1. Fork the repository
286
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
287
+ 3. Make your changes
288
+ 4. Run tests (when available)
289
+ 5. Commit using ai-commit! 😄
290
+ 6. Push to your branch (`git push origin feature/amazing-feature`)
291
+ 7. Open a Pull Request
292
+
293
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
294
+
295
+ ---
296
+
319
297
  ## 📄 License
320
298
 
321
299
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -333,6 +311,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
333
311
 
334
312
  ## 🗺️ Roadmap
335
313
 
314
+ - [x] Initial release on PyPI
336
315
  - [ ] Configuration file support (`.ai-commit.yml`)
337
316
  - [ ] More commit message formats
338
317
  - [ ] Interactive model selection
@@ -377,18 +356,47 @@ If you find this project helpful, please consider:
377
356
  ![GitHub stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)
378
357
  ![GitHub forks](https://img.shields.io/github/forks/himanshu231204/ai-commit?style=social)
379
358
  ![GitHub watchers](https://img.shields.io/github/watchers/himanshu231204/ai-commit?style=social)
359
+ ![PyPI downloads](https://img.shields.io/pypi/dm/ollama-git-commit)
380
360
 
381
361
  ---
382
362
 
383
363
  ## 🔗 Links
384
364
 
365
+ - **PyPI Package**: https://pypi.org/project/ollama-git-commit/
385
366
  - **Documentation**: [GitHub Wiki](https://github.com/himanshu231204/ai-commit/wiki)
386
367
  - **Issues**: [GitHub Issues](https://github.com/himanshu231204/ai-commit/issues)
387
368
  - **Discussions**: [GitHub Discussions](https://github.com/himanshu231204/ai-commit/discussions)
388
369
  - **Releases**: [GitHub Releases](https://github.com/himanshu231204/ai-commit/releases)
370
+ - **Changelog**: [CHANGELOG.md](CHANGELOG.md)
371
+
372
+ ---
373
+
374
+ ## 🌟 Star History
375
+
376
+ [![Star History Chart](https://api.star-history.com/svg?repos=himanshu231204/ai-commit&type=Date)](https://star-history.com/#himanshu231204/ai-commit&Date)
377
+
378
+ ---
379
+
380
+ ## 📣 Show Your Support
381
+
382
+ Give a ⭐️ if this project helped you!
389
383
 
390
384
  ---
391
385
 
392
386
  **Made with ❤️ by [Himanshu Kumar](https://github.com/himanshu231204)**
393
387
 
394
- ⭐ **Star this repo if you find it useful!** ⭐
388
+ ---
389
+
390
+ ## 🚀 Quick Links
391
+
392
+ | Resource | Link |
393
+ |----------|------|
394
+ | 📦 **Install** | `pip install ollama-git-commit` |
395
+ | 📖 **Docs** | [GitHub](https://github.com/himanshu231204/ai-commit) |
396
+ | 🐛 **Issues** | [Report Bug](https://github.com/himanshu231204/ai-commit/issues/new?template=bug_report.md) |
397
+ | 💡 **Feature Request** | [Request Feature](https://github.com/himanshu231204/ai-commit/issues/new?template=feature_request.md) |
398
+ | 💬 **Discussions** | [Join Discussion](https://github.com/himanshu231204/ai-commit/discussions) |
399
+ | ⭐ **Star** | [Star on GitHub](https://github.com/himanshu231204/ai-commit) |
400
+
401
+ ---
402
+
@@ -1,11 +1,13 @@
1
- # 🤖 AI Commit - AI-Powered Git Commit Messages
1
+ # 🤖 Ollama Git Commit - AI-Powered Commit Messages
2
2
 
3
- Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
4
-
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
+ [![PyPI version](https://badge.fury.io/py/ollama-git-commit.svg)](https://pypi.org/project/ollama-git-commit/)
4
+ [![Downloads](https://pepy.tech/badge/ollama-git-commit)](https://pepy.tech/project/ollama-git-commit)
6
5
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
  [![GitHub Stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)](https://github.com/himanshu231204/ai-commit)
8
8
 
9
+ Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
10
+
9
11
  ---
10
12
 
11
13
  ## ✨ Features
@@ -20,9 +22,27 @@ Generate intelligent git commit messages using your local Ollama instance. No AP
20
22
 
21
23
  ---
22
24
 
25
+ ## 📦 Installation
26
+
27
+ ### From PyPI (Recommended)
28
+
29
+ ```bash
30
+ pip install ollama-git-commit
31
+ ```
32
+
33
+ ### From Source
34
+
35
+ ```bash
36
+ git clone https://github.com/himanshu231204/ai-commit.git
37
+ cd ai-commit
38
+ pip install -e .
39
+ ```
40
+
41
+ ---
42
+
23
43
  ## 📋 Prerequisites
24
44
 
25
- Before installing AI Commit, you need:
45
+ Before using Ollama Git Commit, you need:
26
46
 
27
47
  1. **Python 3.8+**
28
48
  ```bash
@@ -48,33 +68,6 @@ Before installing AI Commit, you need:
48
68
 
49
69
  ---
50
70
 
51
- ## 🚀 Installation
52
-
53
- ### Option 1: Install from PyPI (Coming Soon)
54
- ```bash
55
- pip install ai-commit
56
- ```
57
-
58
- ### Option 2: Install from Source
59
- ```bash
60
- # Clone the repository
61
- git clone https://github.com/himanshu231204/ai-commit.git
62
- cd ai-commit
63
-
64
- # Install
65
- pip install -e .
66
- ```
67
-
68
- ### Option 3: Quick Install Script
69
- ```bash
70
- # Clone and run install script
71
- git clone https://github.com/himanshu231204/ai-commit.git
72
- cd ai-commit
73
- bash install.sh
74
- ```
75
-
76
- ---
77
-
78
71
  ## 💡 Usage
79
72
 
80
73
  ### Basic Usage
@@ -108,18 +101,30 @@ git add hello.py
108
101
  ai-commit
109
102
 
110
103
  # Output:
111
- # 🤖 AI Commit Message Tool
112
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
113
- # Generated Commit Message:
114
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
115
- # feat: add hello world script
116
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
117
- #
118
- # Options:
119
- # y - Accept and commit
120
- # r - Regenerate message
121
- # e - Edit message
122
- # n - Cancel
104
+ ╔═══════════════════════════════════════════╗
105
+ ║ 🤖 AI Commit Message Tool ║
106
+ ║ Powered by Local Ollama 🦙 ║
107
+ ╚═══════════════════════════════════════════╝
108
+
109
+ 🔍 Checking Ollama server...
110
+ ✓ Ollama server is running
111
+
112
+ 📊 Changes:
113
+ + 1 lines added
114
+ - 0 lines removed
115
+
116
+ 🤖 Generating commit message...
117
+
118
+ Generated Commit Message:
119
+ ──────────────────────────────────────────────────
120
+ feat: add hello world script
121
+ ──────────────────────────────────────────────────
122
+
123
+ Options:
124
+ y - Accept and commit
125
+ r - Regenerate message
126
+ e - Edit message
127
+ n - Cancel
123
128
  ```
124
129
 
125
130
  ---
@@ -184,51 +189,6 @@ ollama pull phi
184
189
 
185
190
  ---
186
191
 
187
- ## 🛠️ Development
188
-
189
- ### Project Structure
190
-
191
- ```
192
- ai-commit/
193
- ├── ai_commit.py # Main script
194
- ├── setup.py # Installation config
195
- ├── requirements.txt # Dependencies
196
- ├── README.md # This file
197
- ├── LICENSE # MIT License
198
- ├── .gitignore # Git ignore rules
199
- └── examples/ # Example usage
200
- ```
201
-
202
- ### Running Tests
203
-
204
- ```bash
205
- # Install dev dependencies
206
- pip install -e ".[dev]"
207
-
208
- # Run tests (coming soon)
209
- pytest tests/
210
- ```
211
-
212
- ---
213
-
214
- ## 🤝 Contributing
215
-
216
- Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
217
-
218
- ### How to Contribute:
219
-
220
- 1. Fork the repository
221
- 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
222
- 3. Make your changes
223
- 4. Run tests (when available)
224
- 5. Commit using ai-commit! 😄
225
- 6. Push to your branch (`git push origin feature/amazing-feature`)
226
- 7. Open a Pull Request
227
-
228
- See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
229
-
230
- ---
231
-
232
192
  ## 📝 Examples
233
193
 
234
194
  ### Example 1: Adding a New Feature
@@ -282,6 +242,24 @@ Solution: Pull the model with `ollama pull llama2`
282
242
 
283
243
  ---
284
244
 
245
+ ## 🤝 Contributing
246
+
247
+ Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
248
+
249
+ ### How to Contribute:
250
+
251
+ 1. Fork the repository
252
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
253
+ 3. Make your changes
254
+ 4. Run tests (when available)
255
+ 5. Commit using ai-commit! 😄
256
+ 6. Push to your branch (`git push origin feature/amazing-feature`)
257
+ 7. Open a Pull Request
258
+
259
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
260
+
261
+ ---
262
+
285
263
  ## 📄 License
286
264
 
287
265
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -299,6 +277,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
299
277
 
300
278
  ## 🗺️ Roadmap
301
279
 
280
+ - [x] Initial release on PyPI
302
281
  - [ ] Configuration file support (`.ai-commit.yml`)
303
282
  - [ ] More commit message formats
304
283
  - [ ] Interactive model selection
@@ -343,18 +322,47 @@ If you find this project helpful, please consider:
343
322
  ![GitHub stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)
344
323
  ![GitHub forks](https://img.shields.io/github/forks/himanshu231204/ai-commit?style=social)
345
324
  ![GitHub watchers](https://img.shields.io/github/watchers/himanshu231204/ai-commit?style=social)
325
+ ![PyPI downloads](https://img.shields.io/pypi/dm/ollama-git-commit)
346
326
 
347
327
  ---
348
328
 
349
329
  ## 🔗 Links
350
330
 
331
+ - **PyPI Package**: https://pypi.org/project/ollama-git-commit/
351
332
  - **Documentation**: [GitHub Wiki](https://github.com/himanshu231204/ai-commit/wiki)
352
333
  - **Issues**: [GitHub Issues](https://github.com/himanshu231204/ai-commit/issues)
353
334
  - **Discussions**: [GitHub Discussions](https://github.com/himanshu231204/ai-commit/discussions)
354
335
  - **Releases**: [GitHub Releases](https://github.com/himanshu231204/ai-commit/releases)
336
+ - **Changelog**: [CHANGELOG.md](CHANGELOG.md)
337
+
338
+ ---
339
+
340
+ ## 🌟 Star History
341
+
342
+ [![Star History Chart](https://api.star-history.com/svg?repos=himanshu231204/ai-commit&type=Date)](https://star-history.com/#himanshu231204/ai-commit&Date)
343
+
344
+ ---
345
+
346
+ ## 📣 Show Your Support
347
+
348
+ Give a ⭐️ if this project helped you!
355
349
 
356
350
  ---
357
351
 
358
352
  **Made with ❤️ by [Himanshu Kumar](https://github.com/himanshu231204)**
359
353
 
360
- ⭐ **Star this repo if you find it useful!** ⭐
354
+ ---
355
+
356
+ ## 🚀 Quick Links
357
+
358
+ | Resource | Link |
359
+ |----------|------|
360
+ | 📦 **Install** | `pip install ollama-git-commit` |
361
+ | 📖 **Docs** | [GitHub](https://github.com/himanshu231204/ai-commit) |
362
+ | 🐛 **Issues** | [Report Bug](https://github.com/himanshu231204/ai-commit/issues/new?template=bug_report.md) |
363
+ | 💡 **Feature Request** | [Request Feature](https://github.com/himanshu231204/ai-commit/issues/new?template=feature_request.md) |
364
+ | 💬 **Discussions** | [Join Discussion](https://github.com/himanshu231204/ai-commit/discussions) |
365
+ | ⭐ **Star** | [Star on GitHub](https://github.com/himanshu231204/ai-commit) |
366
+
367
+ ---
368
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ollama-git-commit
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Generate AI-powered git commit messages using local Ollama
5
5
  Home-page: https://github.com/himanshu231204/ai-commit
6
6
  Author: Himanshu Kumar
@@ -32,14 +32,16 @@ Dynamic: home-page
32
32
  Dynamic: license-file
33
33
  Dynamic: requires-python
34
34
 
35
- # 🤖 AI Commit - AI-Powered Git Commit Messages
35
+ # 🤖 Ollama Git Commit - AI-Powered Commit Messages
36
36
 
37
- Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
38
-
39
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
37
+ [![PyPI version](https://badge.fury.io/py/ollama-git-commit.svg)](https://pypi.org/project/ollama-git-commit/)
38
+ [![Downloads](https://pepy.tech/badge/ollama-git-commit)](https://pepy.tech/project/ollama-git-commit)
40
39
  [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
40
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
41
41
  [![GitHub Stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)](https://github.com/himanshu231204/ai-commit)
42
42
 
43
+ Generate intelligent git commit messages using your local Ollama instance. No API keys, completely free, and runs offline!
44
+
43
45
  ---
44
46
 
45
47
  ## ✨ Features
@@ -54,9 +56,27 @@ Generate intelligent git commit messages using your local Ollama instance. No AP
54
56
 
55
57
  ---
56
58
 
59
+ ## 📦 Installation
60
+
61
+ ### From PyPI (Recommended)
62
+
63
+ ```bash
64
+ pip install ollama-git-commit
65
+ ```
66
+
67
+ ### From Source
68
+
69
+ ```bash
70
+ git clone https://github.com/himanshu231204/ai-commit.git
71
+ cd ai-commit
72
+ pip install -e .
73
+ ```
74
+
75
+ ---
76
+
57
77
  ## 📋 Prerequisites
58
78
 
59
- Before installing AI Commit, you need:
79
+ Before using Ollama Git Commit, you need:
60
80
 
61
81
  1. **Python 3.8+**
62
82
  ```bash
@@ -82,33 +102,6 @@ Before installing AI Commit, you need:
82
102
 
83
103
  ---
84
104
 
85
- ## 🚀 Installation
86
-
87
- ### Option 1: Install from PyPI (Coming Soon)
88
- ```bash
89
- pip install ai-commit
90
- ```
91
-
92
- ### Option 2: Install from Source
93
- ```bash
94
- # Clone the repository
95
- git clone https://github.com/himanshu231204/ai-commit.git
96
- cd ai-commit
97
-
98
- # Install
99
- pip install -e .
100
- ```
101
-
102
- ### Option 3: Quick Install Script
103
- ```bash
104
- # Clone and run install script
105
- git clone https://github.com/himanshu231204/ai-commit.git
106
- cd ai-commit
107
- bash install.sh
108
- ```
109
-
110
- ---
111
-
112
105
  ## 💡 Usage
113
106
 
114
107
  ### Basic Usage
@@ -142,18 +135,30 @@ git add hello.py
142
135
  ai-commit
143
136
 
144
137
  # Output:
145
- # 🤖 AI Commit Message Tool
146
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
147
- # Generated Commit Message:
148
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
149
- # feat: add hello world script
150
- # ━━━━━━━━━━━━━━━━━━━━━━━━━━━
151
- #
152
- # Options:
153
- # y - Accept and commit
154
- # r - Regenerate message
155
- # e - Edit message
156
- # n - Cancel
138
+ ╔═══════════════════════════════════════════╗
139
+ ║ 🤖 AI Commit Message Tool ║
140
+ ║ Powered by Local Ollama 🦙 ║
141
+ ╚═══════════════════════════════════════════╝
142
+
143
+ 🔍 Checking Ollama server...
144
+ ✓ Ollama server is running
145
+
146
+ 📊 Changes:
147
+ + 1 lines added
148
+ - 0 lines removed
149
+
150
+ 🤖 Generating commit message...
151
+
152
+ Generated Commit Message:
153
+ ──────────────────────────────────────────────────
154
+ feat: add hello world script
155
+ ──────────────────────────────────────────────────
156
+
157
+ Options:
158
+ y - Accept and commit
159
+ r - Regenerate message
160
+ e - Edit message
161
+ n - Cancel
157
162
  ```
158
163
 
159
164
  ---
@@ -218,51 +223,6 @@ ollama pull phi
218
223
 
219
224
  ---
220
225
 
221
- ## 🛠️ Development
222
-
223
- ### Project Structure
224
-
225
- ```
226
- ai-commit/
227
- ├── ai_commit.py # Main script
228
- ├── setup.py # Installation config
229
- ├── requirements.txt # Dependencies
230
- ├── README.md # This file
231
- ├── LICENSE # MIT License
232
- ├── .gitignore # Git ignore rules
233
- └── examples/ # Example usage
234
- ```
235
-
236
- ### Running Tests
237
-
238
- ```bash
239
- # Install dev dependencies
240
- pip install -e ".[dev]"
241
-
242
- # Run tests (coming soon)
243
- pytest tests/
244
- ```
245
-
246
- ---
247
-
248
- ## 🤝 Contributing
249
-
250
- Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
251
-
252
- ### How to Contribute:
253
-
254
- 1. Fork the repository
255
- 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
256
- 3. Make your changes
257
- 4. Run tests (when available)
258
- 5. Commit using ai-commit! 😄
259
- 6. Push to your branch (`git push origin feature/amazing-feature`)
260
- 7. Open a Pull Request
261
-
262
- See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
263
-
264
- ---
265
-
266
226
  ## 📝 Examples
267
227
 
268
228
  ### Example 1: Adding a New Feature
@@ -316,6 +276,24 @@ Solution: Pull the model with `ollama pull llama2`
316
276
 
317
277
  ---
318
278
 
279
+ ## 🤝 Contributing
280
+
281
+ Contributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.
282
+
283
+ ### How to Contribute:
284
+
285
+ 1. Fork the repository
286
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
287
+ 3. Make your changes
288
+ 4. Run tests (when available)
289
+ 5. Commit using ai-commit! 😄
290
+ 6. Push to your branch (`git push origin feature/amazing-feature`)
291
+ 7. Open a Pull Request
292
+
293
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
294
+
295
+ ---
296
+
319
297
  ## 📄 License
320
298
 
321
299
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -333,6 +311,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
333
311
 
334
312
  ## 🗺️ Roadmap
335
313
 
314
+ - [x] Initial release on PyPI
336
315
  - [ ] Configuration file support (`.ai-commit.yml`)
337
316
  - [ ] More commit message formats
338
317
  - [ ] Interactive model selection
@@ -377,18 +356,47 @@ If you find this project helpful, please consider:
377
356
  ![GitHub stars](https://img.shields.io/github/stars/himanshu231204/ai-commit?style=social)
378
357
  ![GitHub forks](https://img.shields.io/github/forks/himanshu231204/ai-commit?style=social)
379
358
  ![GitHub watchers](https://img.shields.io/github/watchers/himanshu231204/ai-commit?style=social)
359
+ ![PyPI downloads](https://img.shields.io/pypi/dm/ollama-git-commit)
380
360
 
381
361
  ---
382
362
 
383
363
  ## 🔗 Links
384
364
 
365
+ - **PyPI Package**: https://pypi.org/project/ollama-git-commit/
385
366
  - **Documentation**: [GitHub Wiki](https://github.com/himanshu231204/ai-commit/wiki)
386
367
  - **Issues**: [GitHub Issues](https://github.com/himanshu231204/ai-commit/issues)
387
368
  - **Discussions**: [GitHub Discussions](https://github.com/himanshu231204/ai-commit/discussions)
388
369
  - **Releases**: [GitHub Releases](https://github.com/himanshu231204/ai-commit/releases)
370
+ - **Changelog**: [CHANGELOG.md](CHANGELOG.md)
371
+
372
+ ---
373
+
374
+ ## 🌟 Star History
375
+
376
+ [![Star History Chart](https://api.star-history.com/svg?repos=himanshu231204/ai-commit&type=Date)](https://star-history.com/#himanshu231204/ai-commit&Date)
377
+
378
+ ---
379
+
380
+ ## 📣 Show Your Support
381
+
382
+ Give a ⭐️ if this project helped you!
389
383
 
390
384
  ---
391
385
 
392
386
  **Made with ❤️ by [Himanshu Kumar](https://github.com/himanshu231204)**
393
387
 
394
- ⭐ **Star this repo if you find it useful!** ⭐
388
+ ---
389
+
390
+ ## 🚀 Quick Links
391
+
392
+ | Resource | Link |
393
+ |----------|------|
394
+ | 📦 **Install** | `pip install ollama-git-commit` |
395
+ | 📖 **Docs** | [GitHub](https://github.com/himanshu231204/ai-commit) |
396
+ | 🐛 **Issues** | [Report Bug](https://github.com/himanshu231204/ai-commit/issues/new?template=bug_report.md) |
397
+ | 💡 **Feature Request** | [Request Feature](https://github.com/himanshu231204/ai-commit/issues/new?template=feature_request.md) |
398
+ | 💬 **Discussions** | [Join Discussion](https://github.com/himanshu231204/ai-commit/discussions) |
399
+ | ⭐ **Star** | [Star on GitHub](https://github.com/himanshu231204/ai-commit) |
400
+
401
+ ---
402
+
@@ -32,12 +32,12 @@ read -p "Choice [1-2]: " choice
32
32
  if [ "$choice" == "1" ]; then
33
33
  echo "📤 Uploading to TestPyPI..."
34
34
  twine upload -r testpypi dist/*
35
- echo "✅ Test with: pip install --index-url https://test.pypi.org/simple/ ai-commit-cli"
35
+ echo "✅ Test with: pip install --index-url https://test.pypi.org/simple/ ollama-git-commit"
36
36
  elif [ "$choice" == "2" ]; then
37
37
  echo "⚠️ Uploading to PRODUCTION PyPI!"
38
38
  read -p "Confirm (yes/no): " confirm
39
39
  if [ "$confirm" == "yes" ]; then
40
40
  twine upload dist/*
41
- echo "✅ Done! Install with: pip install ai-commit-cli"
41
+ echo "✅ Done! Install with: pip install ollama-git-commit"
42
42
  fi
43
43
  fi
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ollama-git-commit"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Generate AI-powered git commit messages using local Ollama"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -8,7 +8,7 @@ with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
8
8
 
9
9
  setup(
10
10
  name="ollama-git-commit",
11
- version="0.1.0",
11
+ version="0.1.2",
12
12
  author="Himanshu Kumar",
13
13
  author_email="himanshu231204@gmail.com",
14
14
  description="Generate AI-powered git commit messages using local Ollama",