README file from
GithubYandex Disk Sync for Obsidian
Synchronize your Obsidian vault with Yandex Disk. Supports bidirectional sync, conflict resolution, and works on mobile (iPad/iPhone).
Features
- Bidirectional sync with three-way merge algorithm
- Auto-sync on file changes (create, edit, delete, rename)
- Conflict resolution — choose per file: keep local, remote, or skip
- Push / Pull modes — one-directional sync when needed
- Works on mobile — uses Obsidian's
requestUrl(), no CORS issues - Exclude patterns — skip files by glob patterns (e.g.
.trash/**) - Max file size filter — skip large files automatically
Installation
- In Obsidian: Settings → Community plugins → Browse
- Search for "Yandex Disk Sync"
- Click Install, then Enable
Manual installation
- Download
main.js,manifest.json,styles.cssfrom the latest release - Create folder
.obsidian/plugins/yadisk-sync/in your vault - Copy the downloaded files into it
- Reload Obsidian and enable the plugin
Setup
- Open plugin settings
- Click "Войти через Яндекс" (Sign in with Yandex)
- Authorize in the browser and copy the code
- Paste the code and click "Подтвердить" (Confirm)
- Set the remote folder path (default:
/ObsidianVault) - Press the sync button in the ribbon or use the command palette
Commands
| Command | Description |
|---|---|
| Sync now | Run bidirectional sync |
| Push all | Upload everything to Yandex Disk |
| Pull all | Download everything from Yandex Disk |
| Abort sync | Stop the current sync operation |
How sync works
The plugin uses a three-way merge algorithm:
- Compares the current local state, current remote state, and the snapshot from the last sync
- Detects new, modified, and deleted files on both sides
- Resolves conflicts based on your chosen strategy (newer wins, local wins, remote wins, or ask)