(no title)
y42
|
8 days ago
Can you explain how you achieved it? I don't find it in your repo, I am too tired probably? However, I tried something different but stuck eventually with the receiving part on Android. One cannot just pull files from somewhere and put them into the Obsidian folder. I mean, not without efforts.
YuukiJyoudai|7 days ago
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.