Hey everyone!
I wanted to share a tool I've been working on called GitWise. It's a lightweight Git hook that uses local AI models (via Ollama) to automatically generate Conventional Commits messages based on your staged changes.
The Problem: I love AI-generated commit messages, but I wasn't comfortable sending my private code diffs to cloud APIs every time I made a commit.
The Solution: GitWise runs entirely on your local machine. No tracking, no cloud, just your code and your local model.
Key Features:
100% Local: Powered by Ollama (Qwen2.5-Coder, Llama3, etc.).
Conventional Commits: Automatically detects the type (feat, fix, refactor) and scope.
Multi-language: Can generate messages in English, Italian, Spanish, French, and German.
Dead Simple Install: A one-liner setup for any repository.
Smart Diffs: Handles large diffs by summarizing them before sending to the model.
Check it out on GitHub: https://github.com/ThetaLogN/GitWise
I've included a demo GIF in the README so you can see it in action. I'd love to hear your feedback or ideas for new features!