sturdy-dev / codereview.gpt

Reviews your Pull/Merge Requests using ChatGPT
MIT License
550 stars 68 forks source link

[suggestion] Running this locally? #1

Closed calebpanza closed 1 year ago

calebpanza commented 1 year ago

I would actually really love to be able to run this as a script on my machine before submitting a PR as a gut check

krlvi commented 1 year ago

Thanks for the suggestion, I like it

nickveenhof commented 1 year ago

That would require submitting your patch file in the extension. Quite some work. Why not iterate and submit the PR, use the extension and iterate again? I'm not sure if it's useful enough to add support for it.

nickveenhof commented 1 year ago

I'm going to close this as I'm not sure how this could work with a chrome extension. I think it would be better to develop a CLI based git hook or so that before you submit it, it sends the code to OpenAI. Be careful, as you might be sending private code to an API that did not sign an NDA ;-)