#Helper App for API background use

9 messages · Page 1 of 1 (latest)

mint cobalt
#

Currently Logseq has to be running and the API turned on for API queries to work. It would be nice if there was an API helper app that ran in the background, allowing other apps to interact with your graph even when logseq wasn't running.

proud coral
#

Logseq cli is it

mint cobalt
# proud coral 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.

proud coral
#

Logseq cli does not require the app to be running.

mint cobalt
#

Maybe the helper app could just be a web API for the CLI?

proud coral
#

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 …

mint cobalt
mint cobalt
#

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.)