Lurker News
https://github.com/acheong08/obsidian-sync

Hello HN,
I'm a recent high school graduate and can't afford $8 per month for the official sync service, so I tried my hand at replicating the server.
It's still missing a few features, such as file recovery and history, but the basic sync is working.
To the creators of Obsidian.md: I'm probably violating the TOS, and I'm sorry. I'll take down the repository if asked. It's not ready for production and is highly inefficient; Not competition, so I hope you'll be lenient.

Comments (152) 27 threads

kepano34 replies#
(Obsidian CEO here)

Impressive! It's fun to see the diversity of ways people sync/backup their Obsidian files. The nice thing about storing all your notes on your device is that it makes it possible to move and edit your Markdown files in many different ways. That diversity of solutions is what makes the ecosystem of Markdown tools resilient over the long term.
There are already a handful of tools that allow you to sync your notes for free, including Git, Syncthing, and some other options more specialized for Obsidian (see community plugins).
Obsidian is a small company, we're not VC backed (100% user-supported), so the Sync pricing helps us stay in business and keep the lights on. We also have a 40% educational discount on all our services[1] so you could be paying $4.80 instead of $8 :)
Reverse engineering things is a fun technical challenge, and also helps us find potential holes in our system. The main problems I see with your solution: 1. it could easily break in a future update to the app, 2. "Obsidian Sync" is a trademark, so you should consider renaming the repo otherwise it can be confused for an official tool — that would be my only request
[1]: https://help.obsidian.md/Licenses+and+payment/Education+and+...

dabeeeenster#
What a wonderful reply. Thank you and kudos!
ilyin1 reply#
Time and again I keep being impressed with your selfless commitment to building and sharing things in the most humane and long-term way. A beautiful example to set, thanks.
LorenDB3 replies#
> Time and again I keep being impressed with your selfless commitment to building and sharing things in the most humane and long-term way.

And yet they haven't open sourced the app. That would be truly humane and long-term. As it is, it's just another proprietary app that, if it dies, can't be continued by the community.
I don't think monetary issues should be a concern with open sourcing the app - companies like Bitwarden, Gitlab, and New Vector (the company behind Matrix) are doing just fine with their open source products.

brightball2 replies#
If it dies I’ll still have all of my content in easily portable markdown though.

Continue this thread — 2 replies

rexpop2 replies#
Under capitalism, it's reasonable to charge for products and services.

The jury is still out on "companies like Bitwarden, Gitlab, and New Vector". Kudos to them for pioneering novel business models.

Continue this thread — 2 replies

abnry2 replies#
The kind of comment really, really rubs me the wrong way.

Your data isn't locked up in a format. Just use logseq or something if obsidian disappears.
Those who write the code have the right to control its source code. They aren't "inhumane" or thinking "short-term" just because its not open source.

Continue this thread — 2 replies

intellectronica2 replies#
This attitude is in no small part the reason I'm happy to pay those $8 every month - support a great team building and continuously improving a package so useful it has become an integral part of my life and, as a bonus, get a slick and reliable sync service on top.
throwaway5959#
Came here to say this. Keep up the great work!
guiambros#
Same. Love Obsidian, and pay for Sync mostly to contribute to the fantastic work they do.
jpgvm#
I had never heard of your service until now but your reply has probably landed you $8/month.

Bootstrapped startups deserve my money and commendable leadership should be rewarded.

vGPU#
I was previously using a third party sync solution, but guess who just got a new subscription?
belthesar1 reply#
A response like this was exactly the reminder I needed to upgrade my Catalyst license. My opsec can be a little on the paranoid side, so while I believe y'all have the best of intentions and would build sync with the expectation that my data is safe, I would prefer to not use your sync service. But I use Obsidian so regularly that it's definitely worth supporting good work done by folks that align with me. Keep up the wonderful work, both as a software company and as a beacon for how to be a good steward in an increasingly cynical industry.
kepano#
For reference, below is our blog post on how you can verify the Sync encryption. Most people don't have the time or skills to set up their own sync service, but if you do setting up a DIY solution can be a fun project.

https://obsidian.md/blog/verify-obsidian-sync-encryption/

dansalvato#
I'm a brand new user and thought all this time that Obsidian Sync was 100% cloud-only, so I spent a bunch of time trying to spin up a custom sync solution. This comment inspired me to look more carefully at it, and now I'm a paid user!

I only wish that https://obsidian.md/sync made it more obvious that you can sync a local vault to the cloud. Emphasis on "You still own your data, no vendor lock-in" is a huge sell for users like me who are typically forced to choose between seamlessness vs. owning our data. I'm delighted to learn that Obsidian offers both.

entilzha1 reply#
While you’re here, a killer feature for me would be the ability to privately host obsidian sites (similar to publish). Even if it required subscribing to publish to download a tarball of the site (that isn’t public), it could still be worth it. My use case is sharing obsidian notes with non-users (eg coworkers) in a private way.
entilzha#
I tried a few a while back. What I really want is as close to 1-1 to obsidian UI as possible. I found with some of the plugins that it could be hit/miss on working correctly. If I were doing only markdown notes, then wouldn’t need obsidian ;)
rogeliodh1 reply#
Please consider regional prices. US$8 monthly is high for in-develop countries
kepano1 reply#
This is very hard for us to do because we want to remain a small team — it will introduce a lot of complexity for payments/localization
gandalfgreybeer1 reply#
I never tried Obsidian because the recurring price was too steep for me and I understand that localization will be a challenge. I do have to say, however, that your responses here actually sound sincere (and the reaction to OP's project is something I would not have expected) to the point that if I really need something similar to your product, I am definitely reconsidering.

I wish you and your team good luck.

Continue this thread — 1 reply

spondyl#
This sync server project is pretty handy for a headless daemon I had been meaning to cobble together in the background.

The sort of thing that could say; pull down markdown files inside a CI pipeline from the sync server which is probably better handled using Git for sync but it seemed like a fun challenge.
I've got most of a working implementation from trawling through minified Obsidian code with the debugger, which of course is now a little moot given the OP's project basically captures everything needed.
Anyway, one core problem I ran into was how to decrypt file blobs. I was dreading the amount of time I would have to waste trawling through all the bits required and then they just... tweeted it out: https://obsidian.md/blog/verify-obsidian-sync-encryption/
I'm sure it would be possible to reverse engineer with enough time of course but it's nice to see some "unofficially official" user script type stuff. It gives the perception (and I'm sure it's accurate) that they dogfood and tinker with their own stuff as much as anyone else in the community.
EDIT: Ah, I missed that Kepano had already shared that blog post below already but it's still a neat writeup

andymac41821 reply#
I have been looking at building a self hosted implementation of this service because of compliance reasons.

The $$$ of the service isn't the issue but making sure there is a good compliance option and self hosted to ensure that data doesn't leave boundaries and is stored securely on company servers.
If there was an option to have a paid self hosted option I would happily look at paying for that.

kepano1 reply#
Down the road we might make something like that for the commercial use case — makes sense.
guiambros#
+1. Many companies have policies against the use of 3P cloud services, so Obsidian Sync is a non-starter in those cases, irrespective of the data being e2e encrypted.

Having a paid option where you can plug your own cloud storage (e.g. a Google drive folder, Dropbox, AWS, etc) would be fantastic. I'd gladly continue paying for my Sync subscription, but be able to point to my own cloud storage instead of Obsidian's servers.
But I understand you'd have to push the syncing logic to the client, and that is non-trivial. Alternatively, you could offer an official self-hosting server option, although it might not solve the issue for corporate users.

Continue this thread — 23 more replies

surge2 replies#
You're prob not violating ToS since you're not doing it for commercial use, and you're actually reinventing the wheel as a couple of options for that are already available as community plugins. I've been using Remote-save for a while with a almost free private S3 bucket and encryption to sync between my computers and phone for a while.

https://github.com/remotely-save/remotely-save
It supports more than just S3 (as is listed in the README), its just what I use.
That said, what you made is pretty cool. I guess you're trying to replace the API/backend similar to Vaultwarden does with BitWarden paid service.
For me, its not that I can't afford $8 a month, its just that $8 is to me fairly steep for basic file storage and sync I get for free from some services. $12 a year would be a fair price to me. I get some of it goes to support Obsidian development, but still seems steep, $2-3 a month would be something I'd subscribe for.

nsteel#
Remotely save is excellent. I use it with WebDAV to work between my computers, phone and tablet.
echelon2 replies#
If Obsidian stops acheong08, I'm done with Obsidian.

I want a durable way to edit, sync, and preserve my notes, not just a pretty interface.
I'm happy to pay Obsidian for sync, but if they PM this to only one distribution channel and subsequently enshittify it, I don't want it. Stopping acheong08 would be a bad signal forewarning what's to come.

rs_rs_rs_rs_rs1 reply#
Dude, just pay the $8, no reason to cluch your pearls like that.
echelon1 reply#
I don't think my comment was uncalled for. The OP was worried they broke the TOS by writing their own service. I wanted to reassure them that any move by Obsidian to squash them would be met with incredible scrutiny.

I already pay Obsidian, both monthly and with the one-time donation. I mentioned it in my comment. My post was upvoted +3 until you responded with snark. Now it's at -4.
Not sure how I'm pearl clutching.

Continue this thread — 1 reply

karpour1 reply#
I'm using syncthing with Obsidian but of course i have regular conflicts which i just deal with manually. Thanks for pointing me to this!
runjake#
FWIW, I get sync conflicts with Obsidian Sync pretty regularly. They're always pretty minor and not worth complaining about, but they happen nonetheless, and it may not be entirely SyncThing's fault.
freedomben3 replies#
I'm using Syncthing to keep in sync between a desktop and two Android phones over tailscale, and it works pretty good, but I have to occasionally open the Syncthing app on Android to "bump" it and get it to sync. It's in a git repo (which syncthing handles great even though there are some older posts online telling you not to do that), and on the desktop I can review and "sanity check" stuff and then commit it to ensure it is safe. Overall a good solution.
UltimateEdge#
Why not exclude the .git directory from being synced, if you're not going to be committing on your mobile devices? This is what I do.
ephbit#
> .. I have to occasionally open the Syncthing app on Android to "bump" it and get it to sync.

Almost the same with me.
Turning WIFI off and on again is easier on my Android, it triggers syncthing to sync. But that might also require you to have set the run conditions of syncthing accordingly.

MikusR#
The great thing about syncthing is that it has public relays.
dmje6 replies#
FWIW - the sync service provided by Obsidian is really worth paying for. Dropbox / Github just aren't as slick and integrated. The mobile app doesn't work without sync (not without some really nasty workarounds), the option to "view sync version history", the fact that it's rock solid... all worth paying for IMO.
xmprt#
I haven't tried Dropbox or Github or Syncthing like others have suggested but having tried Obsidian Sync I'm not as impressed as everyone else seems to be. Maybe I need to set my bar lower but especially on my phone, background sync doesn't work well and it usually takes a few seconds to load and a few more seconds to sync the data which feels like ages considering all the data required to load it is already on my phone and the diff is a few paragraphs at most.

Continue this thread — 5 more replies

Load more comments