Full File System Access For The iOS App (Open Existing Vault/Folder)

I’ve set a reminder to look it up later. I had the same problem as you, and I still can’t help but think, “are you sure?”, but I suppose the devs know what they’re talking about.

The extended explanation was something like, they need to work with lots of files at once and that’s not practical with the folder API, or maybe the parts of the folder API that can do that are difficult to implement.

Again, Obsidian needs direct filesystem-level access to the Vault, not access mediated through iOS’s sandboxing API.

The only direct filesystem level access locations on iOS are Obsidian’s Private folder and Obsidian’s iCloud folder.

6 Likes

How about techs like webdev, ftp, onedrive API access etc?
For example, for watching videos (especially for large files), we should support steaming playing (with cache techs) for better experiences, rather than provide “sync” feature to do the “copy/paste whole files” task then finally to play.
For private purpose, I don’t want to use any online service (even just cloud storage) to do the sync tasks for my notes, so that Obsidian account sync feature is not an good option for me.

1 Like

Why cant obsidian iOS app access file folders like in the android app? This would be helpful to use the Reslio sync to synchronize my obsidian desktop with other devices.

It’s explained in the second post above yours.

I use 1Writer on iOS which lets you import any folder from the Files app and any operation (creation/deletion/modification) performed in 1Writer is saved properly in those files. The folder I imported is provided by the Nextcloud app, which will in turn automatically sync my changes with my cloud storage. If 1Writer can do this, I don’t really see why Obsidian can’t.

1 Like

My understanding is that Obsidian needs access for all the indexing it does, which is only provided in an app’s own folder.

Despite you can’t do it directly, you can use an intermediary computer (Mac or Windows) do do it. You can also use a virtual machine.

Do do it you’ll need a to install in the intermediary computer (IC) and sync App (I recommend Resilio Sync or Syncthing).

If the IC is a Mac, you just need to configure the Sync App with your vault folder and configure it in your other devices.

If you’re a Windows user, you’ll need to install iCloud before configure before the Sync App configuration/step.

For Linux, this solution also works, however to use it as IC you need additional steps and knowledge (i.e. Docker, etc) and maintain the stuff working properly may be more “hardcore”.

Limitations: It requires the IC always ON so the cross device sync work in realtime on all your devices. If realtime remote sync is not mandatory, just turn ON the IC when desired.

It’s not a beautiful solution, however it works. :wink:

I use Code App (AppStore Link).

Github Link.

It has access to the ‘.obsidian’ folder and can use git, node.js, etc.

And Working Copy. As you say, some apps have found a way to work around those iOS restrictions.

2 Likes

Hello,

Are they any news on that ? I will move from Android to iOS and it’s an issue that we can’t choose folder. I can deals with livesync plugin but with that I lost share folder and share note… I understand that iOS issue but maybe there is a way in degraded mode to use api instead of low level filesystem access.

Why does it need direct filesystem-level access to the Vault?

If there is another API that gives you access to the folder in a less direct way, you can simply build an abstraction on top of that.

because obsidian needs to monitor your vault (all files and directories) for changes so it keeps everything consistent/updated. We either can’t build an abstraction layer for some features that are missing or the performance penalty is astronomical. Obsidian is not simply a markdown editor, obsidian manages your vault.

1 Like

But with an abstraction you could cache the performance-critical changes in-memory and do updates of the filesystem async? Shouldn’t that alleviate any performance issues?

You can alleviate same but not all performance issues. You also introduce the problem of your notes not being the source of truth anymore and data losses if for whatever reasons you data isn’t written on disk.

Anybody wants full file system access, get a jailbreak.
Then you can move whole vaults around in a second or symlink folders (without using a terminal command even) to wherever.
This would also open whole new opportunities toward automation, sync, etc.

I want to back up my vault or access it on Google Drive on my iPhone.

I just wanna keep all my vaults securely in OneDrive. Seems weird that I cannot access them on my iphone/ipad at all. Even read-only would be better than nothing.

Hi there,

I own a Synology NAS, where I keep my main vault on.

I would like to access this vault on my iPhone.

I already set up another vault backed up on iCloud and know that you can store vaults (and copy existing ones) on your local iPhone storage.

What I would like to do is to open my existing vault on my NAS (which I can access through the “Files” app already on my iPhone) inside of Obsidian (without having to move/copy over my entire vault to my local iPhone storage).

Is there a way to do that? I hope I made myself clear with what I’m trying to do.

Any help is appreciated!

Thanks so much

You cannot, directly, that’s the reason for this FR (although I believe you are asking about opening a vault stored directly on a network drive which won’t happen, it would need to be synced to the phone).