A url scheme that uses yaml to allow for stronger urls

Use Case

My use case is that in apps like Bear, I don’t have to worry about changing the title of a note because the URL pointing to it will always be a unique, unchanging id throughout. However, because Obsidian is just a collection of markdown files in a folder (or vault, as it’s colloquially known), the current URL scheme uses the file name in its calls.

While Obsidian is good at handling changes of the file name within its environment, there are external apps (like Things) where I sometimes add links from Obsidian. Now, I’m at a point where I don’t want to change file names because there’s a risk it’ll break an obsidian URL in another app.

My Proposal

I am aware that “Advanced URI” exists as a plugin, but I don’t think there is a URI plugin that uses the file YAML. If I create a YAML at the top like so:

id: 124453242342

The “yaml-uri” should allow me to create a URL that links to the id of the file. That way, so long as that id above stays the same, I can change anything else about my file and still have the link work in other apps.


What do you think? Is this doable? Does this already exist somewhere? Is there a better way to solve my use case?