Two things separate it from treating the vault as a folder: it can read the note you currently have open, and patchNote inserts relative to a heading or frontmatter field rather than rewriting the file. It goes through the app, so Obsidian has to be running.
A connection to a running Obsidian through its Local REST API plugin: read notes including the one currently open, list the tree, insert content at a precise anchor, and search with JsonLogic queries.
- A note read by path
- The note currently open in Obsidian
- Files and folders listed recursively, from the vault root or a folder you name
- Content appended, prepended or replaced relative to a heading, block reference or frontmatter field
- Notes searched with a JsonLogic query
Node.js 18 or newer, Obsidian running with the Local REST API plugin installed, and the API key that plugin generates — passed with the host and port it listens on.
