Martin Schumacher102 downloadsSynchronize all Nextcloud Collectives of a server bidirectionally with your vault.
English | Deutsch
An Obsidian plugin that syncs all Nextcloud Collectives of a Nextcloud server with your vault, in both directions. Each collective becomes a folder in your vault, each page a note. You edit in Obsidian, on desktop or on your phone, and your colleagues keep working in Collectives in the browser. When both sides change the same page, the plugin keeps both versions instead of overwriting one.
Install it from Obsidian's community plugins (see Installation).
⚠️ Disclaimer
This plugin is provided "as is", without warranty of any kind. Use it at your own risk. The author takes no responsibility for corrupted, overwritten or lost notes or any other data loss resulting from the use of this plugin. Always keep an independent backup of your vault and your Nextcloud Collectives before using it. See the MIT License for details.

Conflict dialog: choose which version to keep.

Deleting on the server needs your tick first.

Settings: server, sign-in and app password.

The log for reporting problems; credentials are never logged.

Read Risks and backup before your first sync. For every way, restricted mode must be off: in Obsidian under "Settings › Community plugins", community plugins must be allowed.
Obsidian installs updates under "Settings › Community plugins › Check for updates". The plugin's page in the community directory: community.obsidian.md/plugins/nextcloud-collectives.
BRAT installs plugins straight from the GitHub repository (releases). Use it to stay on a specific release, or to get a new release before the community directory has picked it up.
https://github.com/keineantwort/obsidian-nextcloud-collectives (or short: keineantwort/obsidian-nextcloud-collectives).From then on, BRAT checks for new releases when Obsidian starts (by hand: command "BRAT: Plugins: Check for updates to all beta plugins and UPDATE"). If you picked a specific release, the plugin stays at that version until you choose another one in BRAT.
If you installed the plugin with BRAT before, it is the same plugin as in the community plugins; your settings and notes stay. To let Obsidian update it instead of BRAT, remove it from the list of beta plugins in BRAT's settings (this does not uninstall it).
main.js, manifest.json and styles.css from the latest release..obsidian/plugins/nextcloud-collectives/ and put the three files into it.On a phone, the .obsidian folder is hidden, so it is easiest to prepare the vault on a desktop computer. With this way, you also install updates by hand.
To build it yourself: npm ci && npm run build creates main.js in the project folder; manifest.json and styles.css are already there.
https://cloud.example.com.Details: Getting started in the manual.
The plugin writes in both directions: into your vault and to your Nextcloud server. A bug can change, move or trash pages.
The plugin connects only to the Nextcloud server you enter in the settings. It needs that server to sync:
/index.php/login/v2, opens the login page of your server in the browser) or an app password you enter./ocs/v2.php/cloud/capabilities and /ocs/v2.php/cloud/user./ocs/v2.php/apps/collectives/…, /ocs/v2.php/apps/circles/…) and WebDAV (/remote.php/dav/files/…) for page contents and attachments.The plugin uses no other services: no telemetry, no analytics, no update checks. Links to this manual and to Ko-fi (for example in the settings) open GitHub or Ko-fi in your browser only when you click them; the plugin itself never connects to Ko-fi. The plugin reads and writes files only inside your vault. It writes to the clipboard only when you press Copy log in the log view, and it never reads the clipboard.
The plugin is free and stays free. If it saves you time and you want to say thanks, you can leave a tip on Ko-fi (the button at the top of this page does the same). This is entirely voluntary and gets you nothing in return.
The user manual explains every part of the plugin:
The command Show log (also in the settings under "Diagnostics") shows what the plugin did in this session and lets you copy it. With the setting "Detailed log", every request to the server is listed too (method, path, status, duration; never passwords or contents). The log is kept in memory only and is gone after a restart. More in Troubleshooting.
Report bugs and ideas as GitHub issues. Attach the log, and check it first for anything you do not want to share.
See CONTRIBUTING.md.
Thanks to Nextcloud Sync by Daisuke ITO (MIT): its sign-in, conflict handling and WebDAV parsing served as a reference. No code was copied.