Klippel16 downloadsSync your vault with a Nextcloud folder over WebDAV, with conflict copies and deletion safeguards.
Sync your Obsidian vault with a folder on your Nextcloud server over WebDAV. Works on desktop (Linux, Windows, macOS) and mobile (Android, iOS).
The plugin interface is currently in Brazilian Portuguese. Documentação em português: README.pt-BR.md.
note (conflito YYYY-MM-DD HHMMSS).md next to the local one.From Obsidian: Settings → Community plugins → Browse, search for NextSync, then install and enable it.
Manual installation: download main.js, manifest.json and styles.css from the latest release and copy them to <vault>/<configuration folder>/plugins/nextsync/ (the configuration folder is .obsidian by default).
https://cloud.example.com).| Situation | Action |
|---|---|
| Changed only in the vault | Uploaded to Nextcloud |
| Changed only on Nextcloud | Downloaded to the vault |
| Changed on both sides | Conflict copy of the server version, local version kept and uploaded |
| New file on one side | Copied to the other side |
| Deleted in the vault | Deleted on Nextcloud (after confirmation, if enabled) |
| Deleted on Nextcloud | Local file moved to the trash chosen in Obsidian's Files and links → Deleted files setting |
| Deleted on one side and changed on the other | The changed version is restored |
On the first sync, files that exist on both sides are compared byte by byte. If they differ, a conflict copy is created and nothing is overwritten.
/remote.php/dav/files/…) to list, upload, download and delete files in the chosen folder, and the OCS API (/ocs/v2.php/cloud/user) to verify credentials and find your user ID. No other remote services are contacted.localhost..., backslashes or control characters are ignored.If-Match with the last known ETag. A file changed on Nextcloud since the last sync is never deleted; it is restored to the vault instead..trash folder or system trash); server deletions go to the Nextcloud trash bin.npm ci
npm run lint
npm run build
Requires Node.js 18 or later.