Focus Diff
Browser extension · Chrome · Edge · Firefox · Safari

Review only the code that matters.

A small bar on every GitHub pull request. Pick a filter and the files, lines and time left follow it, then go to the next file or conversation in one click. No account: it uses the GitHub session already in your browser.

The Chrome Web Store version works in Edge, Brave, Arc and every other Chromium browser.

The 88-second tour, on public pull requests of withastro/astro.

One part of the pull request at a time.

Big pull requests stop being a wall of files. Filter to what you own, see what’s left, and move through it in order.

Filters from file paths

Each filter is a button with an Include and an optional Exclude regex. Keep them for every repository, or add some for one.

Counters that count again

Files changed and the added and removed lines show only what the filter keeps: the real size of your review.

Review time left

An estimate from about 1,000 changed lines an hour that drops as you mark files viewed, until it says Done.

A breakdown by filter

Every filter side by side: how many of its files you’ve viewed, the lines they change and the time they take.

The next file to review

One click, or Alt Shift J, to the next file you haven’t viewed, then on to the next filter.

Every conversation in turn

Step through the review threads with their file and line, and see which wait on you, are answered or resolved.

Your queue in the toolbar

The pull requests waiting on your review, how long each takes, and a review time that picks what fits.

Made to share

Copy your filters and send them to a teammate, who imports them in one step. Themes for the bar too.

No sign-in

It reads what the page shows, and your lists with the session already in your browser. No password, no token.

Install it yourself.

Every release comes with ready-made builds. Download one and load it into your browser, no store needed.

Chrome, Edge, Brave, Arc, Opera and every other Chromium browser.

  1. Unzip focus-diff-chromium.zip.
  2. Open chrome://extensions (edge://extensions in Edge) and turn on Developer mode.
  3. Click Load unpacked and pick the unzipped folder.

It doesn’t update itself. The Chrome Web Store version does.

Download for Chromium

Firefox, Zen, LibreWolf, Floorp and other browsers built on Firefox.

  1. Open about:debugging#/runtime/this-firefox.
  2. Click Load Temporary Add-on and pick focus-diff-firefox.zip.

It stays until Firefox restarts. The Firefox Add-ons version stays for good, and updates itself.

Download for Firefox

Safari on a Mac with Xcode.

  1. Unzip focus-diff-safari.zip, run this in Terminal, then click Run in Xcode:
    xcrun safari-web-extension-converter focus-diff-safari --app-name "Focus Diff" --macos-only
  2. In Safari, turn on Settings › Advanced › Show features for web developers, then Develop › Allow Unsigned Extensions.
  3. Turn on Focus Diff in Settings › Extensions. Safari asks again for unsigned extensions after it restarts.
Download for Safari

Questions

Does it send my code anywhere?

No. It collects no data and sends nothing to anyone but GitHub. Your filters stay in your browser’s storage.

Does it work on private repositories?

Yes. It works on any pull request you can open on github.com, public or private, with the session already in your browser.

Which browsers does it support?

Chrome, Edge, Brave, Arc, Opera and other Chromium browsers, Firefox and the browsers built on it, and Safari on a Mac.

Does it need my GitHub password or a token?

No. It works with the GitHub session already in your browser, like opening the pages yourself.

Review only the code that matters.

Free, for Chrome, Edge, Firefox and Safari.