|
|
|
|
|
by YuukiJyoudai
118 days ago
|
|
Thanks for being my very first HN reply — genuinely appreciate it. The short answer: I cheated by staying in the Apple ecosystem. The sync has two layers: - *macOS ↔ iOS*: iCloud handles it natively. Obsidian's iCloud vault is just a folder, both devices read/write the same files, syncs in seconds.
- *macOS ↔ GitHub*: A launchd job runs `git add + commit + pull --rebase + push` every 5 minutes. That's the entire mechanism — it's in `scripts/sync.sh`. So there's no magic — iCloud does the heavy lifting for mobile, Git handles versioning and cross-platform backup. Your Android problem is real and hard. Android doesn't give apps transparent filesystem access the way iCloud vaults work on iOS. I haven't solved that yet. The closest path I can think of: Termux + git clone + symlink into Obsidian's storage, but that's far from "zero effort." This is worth thinking about more deeply. If I find a clean solution, I'll come back and share it here. |
|