It would be awesome if one could access their Nextcloud files with a slash command (/nextcloud) and embed them in logseq. Similar to how the Zotero integration is currently implemented.
This, of course, could be enhanced even more to contacts, calendar etc.
Nextcloud integration would be good. Currently, I find that editing an .md file breaks a Logseq journal file, as all - headings are replaced with *. Could Logseq not accept * headings?
Thanks @Vulcan69 - unless you have incomplete edits on more than one device! Iāve started getting loads of edit conflicts in the last couple of weeks accessing Logseq in synced Nextcloud folders on Windows, Iāll try connecting to the share directly using WebDAV. Things seem a bit more reliable on Mac.
Just a quick warning. Donāt open logseq md files with Nextclouds native āTextā app. (web interface) It will reformat everything and breaks the page for logseq.
Nextcloud client saves files locally and keep them in sync when an Internet connection is available
WebDAV is a protocol to access remote files so you are editing remote files live
The quality of your WebDAV experience really depends on your client and to use it with Logseq you need your WebDAV client to expose those files as regular local files to Logseq. Operating systems generally have different ways to let programs āmount virtual file systemsā.
For example in KDE/Plasma (Linux desktop environment) native applications (supporting so called āKIOā) can access remote files as they were local using different protocols, including WebDAV. Third party apps like Logseq that donāt support KIO can still access those files thanks to a tool called KIO-FUSE that mounts remote directories as a virtual file systems, Logseq canāt tell the difference and just read/write there.
Thanks for the explanation. Iām using GNOME Files (Nautilus) and it too can mount WebDAV folders as local folders.
But WebDAV folders donāt work offline, so I was wondering why one would choose to sync a Logseq graph via WebDAV instead of the Nextcloud client, which would seem more reliable to me.
Does WebDAV have any advantages Iām missing for this use case?
Since files are edited live you are less likely to get conflicts: when you sync files with something like Nextcloud client, if you edit a file with a device but the Internet connection doesnāt work, then later you edit the same file with another device and only at the end the connection work again what would happen? Probably only more recent edits on the second device are stored and the other ones are lost. I didnāt try it, but this is the kind of issues.
In general another advantage of WebDAV is browsing large archives with many big files that you donāt want to keep synced.
Maybe, if you have very large files that you want to mention in your graph but you are OK with them being available only when there is an Internet connection, you can try a mixed approach:
create a folder in your graph one to contain only big assets
sync everything but that folder with Nextcloud client or Syncthing
mount that folder using WebDAV so that the big files are in a remote server
Iām new to Logseq and Iām very intrigued, but an integration with Nextcloud is kind of a must for me. Iām working on a chromebook often and it does not have webdav support, so thatās not an option.
I hope Nextcloud integration will be possible in the not so distant future.
Nextcloud integration would be good. Currently, I find that editing an .md file breaks a Logseq journal file, as all - headings are replaced with * . Could Logseq not accept * headings?
This is not a Logseq problem, but rather a Nextcloud problem. Their webapp editor breaks formats, it is only good for nextcloud use only. It is good because it is possible to do simultaneous editing. Iāve personally disabled it and will enable it when they will have made it not reformat everything.
As for Nextcloud syncing, it already works fine. It doesnāt work as well with mobile device. And thatās again a Nextcloud problem since their mobile Nextcloud client wonāt sync like it syncs on desktop devices. So another route is needed.
Hereās my post on the subject:
FolderSync (thereās other things Iāve mentioned on the subject of syncing on this thread):
My conclusion is this aināt a Logseq feature beside Webdav integration where it would allow using a webdav stored Logseq graph and perhaps also be able to use webdav file and video embeds. I remember trying to embed a video from Nextcloud but it failed.
So my recommendation would be to change this feature request for webdav integration. I also recommend taking a look at the above link to provide a self-hostable solution which could eventually provide collaboration features. I also recommend using a git (self-hosted, private or public, depending on your needs) repository when trying to sync with multiple solutions (for instance, Nextcloud and FolderSync) (remember to filter out the .git folder with FolderSync) to get a backup solution and be able to see if something was altered.
So far, I did not have any sync problem with Nextcloud and FolderSync, the only problem I see is when a page is simultaneously edited or if a page is edited on Desktop and mobile device (since there is a sync delays on mobiles with FolderSync).
Edit:
Here is the feature request for 2 way syncing Nextcloud client on mobile: