diff-review: a local pre-push code reviewer built for a friend
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend diff-review is a small CLI and git pre-push hook. When you run git push, it grabs the diff, drops the noise (lockfiles, build output, binaries), sends it to an open-weight model through Ollama, and prints up to five short bullets about likely bugs, leftover debug code, and missing tests. Then your push continues. It never blocks a push unless you opt in with --strict. If the model is offline, it prints "review skipped" and moves on.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in