naipi11217 downloadsSynchronize vault files across devices through a private OneDrive app folder.
Synchronize Obsidian vault files across Windows, Linux, macOS, iOS, and Android through a private OneDrive app folder. The plugin communicates directly with Microsoft Graph and does not require the OneDrive desktop client.
Files.ReadWrite.AppFolder
permission..obsidian by default to avoid syncing device-specific settings and
the plugin's authentication data.This plugin is an early release. Back up your vault before the first sync. Avoid editing the same file on multiple devices at the same time.
Authentication tokens are stored in the plugin's local Obsidian data file.
Never share that file. The plugin always excludes its own data.json from
synchronization.
Install the plugin from the Obsidian community plugin directory when available.
For manual installation, place manifest.json and main.js in:
<vault>/.obsidian/plugins/onedrive-bidirectional-sync/
Then reload Obsidian and enable OneDrive Bidirectional Sync under Community plugins.
Each user currently needs a Microsoft Entra application registration:
Files.ReadWrite.AppFolder.All devices must use the same client ID, Microsoft account, and vault ID.
Remote files are stored under the application's private OneDrive app folder:
OneDrive/Apps/<application name>/vaults/<vault ID>/
The plugin stores a local synchronization snapshot and compares it with local file metadata and OneDrive item ETags. A one-sided change is propagated to the other side. If both sides changed, the local version is preserved as a conflict copy and the remote version replaces the original path.
pnpm install
pnpm typecheck
pnpm build