Live data from Hacker News

Obsidian Sync now has a headless client

help.obsidian.md

51–60 of 224 posts

Re: Obsidian Sync now has a headless client

#51
post #17

Also new: Obsidian joins the CLI gang https://help.obsidian.md/cli I’ve been having a lot of fun recently using AI CLIs with Obsidian. No plugins necessary because it’s just a directory tree of markdown files.

I've been using iCloud to sync Obsidian, and have consistently run into the problem that iCloud file container access needs full disk permissions that I don't want to give the agent (or Ghostty). Does everybody use Obsidian's paid sync instead or what? Or SyncThing?

I just pay for the sync.

I like that I can have some vaults that sync to both my personal and work laptops and other vaults that only sync to one or the other.

It’s awfully convenient without any vendor lock in since I can just take my plain markdown files and leave anytime.

Re: Obsidian Sync now has a headless client

#52
post #41

I wish I could use Obsidian to edit single markdown files. If my project has a readme.md I don't want to create an obsidian vault with its configuration files in my project, just to open it.

Yeah we'll add that at some point.

It's a bit trickier than it seems because a lot of Obsidian configuration and app functionality is vault-specific. E.g. what theme should be used? What plugins should be available? Does autocomplete for [[links]] or properties do anything? Etc.

Re: Obsidian Sync now has a headless client

#53
post #43

Earlier quoted context omitted.

It's not super useful yet- you can't really view notes in the CLI but you can can trigger features like search.

Notes are stored in Markdown files. Why do you need Obsidian CLI to view notes when `cat` will do?

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

#54

Nice to see an official headless option. If anyone is looking to do headless syncing specifically to their own Synology NAS, I created an open-source alternative for that here: https://pypi.org/project/obsidian-synology-sync/

I know this is headless but is there any other reason I should use this over the official Synology drive app?

The official Sync is focused on providing a more integrated experience in the Obsidian app

- Built-in version history

- Cross-platform support, especially on mobile

- Fine-grained control (e.g. different theme/plugins/settings per device)

- Sharing your vaults with other users

Re: Obsidian Sync now has a headless client

#55

Earlier quoted context omitted.

Notes are stored in Markdown files. Why do you need Obsidian CLI to view notes when `cat` will do?

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 fol…

What is obsidian beyond a pile of markdown files without the app?

Re: Obsidian Sync now has a headless client

#56
post #52
post #41

I wish I could use Obsidian to edit single markdown files. If my project has a readme.md I don't want to create an obsidian vault with its configuration files in my project, just to open it.

Yeah we'll add that at some point. It's a bit trickier than it seems because a lot of Obsidian configuration and app functionality is vault-specific. E.g. what theme should be used? What plugins should be available? Does autocomplete for [[links]] or properties do anything? Etc.

VSCode opens single files outside of projects. What do they do? Personally I wouldn’t mind if it just defaulted to the settings of the last-used vault.

Re: Obsidian Sync now has a headless client

#57
post #44
post #17

Earlier quoted context omitted.

I've been using iCloud to sync Obsidian, and have consistently run into the problem that iCloud file container access needs full disk permissions that I don't want to give the agent (or Ghostty). Does everybody use Obsidian's paid sync instead or what? Or SyncThing?

https://github.com/vrtmrz/obsidian-livesync

I use this and a self-hosted couchdb. So far it seems to be good, but I haven't spent more than a few hours with it yet. I do have what appears to be a working setup on ios, macos, and linux. Obsidian's large number of plugins and control surfaces is a bit hazardous.

Re: Obsidian Sync now has a headless client

#58

Also new: Obsidian joins the CLI gang https://help.obsidian.md/cli I’ve been having a lot of fun recently using AI CLIs with Obsidian. No plugins necessary because it’s just a directory tree of markdown files.

Oh snap! Thanks for that, I can really make good use of this!

Re: Obsidian Sync now has a headless client

#59
post #17

Also new: Obsidian joins the CLI gang https://help.obsidian.md/cli I’ve been having a lot of fun recently using AI CLIs with Obsidian. No plugins necessary because it’s just a directory tree of markdown files.

I've been using iCloud to sync Obsidian, and have consistently run into the problem that iCloud file container access needs full disk permissions that I don't want to give the agent (or Ghostty). Does everybody use Obsidian's paid sync instead or what? Or SyncThing?

I use both and I prefer their builtin sync, since I also code on Linux.

Re: Obsidian Sync now has a headless client

#60
post #17

Earlier quoted context omitted.

I've been using iCloud to sync Obsidian, and have consistently run into the problem that iCloud file container access needs full disk permissions that I don't want to give the agent (or Ghostty). Does everybody use Obsidian's paid sync instead or what? Or SyncThing?

Just pay for the sync. I used to juggle with git, rsync, inotify etc and other tools Its one of the few subscriptions where it actually feels like money well spent

I was using SyncThing, and it worked, but any time you have an Obsidian vault open on two devices, or shortly after another, you're always thinking about if you're going to have to clean up a bunch of sync conflict files later. And that mental overhead is not worth saving $4/mo.

The conflicts are never hard: it's like a git merge conflict where you just take the latest of every conflict block.

Post reply on HN