# Diffinity: Get PR Review from LLM in the Simplest Way Diffinity is a Chrome extension designed to streamline the code review…
Diffinity Extension
Diffinity is a Chrome extension designed to streamline the code review process for GitHub pull requests by automatically fetching the PR diff and preparing a review request in ChatGPT. This extension provides a seamless way to gather and send PR data for analysis and feedback.
## Features
- Adds a \"Do Diffinity\" button to GitHub pull request pages.
- Fetches the diff data from GitHub PRs.
- Opens a new tab to ChatGPT with the diff data preloaded for review.
- Supports custom review language settings.
## Installation
1. Clone this repository or download the source code as a ZIP file.
2. Open Chrome and navigate to `chrome://extensions/`.
3. Enable \"Developer mode\" using the toggle in the top right corner.
4. Click \"Load unpacked\" and select the folder containing the extension files.
## Usage
1. Install the extension.
2. Set the review language by clicking the extension icon and entering your preferred language.
3. Navigate to a GitHub pull request page.
4. Click the \"Do Diffinity\" button that appears in the pull request header.
5. That's it! The extension will handle the rest and open ChatGPT with the review request.
## Explanation of Key Files
- **background.js**: Contains background event listeners for extension initialization, message handling, and script execution.
- **chatgpt_injector.js**: Injects text into ChatGPT’s input field and simulates a button click to submit the PR review request.
- **content.js**: Injects the \"Do Diffinity\" button into GitHub PR pages and handles user interactions.
- **popup.html, popup.js, popup.css**: Files for the extension popup interface, allowing users to set their preferred language.
- **manifest.json**: The configuration file defining the extension’s content scripts and background services.
## Contributing
Feel free to fork this repository and submit pull requests. Contributions and feedback are highly appreciated!
## License
This project is licensed under the MIT License.
## Disclaimer
This extension is not affiliated with GitHub or ChatGPT. Use it at your own discretion and ensure compliance with any relevant terms of service.
---
Thank you for using Diffinity. We hope this tool makes your code review process smoother and more efficient!
Source Manifest.json
How to download and manually install Diffinity extension for Chrome
Looking for a way to install Diffinity extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Diffinity extensions manually, this article outlines two simple methods to effortlessly install Diffinity extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Diffinity extension and manually install through Drag &Drop
If you ever need to manually install a Diffinity extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Diffinity Extension by clicking the "Download CRX" button on the website.
Look for the Diffinity extension you wish to install. Go to the website and download the Diffinity extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Diffinity extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Diffinity extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Diffinity extension for Chrome and install in Developer Mode
This is another method to install Diffinity extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Diffinity extension file
Select and download the Diffinity extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Diffinity extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Diffinity extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Diffinity extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Diffinity extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
HTML to React & Figma by Magic Patterns 84 10 ★ 392KiB
Tooltip Dictionary 84 48 ★ 299KiB
백준허브(BaekjoonHub) 84 26 ★ 222KiB
Rayst - Reveal the web 84 20 ★ 455KiB
Material Icons for GitHub 84 77 ★ 1.05MiB
Vercel 84 24 ★ 34.3KiB
일일일 - 스타트업 사람들을 위한 감도 높은 정보 큐레이션 플랫폼 84 3 ★ 3.7MiB
LeetHub 84 92 ★ 22.43MiB
LocatorJS 84 64 ★ 190KiB
Hackertab.dev - developer news 84 168 ★ 525KiB
서핏 - 매일 성장하는 사람들의 커리어 플랫폼 84 55 ★ 27.29MiB
apic cors extension 84 0 ★ 75.58KiB
Refined GitHub 84 213 ★ 572KiB
네이버 영어사전 (Naver English Dictionary) 84 730 ★ 693KiB
오늘 뭐임 84 6 ★ 5.6MiB
Video CC translator 84 89 ★ 295KiB
Starsucks 84 17 ★ 60.19KiB
GPT Review 84 2 ★ 2.5MiB
Medium Parser 84 6 ★ 590KiB
Qodo Merge: AI-Powered Code Reviews & Chat 84 32 ★ 389KiB
DeFi Lens 84 6 ★ 276KiB
Velog Helper 84 4 ★ 28.4KiB
codereview.gpt 84 9 ★ 1.29MiB
OPFS Explorer 84 14 ★ 15.57KiB