One-liner CLI to scaffold+deploy landing page?

by andrea81on 9/5/2024, 10:46 PMwith 1 comments

I want to provide in one-liner CLI: - A .md file + image subdir - A template name - A deploy service name (netlify, vercel, github pages, etc.) - [Optional] List of sections (blog, doc, ToC, search, contact) - [Optional] Social sharing links - [Optional] List of language codes

I want to avoid JavaScript lock-in at all costs.

https://docusaurus.io/ (far from being a one-liner, still uses JavaScript) https://github.com/marty331/fasthtmx (don't get why I would need Python or DB) https://jakelazaroff.com/words/web-components-eliminate-javascript-framework-lock-in/ (still uses JavaScript)

Am I dreaming or does such a thing exist?

by yashasolutionson 9/6/2024, 8:35 PM

Hugo is probably what comes to mind. You need to learn the theme structure once you have, it is basically a cli that will deploy markdown with some css.