News for hackers. Stuff that matters.
Re:ShowHN: Htmz – a low power tool for HTML by hanniabu on Monday February 19, 2024 @10:19AM (#39430683)
> Not even a backend is required.

> In a nutshell, htmz lets you swap page fragments with HTML from the server using vanilla HTML code.

So a backend is needed....

Re:ShowHN: Htmz – a low power tool for HTML by Kalabasa on Monday February 19, 2024 @10:30AM (#39430830)
Oops, it's just a mistake on word choice in the nutshell summary. This works on static files like on a local filesystem (in that case the "server" is the local filesystem that serves me files that happen to be html)

Edit: on second thought, direct filesystem access has different origins which would mess with iframes. I'm not on the computer now to test. But at the very least you need a basic web server that serves files.

Re:ShowHN: Htmz – a low power tool for HTML by hanniabu on Monday February 19, 2024 @11:22AM (#39431501)
Thanks for the clarification, so it would work the same as a static site where you just need a place to retrieve the files from
Re:ShowHN: Htmz – a low power tool for HTML by turnsout on Monday February 19, 2024 @11:57AM (#39431974)
Yes, aka a webserver