Diff and Patch Viewer

by Viggo Meesters
5
4
3
2
1
Score: 52/100

Description

Read-only .diff and .patch viewer for Obsidian

Reviews

No reviews yet.

Stats

1
stars
889
downloads
0
forks
157
days
3
days
3
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
3
total issues
0
open issues
3
closed issues
15
commits

Latest Version

3 days ago

Changelog

Maintenance 0.1.3: checked on Obsidian 1.15.1 desktop (macOS arm64), with unchanged runtime code. Adds the checked-version documentation and reproducible official lint tooling while retaining existing repository guards.

Exact reviewed source: 8d7214941ec6a55cd3a70a0b9a4e7d77e8e6ac05. The QA document records actual fixture oracles, exercised actions, additional smoke coverage and limits. Clean local validation and independent source/runtime/visual review passed; the official exact-SHA source preview completed.

Mobile, minimum-version, native resize and real authentication/keychain behavior were not verified. Final public asset readback, official release review and fresh Community installation are checked separately.

README file from

Github

Diff and Patch Viewer

Read-only Obsidian viewer for .diff and .patch files.

Scope

This plugin only renders diff and patch files. It does not apply patches, call git, modify files, or bundle unrelated Git Viewer behavior.

Features

  • opens .diff and .patch through a custom read-only view;
  • shows file list and per-file stats;
  • shows hunk headers;
  • highlights additions and deletions;
  • falls back to raw read-only text when no unified diff hunk is detected.

Installation

Install Diff and Patch Viewer from the Obsidian Community plugin directory.

Development

npm install
npm run lint
npm run typecheck
npm test
npm run build
npm run sync:test-vault
npm run smoke:cdp

npm run sync:test-vault copies only main.js, manifest.json, and styles.css to:

/mnt/c/Users/viggo/github/obsidian-test-vault/.obsidian/plugins/diff-patch-viewer

The sync script refuses Syncthing/vault targets.

Obsidian 1.15.1 assessment: checked source, local results and remaining host validation.