News for hackers. Stuff that matters.

Show HN: Review code as it is written

https://www.npmjs.com/package/ollama-watcher

An experimental little npm library for creating a quick feedback loop when writing code. I usually run any code changes through an AI checker before sending them for real review to catch any obvious problems.

I'm also a big fan of ollama and local LLMs and so I had the thought of automating the task locally. And since I am doing all of this locally, (and for free(ish)) why wait until the code is ready to submit for review. Why not just keep the tool running on all changes!

I was curious to see how well such a tool might work so I put together a basic version. I've found it to be slightly helpful in certain cases so far. Obviously results will vary greatly depending on what model you choose to use. I have had decent results using gpt-oss:latest on a mac mini.

The basic idea is that it runs a quick check on any code when a file is written to, and when code is committed.

I expect there are quite a few bugs etc but it has been running smoothly enough for me so far.

( 2 comments | 2 points | on HN )
Re:Show HN: Review code as it is written by arbol on Thursday November 06, 2025 @10:37AM (#45836389)
I have enough interruptions with Copilot already without another thing shouting at me XD
Re:Show HN: Review code as it is written by emurph55 on Thursday November 06, 2025 @11:06AM (#45836696)
yeah, I am not really convinced of any real practical use myself tbh. I just wanted to try it out!