Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Diff and Patch Viewer

Viggo MeestersViggo Meesters87 downloads

Read-only viewer for .diff and .patch files with file, hunk, and additions/deletions summaries.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

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.

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.

HealthExcellent
ReviewSatisfactory
About
View .diff and .patch files in a read-only Obsidian pane with highlights for additions and deletions. Show file lists, per-file stats and hunk headers; fall back to raw read-only text when no unified diff hunk is detected.
FormatsFilesSyntax
Details
Current version
0.1.1
Last updated
2 months ago
Created
2 months ago
Updates
2 releases
Downloads
87
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Viggo MeestersViggo Meestersviggomeesters
GitHubviggomeesters
  1. Community
  2. Plugins
  3. Formats
  4. Diff and Patch Viewer

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Advanced URI

Control everything with URI.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Recent Files

Display a list of recently opened files.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

QuickAdd

Quickly add new notes or content to your vault.