Show HN: HyperTemplates, a pure-HTML templating system and static site generator

4 calebhailey 3 6/12/2025, 6:58:35 PM hypertemplates.net ↗
Hello, my name is Caleb. I'm a product manager by trade, and have enjoyed working in/around the software industry over the past 15 years. I was most recently CEO & co-founder at Sensu (https://sensu.io), which was acquired by Sumo Logic in 2021 (https://sumologic.com), eventually resulting in an opportunity to explore "funemployment".

I've met so many people over the course of my career who are interested in making websites – they even teach themselves HTML, CSS, and Javascript – but then they never end up making a website for one reason or another.

I've watched some of these people try to change careers by finding a job making websites, but many of them end up learning that no one actually writes HTML – it's all generated using tools that would require them to learn yet another programming language. For some, this piques their interest enough that they go learn a programming language, and eventually find their way into the tech industry. That's amazing! I would guess that HTML has been a "gateway language" for tons of people in this way. But I would also guess that for even more people, they don't cross that chasm.

This always bothered me when I had $dayjob. This observation along with incredible improvements to the web platform motivated me to explore whether a pure-HTML templating system was even possible, and if so, would it be useful. HyperTemplates is the result of that exploration. I've had a lot of fun building it over the past 6+ months! I can't wait to see what other people think of it.

PS – this my first ever post on HN after being a lifetime lurker. I'm looking forward to joining in the discussion!

Comments (3)

atmanactive · 14h ago
I don't like the fact that the site is forcing light mode on me. For people like me, who suffer from retinal/macular issues, when visiting a website, there are several possible outcomes:

- some websites support both dark and light modes and they automatically switch depending on OS-level preference. These are the best.

- some websites support only the light mode, but my Chromium's flag "force dark mode" still manages to somehow display them in dark mode. These are the majority of websites today.

- some websites support only the light mode in such a way that they even defeat Chromium's force-dark-mode and still show up in light mode. These are the worst.

calebhailey · 44m ago
Thanks for this feedback!

I agree with your analysis re: good/better/best approaches – or more like unacceptable/acceptable/good – and I shipped a website in the unacceptable state.

Let me see if I can fix that today.

I personally prefer the Safari browser, and I use an extension (Noir) for forcing dark mode. So where you rely Chromium's "force dark mode", Noir detects if a website has a built-in dark mode available and uses that, otherwise it just applies its own dark mode. This has been working well on hypertemplates.net, and that was acceptable during my documentation sprint over these past few weeks, but I'd rather not leave my visitors UX up individual browser configurations (via extensions or chrome flags).

p2hari · 8h ago
This is again a nice take on HTML templating.

Would also like to know how is this different from alpine, htmx and the likes?

Could I also see some examples if available on how to implement form submission or is it plain html form action?