Obsidian Introduces Obsidian CLI(help.obsidian.md)
help.obsidian.md
Obsidian Introduces Obsidian CLI
https://help.obsidian.md/cli
7 comments
A lot of this was already doable, since it's built on almost entirely plain text files, but a friendlier interface is always welcome, and being able to work with bases is a huge plus.
You couldn’t use Obsidian sync headless though.
I think you still can't... but probably on the roadmap since that will be killer
https://x.com/CoenJacobs/status/2021252503711461474
https://x.com/CoenJacobs/status/2021252503711461474
i wonder what usecase they are targeting. one of the nice things in obsidian is to work with the text; iterating on format and contend.
obsidian handles a lot of useful little things out of the box, like updating links when you move files/attachments
another big win for the CLI is access to dynamic note database queries via Obsidian Bases. major leverage for agents
another big win for the CLI is access to dynamic note database queries via Obsidian Bases. major leverage for agents
I welcome this "scriptability" improvement. I often have to do some bulk updates across a few dozen files and while I can whip up python or sed - I'd rest assured there's a more stable interface. but more importantly it opens doors to integrations with applescript and claude and whatnot
I guess if you want sync “headless” you are still stuck running Obsidian in a VM/Container so the main UI can work. It’s absolutely a step up.
I’d really like to hook the agents I interact with (Claude Code mostly, but also some stuff I’ve been working on for myself) into Obsidian, to use it as their “memory” so that I have an easy way to browse/edit it all. Obviously they can just work with the raw files (Obsidian or otherwise) but I like having all the “knowledge” inside where I already store my notes.