#Helper App for API background use
9 messages · Page 1 of 1 (latest)
Logseq cli is it
Doesn't the CLI also require the app to be running?
But even if it doesn't, sandboxing on MacOS means that API would be preferable. For instance, a browser plugin like Logseq copilot can't use the CLI.
Logseq cli does not require the app to be running.
Maybe the helper app could just be a web API for the CLI?
the chrome extension is sandboxed as you said. But there is a way for a chrome extension to perform local commands execution by using the native message host which talks to a native app. It could be a small python/go/node app …
Here is a simple (vibe-coded) proof of concept:
I've updated this with a new version that can run in the background on MacOS:
It would be nice if the CLI could simply launch its own server, the way it launches MCP, logseq http-server. (Thanks to @proud coral for the suggestion.)