3 ms·
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
by spondyl 3y ago
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/ 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