DSN51 downloadsSync your Obsidian vault notes and attachments to Supabase.
An offline-first, high-performance Obsidian plugin that bidirectionally synchronizes vault notes to a Supabase PostgreSQL database (including frontmatter metadata) and binary attachments to Supabase Storage.
[!WARNING] Back up your local Obsidian vault before installing or configuring this plugin. Although this plugin includes safeguards to prevent accidental file deletion, a fresh backup is highly recommended during initial setup and testing.
Note: This is an unofficial sync solution. Obsidian Sync is the officially supported service.
This plugin uses an offline-first, event-driven architecture to keep your notes and attachments in sync:
For a detailed step-by-step setup guide, see the Supabase Setup Guide.
https://your-project-id.supabase.co) and your Supabase API Key (typically your anon public key). Click Test Connection to verify database and storage access.2 seconds).0 to 60 seconds to trigger automatic syncs periodically. Set to 0 to disable interval syncs. Note that interval syncs only execute when the Obsidian app is actively in the foreground to conserve battery life, particularly on mobile.Ctrl+P (or Cmd+P on macOS) and select:Supabase Vault Sync: Sync Vault with Supabase Now — triggers standard sync.Supabase Vault Sync: Reset Sync Metadata (Re-sync all files) — clears local sync cache so the next sync scans and updates all vault items.To maintain remote deleted files retention policies:
7 Days or "All Soft-Deleted Files" to select everything) and click Clean Up Now to permanently purge matched soft-deleted records and storage binaries from Supabase.You can easily back up your synchronized files in the Supabase database by exporting them to a local SQL file:
deleted_at timestamp exists) in your backup..sql file named <vault_id>-backup-<timestamp>.sql containing full INSERT ... ON CONFLICT DO UPDATE statements. This file can be run directly in your Supabase SQL Editor to restore or seed your vault data.For more in-depth information, check out the following guides:
MIT. See LICENSE.