tiagofilipenunes / git-image-diff

Extension that improves the image diff view on GitHub.
https://chromewebstore.google.com/detail/better-github-image-diff/gceenhdnmfioemgpkjaknhjofmojfeli
MIT License
2 stars 0 forks source link
chrome-extension chrome-extensions github github-api image image-comparison image-diff image-difference

Better GitHub image diff

The Better Github Image Diff Chromium/Firefox extension improves the image diff experience on GitHub Files Changed view.

Features

Difference between the two images are shown in different ways:

Customization

The extension allows to customize the highlight color in the pop-up settings.

Development

To run the extension in development mode, run the following commands:

pnpm dev:chromium
pnpm dev:firefox

Building

To build the extension, run the following commands:

pnpm build:chromium
pnpm build:firefox

Running

To run the extension after building, run the following commands, for Google Chromium and Mozilla Firefox respectively:

pnpm start:chromium
pnpm start:firefox

Installation

Chromium

  1. Clone the repository and install the dependencies using npm i
  2. Run pnpm build:chromium to build the extension
  3. Open a Chromium-based browser and go to chrome://extensions/
  4. Enable Developer mode
  5. Click on Load unpacked and select the dist folder

Firefox

  1. Clone the repository and install the dependencies using npm i
  2. Run pnpm build:firefox to build the extension and pnpm pack:firefox to prepare it for installation
  3. Open Firefox and go to about:debugging#/runtime/this-firefox
  4. Click on Load Temporary Add-on... and select the .zip package in the web-ext-artifacts folder

License

MIT license