tak-bro / aicommit2

A Reactive CLI that generates git commit messages with Ollama, ChatGPT, Gemini, Claude, Mistral and other AI
https://www.npmjs.com/package/aicommit2
MIT License
113 stars 8 forks source link

Add pre-commit integration #78

Open noamsto opened 1 week ago

noamsto commented 1 week ago

Feature request

You already provide commit hook integration It will be awesome if it will be possible to configure it as part of .pre-commit-config.yaml

Why?

Will increase the ease-of-use and align with existing convention.

Alternatives

Manually install the hook

Additional context

No response

tak-bro commented 1 week ago

Thank you for your interest. I'll do some research on that.

tak-bro commented 2 days ago

I've been working on it for the past days. It's turning out to be more complex than initially thought, and it might take more time to resolve...

noamsto commented 12 hours ago

Thanks for looking into it ! I'm also trying to set it up, I'll update if I get it to work