Settings

Theme

One-liner CLI to scaffold+deploy landing page?

2 points by andrea81 a year ago · 1 comment · 1 min read


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?

yashasolutions a year ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection