News for hackers. Stuff that matters.
Re:Ask HN: Does a static site need anything more than a simp... by egberts1 on Thursday April 14, 2022 @11:41PM (#31036431)
Caddy, you say?

This is what I would do.

Keep the Markdown files on your local PC.

- Add/modify Markdown files.

- run a bash script to

- - rsync them all to your VPS

- - run Caddy on VPS

Done.

View on your favorite web browser.

Re:Ask HN: Does a static site need anything more than a simp... by swidi on Thursday April 14, 2022 @11:49PM (#31036464)
This is my exact method. Render Markdown into HTML, rsync up to the Caddy server.
Re:Ask HN: Does a static site need anything more than a simp... by gompertz on Friday April 15, 2022 @10:54AM (#31040930)
This is what I do too... But I'm debating dropping my VPS and self hosting with TinyCore Linux (non-persistent OS) and H20.
Re:Ask HN: Does a static site need anything more than a simp... by egberts1 on Friday April 15, 2022 @01:26PM (#31042946)
No, I meant edit locally, rsync and do Caddy at the VPS.

Kinda like your very own CI/CO.