Logseq Publish is a app that generates a fast, SEO friendly and scalable website from your Logseq graph.
- Export to json in the Logseq desktop app.
- Clone this repo.
- Copy the exported json to the root as data.json.
- Copy the whole
assets
folder from Logseq repo to thepublic
folder. - Run
yarn && yarn dev
to start the site locally. - Deploy
- Logseq exports a json file, which a basically a tree structure consisting of various kinds of block types.
- Logseq Publish renders the tree structure recursively, providing different React components for each block type.
- Logseq Publish utilizes NextJS to generate static htmls at build time.