Skip to content

Will Emanote expose command line interface for generating/querying notes like Neuron? #206

Answered by srid
VVKot asked this question in Q&A
Discussion options

You must be logged in to vote

@VVKot See #178

A CLI query tool would be useful. That said, you would probably want to use the live-server's JSON API (the json is also included in the generated site), as it would be faster (instant retrieval).

Run emanote, and then from another terminal curl localhost:8000/-/export.json piping that to jq for further processing. If you are doing this from an editor extension, use its HTTP client library to directly retrieve the data.

Expect JSON like this: https://emanote.srid.ca/-/export.json

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VVKot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants