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 Meesters830 downloads

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

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

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
ReviewPassed
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.2
Last updated
4 days ago
Created
5 months ago
Updates
3 releases
Downloads
830
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.

Claudian

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

Advanced URI

Control everything with URI.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Omnisearch

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

Local REST API with MCP

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

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).