Vault Settings Sync · Obsidian plugin documentation

Vault Settings Sync documentation

Vault Settings Sync Obsidian plugin preview

Vault Settings Sync exports, previews, compares, and imports Obsidian core settings (app.json, appearance.json, hotkeys.json), CSS snippets, and selected plugin configs across local vaults. Keep separate work, personal, and writing vaults aligned without copying hidden configuration folders by hand or uploading settings to a third-party server.

Every bundle export, import validation, pre-apply backup, secret-key redaction check, config diff, and rollback snapshot runs locally on desktop and mobile with no cloud account required.

Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.

1 Installation

Open Settings, then Community plugins, then Browse, and search for "Vault Settings Sync". Select Install, then Enable. Works on desktop and mobile.

2 Getting started

  1. Run "Export settings bundle" from the command palette, ribbon icon, or status bar to select core settings and CSS snippets and save vault-settings-bundle.json.
  2. Copy the bundle file to another vault, or copy its JSON text.
  3. In the target vault, run "Import settings bundle", click Load file (or paste the JSON), and click Preview import to review every planned change.
  4. Click Apply import to write a pre-apply backup and update the selected config files and CSS snippets.
  5. With Pro, run "Manage multi-vault sync profiles", "Compare settings bundle side by side", or "Rollback last settings sync" from the command palette or plugin settings.

3 Features

Portable core settings and CSS snippet bundles

Select app.json, appearance.json, hotkeys.json, and your vault CSS snippets to write a single deterministic JSON file inside your vault. Copy or move that file to another vault, or paste the JSON directly into the import window. Keys are sorted alphabetically so bundles stay readable and diff-friendly in Git or local folders.

Import preview and automatic pre-apply backup

Before touching any configuration file, Vault Settings Sync validates the JSON structure, blocks unsafe paths or traversal names, and displays a clear summary of planned core and snippet changes. When you apply an import, the plugin automatically writes a timestamped pre-apply backup bundle of your current vault settings to your backup folder first.

Named multi-vault sync profiles (Pro)

Create reusable profiles for each vault role, such as Work, Personal, or Research. Each profile stores its own core file toggles, CSS snippet toggle, selected plugin list, and secret redaction rules so you can export consistent bundles in one click.

Selective per-plugin config sync with secret-key redaction (Pro)

Include specific community plugin data.json files in your portable bundle without leaking credentials. The built-in redaction guard automatically skips keys matching API key, token, password, secret, bearer, webhook, OAuth, and private key patterns, as well as common token value prefixes. When you import a redacted plugin config into another vault, Vault Settings Sync merges non-secret preferences while keeping the target vault's local API keys intact.

Side-by-side config diff viewer and one-click rollback (Pro)

Compare your current vault against any incoming bundle in a side-by-side table filtered by Core, Snippets, or Plugins. Every applied import also records a pre-sync rollback snapshot so you can restore modified config files and remove newly added snippets in one click.

4 Commands

Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.

Command Command id
Export settings bundle vault-settings-sync:export-settings-bundle
Import settings bundle vault-settings-sync:import-settings-bundle
Manage multi-vault sync profiles vault-settings-sync:manage-sync-profiles
Export per-plugin configs with redaction vault-settings-sync:sync-plugin-configs
Compare settings bundle side by side vault-settings-sync:compare-bundle-diff
Rollback last settings sync vault-settings-sync:rollback-last-sync

5 Settings

Setting Default Description
Default export bundle path vault-settings-bundle.json Relative vault path used when exporting or loading a bundle.
Pre-apply backup folder vault-settings-backups Vault folder where timestamped pre-apply backup bundles are saved.
Create pre-apply backup before import On Automatically save a backup bundle before writing imported settings.
Include CSS snippets by default On Pre-select CSS snippets when opening the export bundle modal.
Show status bar summary On Show the quick-launch button and saved rollback count in the status bar.
Custom secret key patterns Empty Optional comma-separated regex patterns skipped by the secret-key redaction guard (Pro).

6 Pro

The command "What Pro adds" shows each paid feature with an interactive demo on sample data.

Sponsor $5 a month, or $15 once. When you have paid $15 in total, Pro stays on.

7 Privacy, payment and network

The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.

One payment turns on Pro in every NoteMods plugin.

GitHub handles the payment. Sponsor at https://github.com/sponsors/theluckystrike/sponsorships?tier_id=666162&frequency=one-time&metadata_source=vault-settings-sync. You need no account for the free features. Pro needs the GitHub account that sponsors.

Until you select "Sign in with GitHub" in the settings, Vault Settings Sync makes no network requests. Sign in uses the GitHub device flow. Vault Settings Sync sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.

After sign in, Vault Settings Sync sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.

After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.

8 Questions and answers

Does Vault Settings Sync upload my settings or API keys anywhere?

No. All bundle exports, previews, backups, redaction checks, diffs, and rollbacks happen locally inside your vault using Obsidian's vault adapter. No settings or vault data leave your device.

How does the secret-key redaction guard protect my API keys?

When exporting per-plugin data.json configs in Pro, the redaction guard recursively inspects keys and values, automatically skipping fields that match sensitive names (such as apiKey, accessToken, password, clientSecret, privateKey) or known token formats (sk-, ghp_, xoxb-, private key blocks). On import, redacted keys are never overwritten, so each vault keeps its own local credentials.

What happens if I import a bundle created with Pro into a Free vault?

Core settings (app.json, appearance.json, hotkeys.json) and CSS snippets still import normally with preview and pre-apply backup. Any per-plugin data.json entries in the bundle are skipped safely with a clear notice.

Can I undo an import if a theme or hotkey change feels wrong?

Yes. Every import saves a timestamped pre-apply JSON backup in your backup folder (Free and Pro), and Pro also records a rollback snapshot so you can restore the previous files and remove newly added snippets in one click.

9 Support

Plugin page: vault-settings-sync.

Report a bug or ask for a feature in the issue tracker of this repository. Include your Obsidian version and a minimal sample bundle (with any sensitive values removed).

To build from source:

npm ci
npm run build
npm test

10 License

MIT

Vault Settings Sync · Obsidian plugin documentation