GithubHelp home page GithubHelp logo

codereviewerpublic's Introduction

<AI Code reviewer/>

image

๐Ÿ” Overview โ€ข ๐Ÿ’ป Usage โ€ข ๐Ÿ“– FAQ โ€ข ๐Ÿ”ง Installation

Overview

This is a Chrome extension(works on edge too) which reviews

  • Azure devops pull Requests using ChatGPT
  • Add comments on a PR from your behalf.
  • Review the selected code on your page.
  • Github private and public repo reviews (coming soon)

Here's an example output:

Code review:

image

Comments posted :

Code snippet review :

Usage

Make sure you close and reopen the extension to get the best behaviour. Sorry we are new!

Azure devops PR review:

  • Navigate to a Azure devops Pull Request that you want a review for.
  • Click the extension icon
  • If you have not already, the extension will ask you to log in at chat.openai.com
  • You get code review comments from ChatGPT in the popup window and in the file you have selected.

Review selected code

  • Select the code and click the code review button.

Note: Running the review multiple times often produces different feedback, so if you are dealing with a larger PR, it might be a good idea to do that to get the most out of it.

FAQ

Q: Are the reviews 100% trustworthy?

A: This tool can help you spot bugs, but sometimes it is not 100% accurate. We are working on optimizing the queries to give you the best result.

Q: What aspects of the Pull Request are considered during the review?

A: Every file's diff is sent seperately to ChatGPT to avoid request size issue. Comment are added on every changed file based on the response.

Installation

  • Clone or download the zip of this repo

  • Go to edge://extensions in your browser.

  • Enable developer mode

    image
  • Click on Load unpacked on this page

    image
  • Select the folder where you have downloaded the repo code, you need to select the folder where manifest.json exists.

Supported browsers

Chrome and edge

Permissions

This is a list of permissions the extension uses with the respective reason.

  • activeTab is used to get the URL or the active tab. This is needed to fetch the get the Pull Request details
  • storage is used to cache the responses from OpenAI
  • scripting to read the selected text from screen

codereviewerpublic's People

Contributors

javatechy avatar

Watchers

 avatar

Forkers

icodegorilla

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.