Show HN: Open-source obsidian.md sync server
416 pointshttps://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
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+...
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.
Continue this thread — 2 replies
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
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
Bootstrapped startups deserve my money and commendable leadership should be rewarded.
https://obsidian.md/blog/verify-obsidian-sync-encryption/
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.
I wish you and your team good luck.
Continue this thread — 1 reply
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
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.
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
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.
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.
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
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.
Continue this thread — 5 more replies
All comments shown.
Couldn't load more comments. Check your connection and try again.