README file from
GithubVersion View for Obsidian
Note: This is a community-maintained fork of the original Version View plugin by joeytoday. The original repository was missing the
main.jsfile, so this plugin has been rebuilt from scratch using AI to provide a fully functional version with all features intact.
A simple version control plugin for Obsidian. Save, manage, compare and restore file versions with an intuitive interface.
Features
- Save Version Snapshots - Save current file version with optional name
- Visual Version Comparison - Side-by-side diff with line numbers, highlighting added (green) and removed (red) content
- One-Click Restore - Revert to any previous version instantly
- Edit Version Info - Update version name and description
- Compare Any Two Versions - Select two versions to compare, or compare with current document
- Fullscreen Diff View - Toggle fullscreen mode for better readability
- Show Only Differences - Filter to show only changed lines
- Configurable Settings - Set version storage folder and maximum version count
Installation
Manual Installation
- Download
main.js,styles.css, andmanifest.jsonfrom the latest release - Create a folder
version-viewin your vault's.obsidian/plugins/directory - Copy the downloaded files into the
version-viewfolder - Restart Obsidian
- Enable the plugin in Settings → Community plugins
BRAT Installation
- Install the BRAT plugin
- Add this repository:
https://github.com/maoqingwei/obsidian-version-view
Usage
- Open any note
- Click the clock icon 🕐 in the ribbon, or run the command "切换版本视图"
- Enter a version name (optional) and click "保存此版本"
- Use the action buttons for each version:
- ✏️ Edit version name and description
- 🔍 Compare with current document
- ↩️ Restore to this version
- 🗑️ Delete this version
- Select two versions with checkboxes to compare them directly
Settings
- Version Storage Folder - Where version files are stored (default:
res/versions) - Maximum Versions - Auto-delete old versions when exceeding this limit (default: 50)
License
MIT