Hi folks,
I’m trying to migrate from Bear.app, and the one key feature I haven’t been able to reproduce is a quick shortcut that allows me to dictate notes on the fly. I’m pretty sure I haven’t seen this problem in the forums, but apologies if it’s been covered elsewhere.
What I’m trying to do
My goal is to set up a Zettelkasten that I can easily access from my desktop and phone (iOS), and be able to dictate new notes as they come to me. I set this up in Bear.app using a Shortcuts script that asks for the note title, asks for the note body, and then creates a new Bear note with the same title and body.
Things I have tried
I’ve been able to sync my desktop and iOS vaults using the Obsidian Sync plugin, and I’ve created a new Shortcuts script that generates a new [title].md file and drops it into the folder of my choice. The only problem is that I apparently(?) can’t use one with the other.
I can tell Shortcuts to save the file either to iCloud or Dropbox. If I turn off Obsidian Sync and choose iCloud, I am limited to creating files in the “Shortcuts” folder on iCloud. Obsidian’s app, of course, is limited to accessing files in the “Obsidian” folder on iCloud. So I can’t save the .md files in the directory they need to go in for Obsidian to read them.
I can put my local directory on Dropbox and turn on Obsidian Sync, and that would allow me to access the directory with both Obsidian and Shortcuts. But I’ve read warnings against combining Obsidian Sync with other sync services like Dropbox, because if you end up crossing the streams, file corruption happens, Zuul is able to enter our realm, etc. … I honestly don’t know enough to understand the issue, and perhaps I’m misreading the warnings?, but at least for now, I’m not doing that.
That leaves me with keeping my Obsidian notes in a local folder on my desktop and using Obsidian Sync to connect it to the iOS app, which works beautifully… but I can’t dictate notes and add them to the directory, because I can’t tell Shortcuts to save the .md file to the local folder on my desktop, which it can’t access.
It might (?) be possible to use Obsidian’s URI functionality in a Shortcuts command and have the note go straight to the Obsidian app, as I currently do with Bear.app, rather than into the synced directory… but I’ve looked over the URI syntax, and I think I’d need to specify three things (vault, filename, content), and it looks like it only accepts two inputs. I’d also have to do potentially a fair amount of URI encoding, and before I try to dig into that, I thought I’d check in with the Obsidian community to see whether I’m missing something obvious (and easier). Thanks in advance for any advice.