Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Review code as it is written (npmjs.com)
2 points by emurph55 26 days ago | hide | past | favorite | 2 comments
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.



I have enough interruptions with Copilot already without another thing shouting at me XD


yeah, I am not really convinced of any real practical use myself tbh. I just wanted to try it out!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: