SuperSync
approvedby Rahuletto
Sync an Obsidian vault with a private GitHub repository using the GitHub API on desktop and mobile. - This plugin has not been manually reviewed by Obsidian staff.
SuperSync
SuperSync is a simple, no-fuss Obsidian plugin that backs up and syncs your vault directly to a private GitHub repository.
Unlike other git plugins, SuperSync doesn't need Git installed on your device or command-line setup. It uses GitHub's official APIs under the hood, meaning it works perfectly out-of-the-box on both desktop and mobile (iOS & Android).
Features
- Works Everywhere: Syncs across iOS, Android, macOS, Windows, and Linux without any extra setup.
- Easy Login: Authenticate securely using GitHub's official device code flow. No copy-pasting personal access tokens or passwords—just enter the code in your browser and you're good.
- Safe Conflicts: Never lose your edits. If you modify a file on two devices at once, SuperSync keeps both—it preserves your local changes and saves the remote version with a
.conflict-[timestamp]suffix. - Flexible Syncing: Choose to sync automatically on startup, immediately after making changes, or on a timer.
- File History: Browse past versions of any note and restore them directly inside Obsidian.
- Simple Ignore Rules: Keep things clean by ignoring system files (
.DS_Store), trash folders, or workspace states with standard glob patterns.
Installation
From the Obsidian Community Store
If you have Obsidian open, click the badge below to jump straight to the plugin page:
Manual Install
If you prefer doing it manually:
- Download
main.js,manifest.json, andstyles.cssfrom the Releases page. - Put them in your vault under
.obsidian/plugins/supersync. - Open Obsidian, go to Settings > Community plugins, hit refresh, and enable SuperSync.
Setup Guide
Step 1: Log In
- Go to Settings > SuperSync in Obsidian.
- Click Sign in with GitHub.
- Copy the code that pops up and authorize it at github.com/login/device.
Step 2: Start Syncing
Trigger a sync (click Sync now in the settings tab, open the status panel, or press Mod + S).
SuperSync will automatically look for a repository named obsidian-sync in your account. If it doesn't exist yet, it will automatically create it as a private repository for you and start backing up your files.
Step 3: Customize (Optional)
You can change the default repository name, branch, root folder, and sync interval directly in the settings tab.
Local Development
SuperSync is built using Bun.
Prerequisites
Make sure you have Bun installed:
curl -fsSL https://bun.sh/install | sh
Getting Started
- Clone this repository.
- Install dependencies:
bun install - Create a
.envfile in the root directory:OBSIDIAN_VAULT_PATH=/absolute/path/to/your/Obsidian/Vault DEVICE_FLOW_CLIENT_ID=your_github_oauth_client_id
Handy Scripts
- Build:
bun run build - Test:
bun run test - Sync code to vault:
bun run sync-plugin
Security & Privacy
- Direct connection: The plugin connects directly to GitHub. Your data is never sent to any third-party servers.
- Local tokens: Your GitHub OAuth token is saved locally in your vault (
.obsidian/plugins/supersync/data.json) and never shared.
Developed by Rahuletto.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.