Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.55 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.55 KB

NutshellGPT

GitHub Workflow Status Twitter Follow License

Overview

NutshellGPT is a browser extension that gives one-line summaries of PR diffs.

It passes rich diffs to ChatGPT with tailored prompts to generate concise and useful summaries of diffs for individual files to minimize the cost of context switching for reviewers.

Features

  • Plugs directly into ChatGPT
  • Prompts can be tweaked
  • Diff formatting is optimized for ChatGPT-readability (significantly better than just copy-pasting directly)
  • Many quality of life additions and performance optimizations

Example Usage

Screenshot Before Summary

Screenshot

Screenshot After Summary

Screenshot

Installation

git clone https://github.com/AlpinYukseloglu/nutshell-gpt.git
cd nutshell-gpt
npm install && npm run build

Loading into Chrome

  1. Go to chrome://extensions
  2. Open Load Unpacked on the top left
  3. Pass in the build/chromium/ directory

From this point on, you should see Summarize changes show up on the files page when reviewing PRs!

Acknowledgements

Base logic for integrating ChatGPT into a Chrome extension is from ChatGPT for Google.