Skip to content

A browser extension that gives one-line summaries of PR diffs.

License

Notifications You must be signed in to change notification settings

AlpinYukseloglu/nutshell-gpt

Repository files navigation

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.

About

A browser extension that gives one-line summaries of PR diffs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published