Inspiration

So many times when I vibe code a sneaky secret or password gets pushed into git. Even though I define git ignore or tell the LLM not to push sensitive data, it just takes one hallucination or misunderstanding and I am yet again rotating all my secrets.

What it does

You install the cli either with npm or tell your coding agent to install it and you can define git hooks through natural language, and it will create either scripts or natual language rules which run with your existing coding agent.

How we built it

With ChatGPT and Codex. I first brainstormed with ChatGPT, got ideas, page layouts etc and got it to write a clear implementation plan of the project, and copied this into codex

Challenges we ran into

Running out of Codex tokens

Accomplishments that we're proud of

Simple installation, can just configured everything in your existing coding agent.

What we learned

That ChatGPT has a reset limit feature.

What's next for githooked

Will keep using it and bring updates that myself or the community find useful.

Built With

Share this project:

Updates