I have a desktop PC I use as my “server” for notes and such. They are synced across my Macbook and iOS devices using Resilio Sync.
On iOS, Resilio Sync stores the folders I sync in its own folder of “On My iPhone” (in the “Files” app). However, the Obsidian iOS app can only interact with folders in its own iOS “Files” folder, and can’t open a vault from another folder on the device.
PC and Mac versions of Obsidian let you choose a folder on your filesystem to open an existing vault. I feel like iOS could (technically) support this too.
As an example Readdle’s “Documents” and “PDF Expert” iOS apps can access any folders/files (even if in a different folder) on the device that the user gives them access to (via an alert prompt). The following two screenshots are both taken from the Readdle “Documents” app:
I can easily see the iOS “Files” and navigate into it.
I acknowledge that the iOS filesystem sucks and is hard to work with, especially for developers trying to interact with it. I will try to come up with a better way of doing this.
I’m currently trying out Working Copy as well as GitJournal, which is open-source and meant purely for Markdown editing with git. Thanks @WhiteNoise for the help!
So, what I ended up going with (after trying several things)
Set up Obsidian vault on my iOS device.
On my Macbook, tell Resilio Sync to sync the iCloud Drive folder for Obsidian.
On my PC, I now have the folder synced via Resilio Sync.
iOS <—> Macbook <—> PC
I know iCloud Drive can be fiddly and get out of sync amongst multiple devices, but I don’t intend to do lost of simultaneous edits.
The only problem I anticipate is if my Macbook remains powered off for an extended period of time. In that case, edits from iOS wouldn’t get synced to the PC and vice versa.