A plugin for Obsidian
Advanced URI allows you to control many different features in Obsidian just by opening some URIs. Because they are just text and don't require any mouse clicks or keyboard inputs, they are perfect to automate your Obsidian workflow.
You can for example
Please read the documentation for a detailed explanation.
Settings -> Community plugins.Restricted mode.If the link does not work, open Browse community plugins and search for Advanced URI.
manifest.json and main.js to <vault>/.obsidian/plugins/obsidian-advanced-uri.Settings -> Community plugins and disable Restricted mode.Advanced URI.Advanced URI uses the obsidian://adv-uri URI scheme. You pass parameters in the query string to tell Obsidian what to do.
For example, to open Home Index/today.md, encode the file path and use it as filepath:
obsidian://adv-uri?filepath=Home%20Index%2Ftoday
You can launch these URIs in several ways:
Example markdown link:
[Open note](obsidian://adv-uri?filepath=Home%20Index%2Ftoday)
Example terminal command on Linux:
xdg-open "obsidian://adv-uri?filepath=Home%20Index%2Ftoday"
For parameter details, encoding rules, and more actions, see the full documentation.
obsidian://adv-uri?vault=<your-vault>&daily=true&clipboard=true&mode=append
obsidian://adv-uri?vault=<your-vault>&filepath=<your-file>&commandid=workspace%3Aexport-pdf
obsidian://adv-uri?vault=<your-vault>&filepath=my-file&heading=Goal
obsidian://adv-uri?vault=<your-vault>&filename=Brain%20Dumps
obsidian://adv-uri?vault=<your-vault>&daily=true&heading=Inbox&data=-%20New%20idea&mode=append
obsidian://adv-uri?vault=<your-vault>&filepath=my-file&openmode=silent
obsidian://adv-uri?vault=<your-vault>&settingid=editor&settingsection=Behavior
obsidian://adv-uri?vault=<your-vault>&filepath=my-file&exists=true
If you find this plugin useful and would like to support its development, you can support me on Ko-fi.