Show HN: HMPL – 23 KB Template Language for Rendering UI from Server to Client

3 aanthonymax 0 8/6/2025, 10:41:43 AM github.com ↗
Hi HN! Together with contributors, we've been making a small template language for a year now, which, in our opinion, can replace HTMX and Alpine.js. It is a mix between EJS and Handlebars, that is, you can make a request with a familiar syntax to the server in HTML right in the markup.

Requests are made via fetch and are configured via javascript almost entirely, which is what is needed today to work with the server.

The very essence of the template language comes down to minimizing the size of the bundle of the original web application by moving the components to the server and then storing them there. Thus, on the client we get a framework, where we insert components from the server brick by brick.

We showed this template language a long time ago, but it was not so mature then, so people had a lot of questions: https://news.ycombinator.com/item?id=41204552

Thank you very much to everyone for your attention! Please tell me what you think about the project? It will be interesting to know!

Comments (0)

No comments yet