Sync Engine: The Fast and Extensible Engine for Vault Synchronization (WebDAV, S3, Google Drive, Dropbox)

Disclaimer

Is this plugin open source? Yes
Is this plugin completely free? Yes
Is this plugin vibe-coded beyond the author’s ability to comprehend how it works? No, Sync Engine plugin is strictly human written. It contains many points of engineering ingenuity that no AI can replicate.
Community Directory: Sync Engine
Please choose Obsidian official syncing service to support the team if you haven’t made your mind yet. Sync Engine fits you if you have personal preferences or existing infrastructure.


Sync Engine is a new plugin, but not completely new. You probably know WebDAV Sync, which is my another plugin, as well as the predecessor of Sync Engine. After around one month of rewrite and another month of perfection, it has been rewritten from ground up in a modular style, and released as a new plugin, which is the Sync Engine you see right now.

Sync Engine adapts a modular architecture that no other plugins have tried: it loads modules, just like how Obsidian loads plugins. This modularity allows infinite extension of what it can do: backends, conflict resolution, sync decision, you name it. The core only focus on the most essential and necessary parts.

You can also develop your own modules, Sync Engine provides documentation and NPM package to allow easy extension. The official module catalog is hosted on GitHub and is fully transparent.

Sync Engine now supports WebDAV, S3, Google Drive, and Dropbox (via official modules), but this is only a start point. The modularity makes it able to extend to tens and hundred of backends.


Sync Engine is also probably the fastest syncing plugin, let’s see some real statistics:

Benchmark context:

  • Obsidian version: 1.13.4
  • Backend: Self-hosted Nextcloud WebDAV
  • Average ping: 400 ms
  • Average upload speed: 2.6 MiB/s
  • Average download speed: 4.8 MiB/s
  • During local testing, Nextcloud connection is delayed and bandwidth is limited to simulate middle-to-low network quality.

Benchmark result:

Item Sync Engine Remotely Save Nextcloud Sync
Version 3.0.0 + webdav module 0.1.7 0.5.25 0.7.38
2000 files upload 9.43 min 16.4 min 17.95 min
2000 files download 5.87 min 13.68 min 5.22 min
Daily simulation
(Original, 10 rounds)
Min: 1.04 s
Median: 1.44 s
Max: 48.56 s
Min: 99 s
Median: 129 s
Max: 326 s
Min: 1.27 s
Median: 2.75 s
Max: 60.55 s
Daily simulation
(Replica, 10 rounds)
Min: 1.06 s
Median: 1.72 s
Max: 3.49 s
Min: 111 s
Median: 117 s
Max: 204 s
Min: 0.4 s
Median: 3.94 s
Max: 55.33 s
Correctness validation 0 errors 0 errors 98 errors

See this page for benchmarking details.


More detail see documentation: covers usage guides, permission & safety claims, and how to develop a module.

3 Likes

I’m surprised that upload only / upload mirror or download only / download mirror options weren’t available from the start. Are they truly as complex as merging options?

Not really complex, these features will be added soon. You can write a module to achieve those sync strategies by the way.

Sadly I’m no dev, but the bidirectional sync will suffice while I wait.

Thank you for this plugin!

@dmantisk Mirror local and mirror remote sync strategies are implemented in v3.0.6.


Below is the reply to a Reddit user who posted this, Reddit shadowbanned my account for no reason so respond here. Welcome anyone to comment under the post with a link here:

Sync Engine invents a modular system is for development flexibility and performance at user side. Not to blame anyone since users might not know the technical detail, so let me claim here:

  • Like before, all of Sync Engine’s plugin source code, official modules’ source code, documentation content & source code, and module source deployment workflows are completely open-source in the GitHub repo. All of them are scanned by Obsidian’s automated plugin review.
  • Sync Engine has clear documentation on security, plugin permissions, and implementation details, that is rare among Obsidian plugin ecosystem.
  • About the module loading, Sync Engine has a meticulously designed mechanism to protect all users from attacks often suffered by extensible Apps.
  • Sync Engine’s main function was almost completed a month before the formal release. And a large portion of time was spent on documenting and security hardening after that.

A followup to the reddit post; Does the automated plugin review system of Obsidian cover the modules of Sync Engine? If not, is it possible to make it so without significant impact on your aims for this plugin (speed/etc.)?

@dmantisk The automated plugin review already covers everything, including plugin source code, all modules, docs, and deployment pipelines.

The statistics you see in Sync Engine’s scorecard is the sum of all above.

Thank you for the clarification.

:loudspeaker: Sync Engine Now Supports Google Drive

Thanks to the contribution of Quzzar, the development of the Google Drive module has completed. Sync Engine can sync to Google Drive now!

The module uses a smart workaround in the authorization flow. Unlike Remotely Save or Google Drive Sync, Sync Engine’s Google Drive module doesn’t need a third-party server to complete the authorization; your device talks directly with Google.

Usage detail see the Google Drive page in documentation. Still in alpha, use with backup.

New S3 benchmark is out! This is probably the fastest syncing plugin in the entire Obsidian ecosystem.

  • Obsidian version: 1.13.7
  • Backend: Self-hosted RustFs
  • Average ping: 400 ms
  • Average upload speed: 3 MiB/s
  • Average download speed: 5 MiB/s
Item Sync Engine
Version 3.2.0 + s3 module 0.1.10
2000 files upload 3.74 min
2000 files download 2.37 min
Daily simulation
(Original, 10 rounds)
Min: 0.35 s
Median: 0.6 s
Max: 1.08 s
Daily simulation
(Replica, 10 rounds)
Min: 1.3 s
Median: 1.58 s
Max: 6.24 s
Correctness validation 0 errors

Benchmarking detail see documentation page.

:loudspeaker: Sync Engine Now Supports Dropbox

The development of the Dropbox module has completed, Dropbox now is connectable within Sync Engine 3.4.0+. Note that the module is still in beta, and the Dropbox integration is still in testing phase. With more than 50 users we can apply for the official Dropbox review and transition to production phase.

The module inherited architectural benefits of Sync Engine. Its optimizer batches nearly all operations according to Dropbox’s official performance tips, and brings the speed that other plugins can rarely achieve.

The supported backend set will continue to expand, next priority targets include OneDrive, Aliyun Drive, and Yandex Disk. The ultimate vision is the coverage as large as Remotely Save, but far more speedy, elegant, and reliable.


Appendix: extended S3 benchmark result and feature matrix

Item Sync Engine Remotely Save
Version 3.3.4 + S3 module 0.2.3 0.5.25
2000 files upload 3.95 min 6.3 min
2000 files download 2.42 min 3.87 min
Daily simulation
(Original, 10 rounds)
Min: 0.37 s
Median: 0.7 s
Max: 7.63 s
Min: 2.16 s
Median: 3.1 s
Max: 76.12 s
Daily simulation
(Replica, 10 rounds)
Min: 1.4 s
Median: 1.71 s
Max: 6.17 s
Min: 1.87 s
Median: 2.68 s
Max: 32.4 s
Correctness validation 0 errors 0 errors
Total S3 cost $0.0585 $0.0702
Metrics Sync Engine Remotely Save Nextcloud Sync Nutstore Sync Google Drive Sync Easy Sync OneDrive Sync
Version 3.3.4 0.5.25 1.0.13 1.6.0 3.1.1 1.6.5 2.1.1
Transparent :white_check_mark: :warning: :white_check_mark: :warning: :white_check_mark: :white_check_mark: :white_check_mark:
Startup time 27.2 ms 251 ms 20.2 ms 298 ms 6.6 ms 60.8 ms 17.2ms
Plugin size 158 KB 4050 KB 595 KB 4230 KB 31.3 KB 1840 KB 482 KB
Sync hidden files :white_check_mark: :warning: :warning: :white_check_mark: :warning: :warning: :white_check_mark:
Move detection :white_check_mark: :cross_mark: :warning: :cross_mark: :cross_mark: :white_check_mark: :white_check_mark:
Chunked transfer :white_check_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark:
Metadata syncing :white_check_mark: :warning: :white_check_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark:
Encryption :white_check_mark: :white_check_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark: :cross_mark:
Conflict resolution Merge +5 Merge (PRO) +2 Merge + latest survives Merge +3 None Merge +3 Latest survives +2

Appendix detail see benchmark.