Viggo Meesters4 downloadsLightweight Git status viewer with explicit selected-file commits. No pull, clone, branch management, push, discard, or reset.
Git Viewer is a lightweight Git status, history, and selected-file commit tool for Obsidian. It is built for people who want to stay inside Obsidian, see exactly which vault files changed, open those files, make intentional commits, and inspect recent commit history without launching a heavier Git client or Visual Studio Code.
git CLI.Git Viewer deliberately does not include:
The plugin is a status and history viewer with one narrow write action: commit selected files. It does not sync, pull, push, or manage branches.
Commit support is intentionally scoped and explicit:
Git Viewer does not use a naive git add <files> && git commit flow, because that can disturb existing staged state in busy vaults.
Git Viewer is ready for submission to the Obsidian Community plugin directory. Once accepted, it can be installed from Settings -> Community plugins -> Browse inside Obsidian.
Until the community directory submission is accepted:
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/git-viewer/.For beta testing, install the plugin with BRAT using this repository URL:
https://github.com/viggomeesters/obsidian-git-viewer
Open the command palette and run Git Viewer: Open, or click the Git Viewer ribbon icon. The view opens in the right sidebar.
Use Changes to review and commit current working-tree changes. Use History to inspect recent local commits.
Click a file path to open it in Obsidian. Deleted files and files outside the current vault cannot be opened.
To commit:
The commit includes only the selected paths. Unselected staged files remain staged.
After a commit, Git Viewer shows a Last commit banner with a View in History shortcut. History remains read-only and uses local Git data only.
npm install
npm run build
npm run lint
npx tsc --noEmit
npm test
For local development, copy or symlink this repository into .obsidian/plugins/git-viewer/ inside a Git-backed Obsidian test vault.
Obsidian installs community plugin files from GitHub releases. For each release:
manifest.json, package.json, and versions.json when the plugin version or minimum Obsidian version changes.npm install, npm run build, npm run lint, npx tsc --noEmit, and npm test.manifest.json.version.main.js, manifest.json, and styles.css as release assets.The repository includes a GitHub Actions release workflow with artifact attestation support. If GitHub Actions is disabled for the owner account, manual releases are still usable for Obsidian, but the Community automated review may show a recommendation about missing artifact attestations.
The repository is prepared for Obsidian Community plugin submission. The remaining submission step must be completed by the repository owner in the Obsidian Community site because it requires signing in, linking GitHub, and confirming the developer policies/support commitment.
Submit this repository URL:
https://github.com/viggomeesters/obsidian-git-viewer
The current release is ready for review:
README.md, LICENSE, and manifest.json existmanifest.json.id is git-viewermanifest.json.version is 0.3.1versions.json maps 0.3.1 to Obsidian 1.8.70.3.1 should include main.js, manifest.json, and styles.cssOfficial references:
Git Viewer runs local git commands against the current vault or repository. It does not make network requests and does not use clipboard APIs.
History is read-only and uses local git log and git show --name-status. The only write action is Commit selected. It creates a commit from explicitly selected paths through a temporary Git index, then refreshes the selected paths in the real index after the branch is advanced. It does not pull, push, clone, fetch, merge, rebase, discard, reset, or manage branches.