Patchtree — pretty diffs & code review Firefox

Patchtree — pretty diffs & code review

提供元: danilrwx Add-on
Turn any raw .diff / .patch page into a full code-review UI: tree-sitter syntax highlighting, a searchable file tree, inline & side-by-side views, and inline review — comments, suggestions, approvals — for GitLab and GitHub.
xHeader
Modify request and response headers. No ads, no malware.

特徴と機能

patchtree renders plain-text .diff / .patch pages as a fast, full-featured code-review interface — the kind you get on a merge/pull request, but on the raw diff itself, on any host.

Open a diff URL such as https://gitlab.example.com/group/project/-/merge_requests/104.diff (or click the toolbar icon on any MR/PR page) and review right there. It also renders local .diff / .patch files opened via file://.

Diff rendering

  • Any plain-text .diff / .patch page, whatever served it — git-format or a plain diff -u, GitLab, GitHub, or a local file.
  • Inline and side-by-side views; fully added or deleted files use the full width in split mode.
  • Real syntax highlighting via tree-sitter (WebAssembly, run off the main thread): Go, JS/TS/TSX, Python, Bash, JSON, YAML, Rust, C, C++, Java, Ruby, PHP, C#, Lua, TOML, HCL/Terraform, CSS, HTML, and Helm/Go templates.
  • Word-level diff: the exact words that changed get a stronger tint.
  • Expand hidden lines between hunks, or a Full-file toggle per file.
  • Large diffs stay smooth — only visible file sections are rendered.
Navigation
  • Resizable, filterable file tree (filter matches paths and diff content), status icons and colors (added / modified / renamed / deleted), per-file +N −M and comment-count badges.
  • Filter by file extension; hide viewed or deleted files.
  • Viewed checkboxes with an N/M progress counter; auto-collapse of generated files (lock files, vendored, minified, *.pb.go, …).
  • Follows the file you're on and remembers your place across reloads.
  • Keyboard: j/k files, n/p threads, v viewed, x fold, e toggle tree, / focus filter.
  • Per-commit diff filter; copy-path, open-at-head, and line permalinks.
Review (with an access token)
  • Threads anchored to lines (old or new side), replies, edit and delete.
  • Markdown editor with a toolbar and Write/Preview tabs, rendered through the platform's own API.
  • Suggestions: one click prefills a suggestion block; existing suggestions render as a red/green widget with Apply (GitLab).
  • Multiline comments (shift-click a line number to extend the range).
  • Resolve / unresolve threads and an "unresolved" jump list (GitLab).
  • Draft reviews and a Submit-review panel: Comment / Approve / Request changes, with the approval state shown as a badge.
  • Pipeline/checks status and a merge-conflict indicator in the toolbar.
Appearance
  • Theme gallery with the base24 schemes from tinted-theming, live code previews (including how added/removed lines look), light/dark filter, and paste-your-own scheme YAML.
  • Bundled fonts (JetBrains Mono, Inter, and Nerd Font builds), or any local font by name; separate UI/code font sizes, tab width, italic-comment and ligature toggles.
Setup
  • Firefox MV3 treats host access as opt-in — enable Access your data for all websites (or grant specific hosts) in the add-on's Permissions tab, or the content script won't run.
  • To render local files, allow the add-on access to file:// URLs.
  • Rendering needs no account. To turn on review actions, open the ⚙ menu → Access tokens and add a GitLab host (PAT scope api) and/or a GitHub token (classic repo, or fine-grained with Pull requests read & write).
Privacy

patchtree talks only to the diff's own host and its API (GitLab/GitHub) to render diffs and post your review actions. Access tokens are stored locally (storage.local) and never synced or sent anywhere else. No analytics, no tracking, no third-party servers.

Open source (Apache-2.0): github.com/danilrwx/patchtree

ユーザー成長とダウンロード統計

Manifest V3 Add-on
提供元:
danilrwx
日間ユーザー:
1
バージョン:
1.3.0 最終更新日: 2026-08-06
バージョンコード:
6397930
作成日:
2026-07-28
Firefox アドオン GUID:
patchtree@danilrwx.github.io
Firefox アドオンの数値 ID:
3045315
週間ダウンロード数:
1
Android 上の Firefox:
いいえ
リスク:
High risk impact High risk likelihood
権限:
ホスト権限:
  • https://api.github.com/*
  • https://github.com/*
  • https://raw.githubusercontent.com/*
  • https://patch-diff.githubusercontent.com/*
コンテンツスクリプトの一致:
  • *
サイズ:
18.56MB
詳細説明:
詳細な説明を見る
ソース:
Firefoxアドオンストア
データ取得日:
2026-09-06
統計とランキングを比較:

開発者に問い合わせる

Chrome-Stats はこの Firefoxアドオン を所有していません。以下の情報を使用して、Firefoxアドオン 開発者にお問い合わせください。
開発元:
danilrwx
Firefoxアドオンストア
https://addons.mozilla.org/firefox/addon/patchtree/

Patchtree — pretty diffs & code reviewは安全ですか?

リスク影響度
リスク影響度は、拡張機能がアクセスできる追加の権限のレベルを測定します。低リスク影響度の拡張機能は多くの害を及ぼすことができませんが、高リスク影響度の拡張機能はパスワードの盗難、セキュリティ設定の回避、個人データへのアクセスなど、多くの被害を与える可能性があります。高リスク影響度の拡張機能は必ずしも悪意があるわけではありません。しかし、悪意を持つようになると、非常に有害になる可能性があります。

Patchtree — pretty diffs & code reviewはブラウザとデータのセキュリティに影響を与える可能性のある機密権限をいくつか必要とします。インストール前に注意してください。

リスク影響度分析の詳細
  • Critical Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
  • Critical ******* ****** ** *** ********* ******** *********** *********************
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
リスク可能性
リスク可能性は、Firefoxアドオンが悪意を持つ可能性を測定します。これは、Firefoxアドオンストアにおける発行者とFirefoxアドオンの評判、Firefoxアドオンが存在している期間、およびFirefoxアドオンに関する他のシグナルによって決定されます。私たちのアルゴリズムは完璧ではなく、悪意のある拡張機能を検出する新しい方法を発見するにつれて変更される可能性があります。Firefoxアドオンをインストールする際には常に注意することをお勧めします。

Patchtree — pretty diffs & code reviewは最近追加されたばかりで、リスクレベルを正確に評価するのに十分なデータを収集するほど長く存在していません。

リスク可能性分析の詳細
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Medium **** ********* *** ***** ** *** **** * ******* *** ********** *** *** ** ****** ** *****
Extension Guard
エクステンションガード

Extension Guardで使用中のすべての拡張機能を発見し、リスクを分析し、ブロックポリシーを適用します

ブラウザを安全にしましょう
完全なリスク分析の詳細を見るにはアップグレードしてください

ベストのPatchtree — pretty diffs & code review代替案

Patchtree — pretty diffs & code reviewに類似したFirefox add-onをいくつか紹介します: