{"id":28996783,"url":"https://github.com/hunkim/sgit","last_synced_at":"2025-06-25T05:11:33.076Z","repository":{"id":297052841,"uuid":"995428063","full_name":"hunkim/sgit","owner":"hunkim","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-12T03:55:06.000Z","size":21662,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-12T04:39:34.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hunkim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2025-06-03T13:16:31.000Z","updated_at":"2025-06-12T03:55:01.000Z","dependencies_parsed_at":"2025-06-04T01:44:32.674Z","dependency_job_id":"ae1ca886-ccfa-4fca-9ce4-40e2d1e84dee","html_url":"https://github.com/hunkim/sgit","commit_stats":null,"previous_names":["hunkim/sgit"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hunkim/sgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fsgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fsgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fsgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fsgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunkim","download_url":"https://codeload.github.com/hunkim/sgit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunkim%2Fsgit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261808071,"owners_count":23212694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-06-25T05:11:32.380Z","updated_at":"2025-06-25T05:11:33.059Z","avatar_url":"https://github.com/hunkim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sgit - AI-Powered Git That Writes Perfect Commits\n\n\u003e **Never write a bad commit message again.** sgit uses AI to generate professional conventional commits automatically while maintaining 100% git compatibility.\n\n## 🎬 See the Magic\n\n### Your Current Git Workflow 😞\n```bash\n$ git add .\n$ git commit -m \"fix stuff\"\n$ git commit -m \"updates\"  \n$ git commit -m \"more changes\"\n```\n\n### With sgit ✨\n```bash\n$ sgit commit -a\n🤖 Analyzing changes...\n\nfeat(auth): implement OAuth2 login with Google integration\n\nAdd secure OAuth2 authentication flow with token refresh mechanism.\nUpdate login component to handle redirects and error states gracefully.\nInclude comprehensive test coverage for authentication service.\n\n✨ Resolves #123, improves security architecture\n\n? Use this commit? (Y/n) █\n```\n\n**Result**: Transform meaningless commits into professional documentation that impresses reviewers and future developers! 🚀\n\n---\n\n## ⚡ Quick Start (30 seconds)\n\n```bash\n# 1. Install\ncurl -fsSL https://raw.githubusercontent.com/hunkim/sgit/main/scripts/install.sh | bash\n\n# 2. Use like git, but better\nsgit commit -a        # 🤖 AI writes your commit message\nsgit diff            # 📊 AI explains what changed  \nsgit log             # 📈 AI analyzes your patterns\n```\n\n**That's it!** All your existing git commands work exactly the same: `sgit status`, `sgit push`, `sgit pull`, etc.\n\n---\n\n## 🌟 Why Developers Love sgit\n\n- **🎯 Perfect Commits**: Conventional commits with context, not \"fix stuff\"\n- **⚡ Zero Learning**: Drop-in git replacement - use your existing knowledge\n- **🌍 Multi-Language**: AI responds in 7+ languages (`--lang ko` for Korean!)\n- **🔄 100% Compatible**: All git commands work - scripts, aliases, everything\n- **⌨️ Smart Completion**: Tab completion for commands and language codes\n- **🛡️ Privacy First**: Your code stays local, only diffs sent for analysis\n\n---\n\n## 🚀 Features That Transform Your Workflow\n\n| Traditional Git | sgit Enhancement |\n|----------------|------------------|\n| `git commit -m \"fix\"` | **AI generates**: `fix(api): resolve rate limiting edge case in Redis backend` |\n| `git diff` | **AI explains**: \"Refactored authentication middleware to use JWT validation\" |\n| `git log` | **AI insights**: \"Focus on security improvements, 3 bug fixes this week\" |\n| Manual file staging | **AI recommends**: \"Add these 4 source files, skip temp files\" |\n\n---\n\n## 🛠️ Installation Options\n\n**🚀 Recommended (includes tab completion):**\n```bash\ncurl -fsSL https://raw.githubusercontent.com/hunkim/sgit/main/scripts/install.sh | bash\n```\n\n**🍺 Homebrew:**\n```bash\nbrew tap hunkim/sgit \u0026\u0026 brew install sgit\n```\n\n**📦 Go Install:**\n```bash\ngo install github.com/hunkim/sgit@latest\n```\n\n**🐳 Docker:**\n```bash\ndocker run --rm -it -v $(pwd):/workspace hunkim/sgit:latest\n```\n\n---\n\n## 🔧 Configuration (2 minutes)\n\n```bash\nsgit config  # Set up your free Upstage API key\n```\n\nGet your API key at [console.upstage.ai](https://console.upstage.ai/) (free tier available).\n\n---\n\n## 🎯 Core Commands\n\n### Smart Commits\n```bash\nsgit commit              # AI writes commit message  \nsgit commit -a           # Stage all + AI commit\nsgit commit -a --lang ko # Korean AI responses\n```\n\n### Intelligent Analysis  \n```bash\nsgit diff                # AI explains changes\nsgit log                 # AI analyzes patterns\nsgit add --all-ai        # AI recommends files to stage\n```\n\n### Traditional Git (unchanged)\n```bash\nsgit status              # Same as git status\nsgit push                # Same as git push  \nsgit pull                # Same as git pull\n```\n\n---\n\n## 🌍 Multi-Language Support\n\n```bash\nsgit --lang ko commit    # Korean: \"기능: 사용자 인증 시스템 구현\"\nsgit --lang ja diff      # Japanese: \"変更内容の分析...\"  \nsgit --lang es log       # Spanish: \"Análisis de patrones...\"\n```\n\n**Supported**: English, Korean, Japanese, Chinese, Spanish, French, German\n\n---\n\n## 🔒 Privacy \u0026 Security\n\n- ✅ **Local First**: Your code stays on your machine\n- ✅ **Diff Only**: Only git diffs sent for commit message generation\n- ✅ **No Storage**: Upstage doesn't store your code or diffs\n- ✅ **Open Source**: Full transparency, audit the code yourself\n\n---\n\n## 📚 Examples\n\n### Before sgit 😱\n```\ngit log --oneline -5\na1b2c3d fix stuff\ne4f5g6h updates  \nh7i8j9k more changes\nk1l2m3n bug fix\nn4o5p6q refactor\n```\n\n### After sgit 🎉  \n```\nsgit log --oneline -5\na1b2c3d feat(auth): implement OAuth2 with Google integration\ne4f5g6h fix(db): resolve connection pooling memory leak\nh7i8j9k docs(api): add comprehensive endpoint documentation  \nk1l2m3n perf(cache): optimize Redis operations for 40% speed gain\nn4o5p6q refactor(ui): modernize component architecture with hooks\n```\n\n**Night and day difference!** 🌟\n\n---\n\n## 🆚 vs Other Tools\n\n| Feature | sgit | Conventional Commits | Other AI Tools |\n|---------|------|---------------------|----------------|\n| **Zero Learning Curve** | ✅ | ❌ | ❌ |\n| **Full Git Compatibility** | ✅ | ✅ | ❌ |  \n| **AI Commit Messages** | ✅ | ❌ | ✅ |\n| **Multi-Language** | ✅ | ❌ | ❌ |\n| **Privacy Focused** | ✅ | ✅ | ❌ |\n| **Tab Completion** | ✅ | ❌ | ❌ |\n\n---\n\n## 🤝 Contributing\n\n```bash\ngit clone https://github.com/hunkim/sgit.git\ncd sgit\ngo build\nsgit commit -a  # Use sgit to contribute to sgit! 😄\n```\n\n---\n\n## ⭐ Love sgit?\n\n- 🌟 **Star this repo** if sgit saves you time\n- 🐛 **Report issues** at [github.com/hunkim/sgit/issues](https://github.com/hunkim/sgit/issues)  \n- 💡 **Request features** - we're always improving\n- 🗣️ **Spread the word** - help other developers write better commits\n\n---\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file.\n\n**Created with ❤️ by developers, for developers.**\n\n---\n\n\u003e **Ready to transform your git workflow?** Try sgit today and never write \"fix stuff\" again! 🚀\n\u003e\n\u003e ```bash\n\u003e curl -fsSL https://raw.githubusercontent.com/hunkim/sgit/main/scripts/install.sh | bash\n\u003e ``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunkim%2Fsgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunkim%2Fsgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunkim%2Fsgit/lists"}