Code review bot

A code review bot powered by ChatGPT
Screenshot of Code review bot app

Repository

anc95/ChatGPT-CodeReview

Authors

anc95

Updated

November 8, 2024

Usage

Install

Install: https://github.com/apps/cr-gpt;

Configuration

  1. Go to theyou want integrate this bot
  2. click settings
  3. click actions under secrets and variables
  4. Change to Variables tab, create a new variable OPENAI_API_KEY with the value of your open api key
    image

Start using

  1. The robot will automatically do the code review when you create a new Pull request, the review information will show in the tiemline / file changes part.
  2. After git push update the pull request, cr bot will re-review the changed files

example:

https://github.com/anc95/ChatGPT-CodeReview/pull/21

image

Self-hosting

  1. clone code

npm i
npm -i g pm2
npm run build
pm2 start pm2.config.cjs

Get occasional updates on new apps & features.