Obsidian URI
status:: #status/identified
up::
tags:: #obsidian #how-to #uri
Built in URI Commands
- Doc: https://help.obsidian.md/Advanced+topics/Using+Obsidian+URI
- General syntax:
obsidian://action?param1=value¶m2=value
action
s:open
:- Opens an Obsidian vault, and possibly open a file within that vault.
- Syntax:
obsidian://open?vault=<vault name or ID>&file=<file name or vault relative path>&path=<absolute file system path to a file>
search
:- Opens the search pane for a vault, and optionally perform a search query.
- Syntax:
obsidian://search?vault=<vault name>&query=<search query>
new
:- Creates a new note in the vault, optionally with some content.
show-plugin
:- Browses community plugin in Obsidian:
obsidian://show-plugin?id=<plugin-id>
- Browses community plugin in Obsidian:
Obsidian Advanced URI Community Plugin
- Obsidian Advanced URI allows you to control many different features in Obsidian just by opening some URIs commands. Because they are just text and don't require any mouse clicks or keyboard inputs, they are perfect to automate your Obsidian workflow.
- Example:
- I use this command with Automate Android app to create a widget that creates a new note.
obsidian://advanced-uri?commandid=zk-prefixer
- I use this command with Automate Android app to create a widget that creates a new note.
Get Command ID
- Using this DataView JS Query
Get Plugin ID
- Get core plugins ID from this blog post
- Get community plugins ID by searching the plugin here.