News for hackers. Stuff that matters.
Re:Obsidian Sync now has a headless client by jadbox on Saturday February 28, 2026 @01:12PM (#47198448)
It's not super useful yet- you can't really view notes in the CLI but you can can trigger features like search.
Re:Obsidian Sync now has a headless client by WNWceAJ9R9Ezc4 on Saturday February 28, 2026 @01:21PM (#47198554)
Notes are stored in Markdown files. Why do you need Obsidian CLI to view notes when `cat` will do?
Re:Obsidian Sync now has a headless client by goodmythical on Saturday February 28, 2026 @01:36PM (#47198699)
Okay, so my command line fu is not what it perhaps should be, but if I could use obsidian without the bloated app, I'd be even more in love.

How would I be able to search obsidian links from the command line?

Like, to travel between notes in the app of course I can just click on connecting links or search, but I wouldn't have the faintest idea how to do that in a cli.

Is there some handy way to search the current folder and subfolders for text in a file with regex? Like some kind of >find term for all of my [[term]] entries in markdown files ?

Re:Obsidian Sync now has a headless client by toddmorey on Saturday February 28, 2026 @01:39PM (#47198734)
What is obsidian beyond a pile of markdown files without the app?
Re:Obsidian Sync now has a headless client by chrisweekly on Saturday February 28, 2026 @03:50PM (#47200070)
ripgrep?
Re:Obsidian Sync now has a headless client by xnyan on Saturday February 28, 2026 @02:41PM (#47199332)
Hackernews is accessed using http. Why do you need a web browser when curl exists?
Re:Obsidian Sync now has a headless client by fredoliveira on Saturday February 28, 2026 @04:47PM (#47200629)
Not gp, but because the way hackernews would render in a web browser versus curl is dramatically different, of course. There's a clear separation of presentation and content, and curl shows you presentation.

Notes being plain text files means that what you get by showing via a CLI is essentially the same as just `cat whatever-it-is.md`. Viewing a note via the CLI interface could have its merits (it could apply its own flavor of presentation), but come on now. Your example doesn't hold.

Re:Obsidian Sync now has a headless client by kepano on Saturday February 28, 2026 @01:29PM (#47198623)
You can view notes with Obsidian CLI. See the "read" commands. But also you can do that with your built-in command line tools.

https://help.obsidian.md/cli

Re:Obsidian Sync now has a headless client by jadbox on Sunday March 01, 2026 @06:50PM (#47212095)
Thank you, that helped
Re:Obsidian Sync now has a headless client by tibbon on Saturday February 28, 2026 @09:34PM (#47203031)
I've used it with Claude Code for refactoring and helping write a really in depth D&D campaign. Using frontmatter, I can keep metadata about NPCs and characters synced across all files.

Fixes all the problems I've had about "In what order do I put this data" and flipping back and forth in a huge stack of papers.