GitPilot — 100% Offline AI Git Commit & PR Reviewer
Enterprises and privacy-conscious developers refuse to send their proprietary codebases to OpenAI cloud APIs. GitPilot is a CLI git hook and desktop tool that connects directly to local models (Ollama / Llama.cpp) to analyze staged git diffs, generate perfect Conventional Commits, and spot potential hardcoded secrets before push.
Lazy commit messages like `fix`, `wip`, `update` pollute git history. Cloud AI tools risk leaking company secrets.
High viral potential on Twitter/GitHub. Open-source core with paid team configuration sync.
Adım Adım Geliştirme Yol Haritası
Faz Faz İlerlemePhase 1: CLI & Git Diff Parser
- Setup CLI tool with `npx gitpilot` or `git-pilot` alias
- Extract staged diffs and split by file changes
- Detect added/deleted line statistics
Phase 2: Local Model Connection
- Connect to `localhost:11434/api/generate` (Ollama)
- Design concise system prompt enforcing Conventional Commits format (`feat:`, `fix:`, `refactor:`)
- Interactive selection: let user accept [y], regenerate [r], or edit [e]
Phase 3: One-Click Git Hook Installer
- `gitpilot init` command that installs `.husky` or `.git/hooks/prepare-commit-msg`
- Add security leak warning if `.env` or AWS keys are spotted in diff
İleride Eklenebilecek İleri Düzey Özellikler
Bu projeyi kendi seviyene göre uyarlamak ister misin?
Kullandığın programlama dili veya framework farklıysa, AI asistanı sana özel bir başlangıç şablonu hazırlayabilir.