SShortSingh.
Back to feed

diff-review: a local pre-push code reviewer built for a friend

0
·2 views

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.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

Idea Board — Turn 3 AM Idea Overload into Actionable 30-Minute Tasks with Local AI

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Idea Board for my best friend who suffers from severe "3 AM idea overload." He constantly wakes up with ambitious side-project ideas, writes down vague goals like "Learn AI vectors" or "Build a search engine," but gets completely overwhelmed trying to figure out where to start. Within a few days, those ideas die in his notes app clutter. Idea Board solves this by converting any vague goal or project idea into a structured, step-by-step Kanban task board in seconds. Each generated task is concrete, starts w

0
ProgrammingDEV Community ·

Byte-Gemma: An Offline C++ Tutor That Asks Instead of Tells

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend A fully offline C++ tutor that runs on a phone, built for [friend's name], who is learning C++ from scratch. Most AI tools hand over the answer, and my friend ended up copy-pasting code without understanding it. Byte-Gemma is a fine-tuned Gemma 3 1B that teaches Socratically. It stays under ~100 words, praises one thing you got right, and asks one guiding question. It runs locally on Android, so it works without internet or an API bill.