Notes Publishing Flow
cp -R ~/Local/notes/life/assets ~/Downloads/export/ | lq sq --graph life '[:find (pull ?p [*]) :where (?p :block/uuid ?id)]' | jet --to json > ~/Downloads/export/graph.json && swift run logseq-compiler ~/Downloads/export/graph.json ~/Downloads/export/assets ~/Local/notes/interface/content/ -a false
this tool uses the logseq publish github action base, and instead of exporting public pages, exports json
↑ 2 References
I extract the public pages and blocks from logseq and publish them using hugo. For more details on how this flow works, you can read about how I publish this website.