Show HN: emacs-ssg file-based routing site generation with and without Emacs
sctlib.gitlab.ioEmacs' org-mode is great to write documents (.org files, similar to .md) and export them to HTML.
It is also practical to evaluate and export "code blocks", like "notebooks" would do (observable framework, jupyter, mdx etc.).
With emacs-ssg, we don't have to use emacs to write the document, but in the background it is used to evaluate the files and produce the HTML result in a `./public` folder.
With `npm create @sctlib/emacs-ssg` we get the textual list of the few steps it takes to install and publish a project with content.
This project is mainly a wrapper around emacs and org-mode, to allow usage in the npm ecosystem and ways of publishing websites and pages. It tries to add nothing but a formal way to organize content in `/content` for each pages and `/assets/{js,css,…}/` for the static assets.
No comments yet.