使用logseq,在不同裝置上同步資料常出問題,上網看有人推介syncthing,試裝一下,並寫下筆記。
Debian安裝syncthing
sudo aptitude install syncthing
直接在命令列執行
syncthing

如果你有防火牆的話,記得要開啟防火牆的22000 port,才找得到其他的裝置。
android手機安裝syncthing
直接在Google play安裝即可。
在電腦上用網頁GUI設定要同步的資料夾
選 + Add Folder

上例是我想將電腦中的Chinese-Medicine資料夾和手機中的同步。
接下來按Sharing,將你要同步的設備選進去。

我的pixel手機上會收到這樣的通知。

按新增->儲存後,就會開始同步了。