{"id":49109346,"url":"https://github.com/anans-dev/ai-git","last_synced_at":"2026-04-21T03:34:21.352Z","repository":{"id":310810083,"uuid":"1041349970","full_name":"anans-dev/ai-git","owner":"anans-dev","description":"AI-powered Git CLI for intelligent commit messages and automated workflows.","archived":false,"fork":false,"pushed_at":"2025-08-20T11:05:21.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-20T11:58:18.289Z","etag":null,"topics":["ai","git","go","llm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anans-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-08-20T11:05:19.000Z","updated_at":"2025-08-20T11:15:49.000Z","dependencies_parsed_at":"2025-08-20T11:58:21.609Z","dependency_job_id":"342f1a04-2f60-498b-9792-568b26e1ce11","html_url":"https://github.com/anans-dev/ai-git","commit_stats":null,"previous_names":["anans-dev/ai-git"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/anans-dev/ai-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anans-dev%2Fai-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anans-dev%2Fai-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anans-dev%2Fai-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anans-dev%2Fai-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anans-dev","download_url":"https://codeload.github.com/anans-dev/ai-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anans-dev%2Fai-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32075254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","git","go","llm"],"created_at":"2026-04-21T03:34:20.258Z","updated_at":"2026-04-21T03:34:21.343Z","avatar_url":"https://github.com/anans-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-Git CLI\n\nAI-powered Git CLI that generates intelligent commit messages and automates Git workflows.\n\n## 🚀 Quick Install\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/anans9/ai-git/main/install.sh | bash\n```\n\n## ⚡ Quick Start\n\n```bash\n# Set up your OpenAI API key\nai-git config providers set openai api_key \"your-openai-api-key\"\n\n# Initialize a repository\nai-git init\n\n# Make some changes and commit with AI-generated message\necho \"# My Project\" \u003e README.md\nai-git commit --auto-stage\n```\n\n## 📖 Usage\n\n### Basic Commands\n\n```bash\nai-git commit                    # Generate AI commit message for staged changes\nai-git commit --auto-stage       # Stage all changes and generate commit message\nai-git commit --type feat        # Generate commit with specific type\nai-git commit --push             # Commit and push to remote\nai-git init                      # Initialize repository with AI-Git\nai-git config show              # Show current configuration\n```\n\n### Configuration\n\n```bash\n# Set up AI provider\nai-git config providers set openai api_key \"your-key\"\nai-git config providers set anthropic api_key \"your-key\"\n\n# Configure templates\nai-git template list             # List available templates\nai-git template create my-template --format \"feat: {description}\"\nai-git template set-default conventional\n\n# Show all settings\nai-git config show\n```\n\n### Custom Templates\n\n```bash\n# Create custom commit templates\nai-git template create feature --format \"✨ feat({scope}): {description}\"\nai-git template create bugfix --format \"🐛 fix({scope}): {description}\"\nai-git template set-default feature\n```\n\n## 🔧 Configuration File\n\nConfig is stored at `~/.config/ai-git/config.yaml`:\n\n```yaml\nai:\n  provider: openai\n  model: gpt-4\n  temperature: 0.7\n  providers:\n    openai:\n      api_key: \"your-openai-key\"\n\ngit:\n  auto_stage: false\n  auto_push: false\n  default_branch: main\n\nui:\n  color: true\n  interactive: true\n  show_diff: true\n\ntemplates:\n  default: conventional\n  custom:\n    feature: \"feat({scope}): {description}\"\n```\n\n## 🚀 Deployment\n\n### Building from Source\n\n```bash\n# Build the binary\nmake build\n\n# Install globally\nmake install\n\n# Create release build\nmake release\n```\n\n### Using Install Script\n\n```bash\n# Install directly from repository\ncurl -sSL https://raw.githubusercontent.com/anans9/ai-git/main/install.sh | bash\n```\n\n### GitHub Releases\n\nThe project uses GoReleaser for automated releases:\n\n```bash\n# Create and push a new tag\ngit tag -a v1.0.0 -m \"Release v1.0.0\"\ngit push origin v1.0.0\n\n# GoReleaser will automatically create:\n# - Cross-platform binaries (Linux, macOS, Windows)\n# - GitHub release with changelog\n# - Checksums and signatures\n```\n\n### Manual Installation\n\n```bash\n# Download binary for your platform from GitHub releases\n# Make it executable and move to PATH\nchmod +x ai-git\nsudo mv ai-git /usr/local/bin/\n```\n\n## 🛠️ Development\n\n```bash\n# Clone and build\ngit clone https://github.com/anans9/ai-git\ncd ai-git\nmake build\n\n# Install locally\nmake install\n\n# Run tests\nmake test\n```\n\n## 🗑️ Uninstall\n\n```bash\nai-git uninstall --all\n```\n\nThis removes:\n- Binary from `/usr/local/bin`\n- All configuration files\n- Templates and cache\n\n## 📋 Requirements\n\n- Git\n- Internet connection (for AI providers)\n- OpenAI/Anthropic API key or local AI model\n\n## 🐛 Issues\n\nReport issues at: https://github.com/anans9/ai-git/issues\n\n## 📄 License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanans-dev%2Fai-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanans-dev%2Fai-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanans-dev%2Fai-git/lists"}