{"id":51026751,"url":"https://github.com/gitstq/gitcommit-ai","last_synced_at":"2026-06-21T20:02:18.033Z","repository":{"id":359255671,"uuid":"1245228473","full_name":"gitstq/gitcommit-ai","owner":"gitstq","description":"🤖 AI-powered Git commit message generator with multi-model support","archived":false,"fork":false,"pushed_at":"2026-05-21T03:11:11.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T09:45:08.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitstq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-21T03:09:46.000Z","updated_at":"2026-05-21T03:10:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gitstq/gitcommit-ai","commit_stats":null,"previous_names":["gitstq/gitcommit-ai"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gitstq/gitcommit-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fgitcommit-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fgitcommit-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fgitcommit-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fgitcommit-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitstq","download_url":"https://codeload.github.com/gitstq/gitcommit-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fgitcommit-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34623906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-21T20:02:17.187Z","updated_at":"2026-06-21T20:02:18.025Z","avatar_url":"https://github.com/gitstq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 GitCommit AI\n\n[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n🚀 **AI-powered Git commit message generator** with multi-model support. Automatically generate conventional commit messages from your code changes.\n\nEnglish | [简体中文](#简体中文) | [繁體中文](#繁體中文)\n\n---\n\n## ✨ Features\n\n- 🤖 **Multiple AI Providers** - Support for OpenAI, Claude, Ollama, OpenRouter, DeepSeek\n- 🌍 **Bilingual Support** - Generate commit messages in Chinese or English\n- 📝 **Conventional Commits** - Follows the [Conventional Commits](https://www.conventionalcommits.org/) specification\n- ⚡ **One-Command Operation** - Simple CLI with interactive prompts\n- 🔧 **Highly Configurable** - Customize providers, models, and behavior\n- 🏠 **Local AI Support** - Use Ollama for completely local processing\n- 🎨 **Beautiful Terminal UI** - Rich, colorful output with progress indicators\n\n## 🚀 Quick Start\n\n### Installation\n\n```bash\npip install gitcommit-ai\n```\n\n### Configuration\n\n```bash\n# Initialize configuration\ngitcm init\n\n# Or set environment variables\nexport OPENAI_API_KEY=\"your-api-key\"\n```\n\n### Usage\n\n```bash\n# Stage your changes\ngit add .\n\n# Generate and commit with AI\ngitcm\n\n# Or with options\ngitcm --provider claude --language en --auto\n```\n\n## 📖 Documentation\n\n### Supported Providers\n\n| Provider | Setup | Local |\n|----------|-------|-------|\n| OpenAI | `OPENAI_API_KEY` | ❌ |\n| Claude | `ANTHROPIC_API_KEY` | ❌ |\n| Ollama | Local server | ✅ |\n| OpenRouter | `OPENROUTER_API_KEY` | ❌ |\n| DeepSeek | `DEEPSEEK_API_KEY` | ❌ |\n\n### Commands\n\n```bash\ngitcm                    # Generate commit message\ngitcm config             # Show configuration\ngitcm status             # Show git status\ngitcm init               # Initialize configuration\n```\n\n### Options\n\n```bash\n-p, --provider TEXT      AI provider to use\n-l, --language TEXT      Language (zh/en)\n-a, --auto               Auto-commit without confirmation\n-d, --dry-run            Show message without committing\n--version                Show version\n```\n\n## 💡 Design Philosophy\n\nGitCommit AI aims to:\n- Save developers time writing commit messages\n- Enforce consistent commit message conventions\n- Support multiple AI providers for flexibility\n- Work offline with local AI models\n- Provide a delightful CLI experience\n\n## 📦 Packaging\n\nThis project uses modern Python packaging with `pyproject.toml`.\n\n## 🤝 Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file.\n\n---\n\n# 简体中文\n\n## 🤖 GitCommit AI\n\n🚀 **AI驱动的Git提交消息生成器**，支持多种AI模型。自动根据代码变更生成符合规范的提交消息。\n\n## ✨ 核心特性\n\n- 🤖 **多AI模型支持** - 支持OpenAI、Claude、Ollama、OpenRouter、DeepSeek\n- 🌍 **中英双语** - 支持生成中文或英文提交消息\n- 📝 **约定式提交** - 遵循[Conventional Commits](https://www.conventionalcommits.org/)规范\n- ⚡ **一键操作** - 简单的CLI，带交互式提示\n- 🔧 **高度可配置** - 自定义提供商、模型和行为\n- 🏠 **本地AI支持** - 使用Ollama实现完全本地处理\n- 🎨 **精美终端UI** - 丰富的彩色输出和进度指示器\n\n## 🚀 快速开始\n\n### 安装\n\n```bash\npip install gitcommit-ai\n```\n\n### 配置\n\n```bash\n# 初始化配置\ngitcm init\n\n# 或设置环境变量\nexport OPENAI_API_KEY=\"your-api-key\"\n```\n\n### 使用\n\n```bash\n# 暂存更改\ngit add .\n\n# 使用AI生成并提交\ngitcm\n\n# 或使用选项\ngitcm --provider claude --language zh --auto\n```\n\n## 📖 详细文档\n\n### 支持的提供商\n\n| 提供商 | 设置 | 本地 |\n|--------|------|------|\n| OpenAI | `OPENAI_API_KEY` | ❌ |\n| Claude | `ANTHROPIC_API_KEY` | ❌ |\n| Ollama | 本地服务器 | ✅ |\n| OpenRouter | `OPENROUTER_API_KEY` | ❌ |\n| DeepSeek | `DEEPSEEK_API_KEY` | ❌ |\n\n### 命令\n\n```bash\ngitcm                    # 生成提交消息\ngitcm config             # 显示配置\ngitcm status             # 显示git状态\ngitcm init               # 初始化配置\n```\n\n### 选项\n\n```bash\n-p, --provider TEXT      使用的AI提供商\n-l, --language TEXT      语言 (zh/en)\n-a, --auto               自动提交，无需确认\n-d, --dry-run            只显示消息，不提交\n--version                显示版本\n```\n\n## 💡 设计理念\n\nGitCommit AI旨在：\n- 节省开发者编写提交消息的时间\n- 强制执行一致的提交消息规范\n- 支持多种AI提供商以提供灵活性\n- 使用本地AI模型离线工作\n- 提供愉悦的CLI体验\n\n## 🤝 贡献\n\n欢迎贡献！请参阅[CONTRIBUTING.md](CONTRIBUTING.md)。\n\n## 📄 许可证\n\nMIT许可证 - 详见[LICENSE](LICENSE)文件。\n\n---\n\n# 繁體中文\n\n## 🤖 GitCommit AI\n\n🚀 **AI驅動的Git提交訊息生成器**，支援多種AI模型。自動根據程式碼變更生成符合規範的提交訊息。\n\n## ✨ 核心特性\n\n- 🤖 **多AI模型支援** - 支援OpenAI、Claude、Ollama、OpenRouter、DeepSeek\n- 🌍 **中英雙語** - 支援生成中文或英文提交訊息\n- 📝 **約定式提交** - 遵循[Conventional Commits](https://www.conventionalcommits.org/)規範\n- ⚡ **一鍵操作** - 簡單的CLI，帶互動式提示\n- 🔧 **高度可配置** - 自定義提供商、模型和行為\n- 🏠 **本地AI支援** - 使用Ollama實現完全本地處理\n- 🎨 **精美終端UI** - 豐富的彩色輸出和進度指示器\n\n## 🚀 快速開始\n\n### 安裝\n\n```bash\npip install gitcommit-ai\n```\n\n### 配置\n\n```bash\n# 初始化配置\ngitcm init\n\n# 或設定環境變數\nexport OPENAI_API_KEY=\"your-api-key\"\n```\n\n### 使用\n\n```bash\n# 暫存更改\ngit add .\n\n# 使用AI生成並提交\ngitcm\n\n# 或使用選項\ngitcm --provider claude --language zh --auto\n```\n\n## 📖 詳細文檔\n\n### 支援的提供商\n\n| 提供商 | 設定 | 本地 |\n|--------|------|------|\n| OpenAI | `OPENAI_API_KEY` | ❌ |\n| Claude | `ANTHROPIC_API_KEY` | ❌ |\n| Ollama | 本地伺服器 | ✅ |\n| OpenRouter | `OPENROUTER_API_KEY` | ❌ |\n| DeepSeek | `DEEPSEEK_API_KEY` | ❌ |\n\n### 命令\n\n```bash\ngitcm                    # 生成提交訊息\ngitcm config             # 顯示配置\ngitcm status             # 顯示git狀態\ngitcm init               # 初始化配置\n```\n\n### 選項\n\n```bash\n-p, --provider TEXT      使用的AI提供商\n-l, --language TEXT      語言 (zh/en)\n-a, --auto               自動提交，無需確認\n-d, --dry-run            只顯示訊息，不提交\n--version                顯示版本\n```\n\n## 💡 設計理念\n\nGitCommit AI旨在：\n- 節省開發者編寫提交訊息的時間\n- 強制執行一致的提交訊息規範\n- 支援多種AI提供商以提供靈活性\n- 使用本地AI模型離線工作\n- 提供愉悅的CLI體驗\n\n## 🤝 貢獻\n\n歡迎貢獻！請參閱[CONTRIBUTING.md](CONTRIBUTING.md)。\n\n## 📄 許可證\n\nMIT許可證 - 詳見[LICENSE](LICENSE)文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fgitcommit-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitstq%2Fgitcommit-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fgitcommit-ai/lists"}