Hacker News new | past | comments | ask | show | jobs | submit login

Syncthing comes to my mind for that specific need. https://syncthing.net/



Syncing bytes is easy, many solutions exist (and syncthing / syncthing-fork is good at it).

Syncing by merging changes and resolving possible conflicts is a much harder task. Theoretically git has all the right bits, including the pluggable diffing and merging. In practice, I haven't seen it seriously used in this capacity.

This is to say nothing about files you only want on one node but not on another (heavy stuff lives on server and laptop, but not mobile, etc.)

This is why special-case syncing tools that know how to sync semantically are indispensable.


> In practice, I haven't seen it seriously used in this capacity.

What do you mean? What is preventing you from using git to sync your notes?


Most apps aren't built to use it, especially on mobile. Think of the use case of your grocery list--you want one tap, open the list, type type type, and done. Anything else--having to tap save, sync, write a commit message, etc... anything, is a fail in my opinion. Git is great to use behind the scenes but I don't want to see it in the UI or slow down my workflow.


Why the need for another step? Just have it auto save/commit/merge/push in the background once you finish typing.


Indeed, this can be done, but usually isn't. And when it is done, it looks like another proprietary syncing protocol.

The thing is that you should not expect a user to explicitly host a git repo somewhere to for a grocery list app. Most apps are designed for users who are unwilling to do that, and are actually ready to pay to avoid whatever technical hurdles.

OTOH I see a niche for an app geared towards more technical users, chich would, among other things, allow you to point at a git / hg / whatever repo to use as the synchronization point.


Syncthing on mobile is a little clunky because of OS limitations on background processes. Basically the reason I pay for Obsidian's own sync addon


I've turned on the settings to keep the service on in the background and start on system startup, no sync issues for me.


You can always use Mega sync.

And it has 15 GB free forever, just like Google Drive.

Mega sync has native clients in MacOS, Linux, Windows, iOS, Android.


Does it not ultimately have the same problem? i.e. when you open obsidian, there's no guarantee the files are up to date as Android may have killed the third party sync program. And on iOS, there's no way for the sync program and obsidian to share the same filesystem short of the obsidian devs explicitly integrating


Android does have Content Providers [0], basically apps can provide a "filesystem" which isn't locally stored on your phone and act like Network Shares. Caveat is that you need an internet connection.

[0] https://developer.android.com/guide/topics/providers/content...


Good question, because it is indeed the default behavior.

But you can always tweak settings to run the 3rd party sync app always in the baclground, and override the battery optimization setting for that particular app.


I use syncthing together with wireguard to keep my vaults synced across devices.


Syncthing works well on Android for photos, music, movies, and downloads. Not so much for notes. You'll end up with conflicts, and there aren't many great ways to merge changes on mobile.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: