Anything you can do in Obsidian you can do from the command line.

#Obsidian CLI is now available with 1.12 (early access).

Obsidian CLI - Obsidian Help

Anything you can do in Obsidian can be done from the command line.

Obsidian Help
@obsidian does it also suffer from Electron bloat or is it more lightweight?
@DoomHammerNG @obsidian even though they use Electron, I haven't experienced any bloat with Obsidian that wasn't self-inflicted from a badly written plug-in or script.
@djchateau @DoomHammerNG @obsidian my brother in christ, electron *is* the bloat
@millie @DoomHammerNG @obsidian Meh, I don't entirely agree with this. I've seen plenty of solid Electron apps that run buttery smooth and consume very little resources. I'm sure there's better options out, but then what's the alternative for what it's doing? I haven't come across anything that really fits my needs elsewhere and I sure shit won't go near something like Notion.
@djchateau @millie @obsidian sadly, I've never seen an Electron app that wouldn't behave like a drunk elephant in a porcelain shop

@djchateau @millie @obsidian I had to stop using Obsidian and get back with my notes to Neovim because of this reason.

Having an always-on app that hogged whatever resources I had was too bad.

Even on 48GB of RAM.

@DoomHammerNG @millie @obsidian You're not wrong here. There are a LOT of really badly implemented Electron apps that just eat up all my resources on my machine. I usually jump between Vim and Obsidian depending on what I need to do because the Vim support included inevitably leads to me doing some complex Ex command only to find it doesn't recognize it or some keybind doesn't exist or doesn't behave how it should in Obsidian. I usually end up opening my tmux session and pointing it at my vaults, but it's never as a result of Obsidian eating up my RAM (with the exception of one plugin that doesn't manage its state very well).
@djchateau @millie @obsidian out of curiosity: how many notes and links do you have?
@DoomHammerNG @millie @obsidian Depends on which vault I'm using. I have different vaults dependent on certain things I do, but my main personal one is in the 10k - 20k range of notes and I heavily link things in every note. Any particular reason? 
@djchateau @millie @obsidian yeah, I was thinking maybe my vault is particularly large, but it doesn't seem to
@DoomHammerNG @djchateau @millie @obsidian Me running on M1 8GB and still feels snappy. 
@adasv93 @djchateau @millie @obsidian some people have all the luck. They can eat anything and be slim and fit.
@djchateau @DoomHammerNG @obsidian You're running an entire modern web stack, web browser, server, database and everything, in javascript, on your machine, just to get a GUI on your application. The overhead is order of magnitudes larger than a simple C program interacting built Qt or GTK.

@millie @DoomHammerNG @obsidian I'm fully aware of what I'm running, but the fact that it is a web stack is an irrelevant point. The overhead may be orders of magnitude higher, but the development cost of this functionality are significantly lower and my machine isn't a machine from the 1990s. I bought RAM to use the RAM and additional benefit from it using a web stack like this allows for a lot of community participation that otherwise wouldn't be there if this had been done in Qt or GTK.

I don't argue that it could not perform better if C was used, but there's obvious trade-offs using C instead of using something like TypeScript with Electron. I haven't seen a better replacement for Obsidian that does what Obsidian does and is cross-platform. If it did, I'd likely jump on it, but I think solely saying, "Oh, it's on Electron, it's garbage." is pretty reductive.

@millie @DoomHammerNG @obsidian You're preaching to the choir here. I also like to get things done, so when a developer makes something that lives up to what Obsidian is doing, I'd fully support it, but that's currently not the case. 🤷

@DoomHammerNG @obsidian

from the docs: "Note: Obsidian CLI requires the Obsidian app to be running. If Obsidian is not running, the first command you run launches Obsidian." So it's more a remote control for your existing obsidian instance than an independent app

I initially had trouble thinking of what this could be useful for; If i want to write a script for my obsidian base, any language can read or write markdown just fine, but this one in particular caught my eye >:)

https://help.obsidian.md/cli#%60base+query%60

Obsidian CLI - Obsidian Help

Anything you can do in Obsidian can be done from the command line.

Obsidian Help
@alloyed @obsidian ok, so not the savior I had hoped for :(

@obsidian ooh interesting! This would be incredibly helpful for OpenClaw.

Seeing as you're in the CLI space now, a feature request: An Obsidian Sync CLI for Linux that doesn't require the app or a GUI. So I can have a containerised agent interacting with my vault and still getting all the benefits of the desktop/iOS apps.

@obsidian now please tell me this works on a VT100 :D
@obsidian does it work with all the plugins? Being able to edit my kanban from cli would be awesome.
@thomasjwebb @obsidian any command palette commands can be run via the CLI
@kepano @obsidian that helps a little but not much if it's not rendering the UI for me. For comparison, there are plugins for vim that let you edit md-based kanban boards.
@obsidian very cool! Will it be possible to merge files/extract excerpts to a new file?
@obsidian I already kinda use CLI obsidian - grep, sed, and vim on the .md files!
@obsidian waow 👀 i only wish it worked without needing the "full" obsidian running in the background
@obsidian oh man I hope this means we get an MCP server soon
@notkoalas @obsidian No plans for that. CLI is a much better approach than MCP.
@obsidian Oh man. I'm about to waste so much time
@cris @obsidian Hahaha. That is the correct answer.
@obsidian Wow! Can't wait to test this.