Show HN: Review code as it is written (npmjs.com)

2 points by emurph55 ↗ HN
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.

1 comment

[ 4.5 ms ] story [ 17.6 ms ] thread
I have enough interruptions with Copilot already without another thing shouting at me XD