Here’s what I’ve found on syncing for android. This isn’t really advancement for this topic, but I wish to draw attention to the matter and bring development in self-hosted syncing.
I’ve been using Foldersync with a cloud storage (Nextcloud in my case). Foldersync is able to sync though webdav, but it is quite slow. I’ve been able to make it almost 10 times faster as it was. Here’s my config:
- Filtering out bak using filter, folder name equal bak.
- With the above filtering, schedule syncing becomes less battery intensive so I schedule to sync every 15 minutes (could be 5 for move intensive).
- Instant push helps syncing what is being done on the mobile device more instantly and thus help prevent erasing progress from another device.
- On both file modified, I use “Always use remote” because put more trust on desktop device, but this is likely overkill.
- I also disable deletion. This prevent all file deletion as foldersync will always sync them back so it is quite irritating and also likely overkill.
I’ve found out Tasker which is able to launch FolderSync. I stopped using it since it was only a free 7 days trial (I thought it was free) but the app is quite cheap. Here’s what I had:
- Event on fille modified on folder pages (in logseq folder) that trigger sync after 3 minutes wait.
- Same but for journals folder.
- Apps Logseq trigger sync. So everytime Logseq becomes active it (only once) launch sync. Switching from apps back to Logseq will also trigger this sync.
I will be testing out collaboration on mobile device with the foldersync configuration. Of course, this won’t be real collaboration but just working on the same logseq data.