Hello everyone! Today, I would like to share a small achievement that our project has received after 9 months of work on it! Check it out (and support us with the star if you like it - thank you! ❤️). We will talk about the history of the creation of the template language below and the path we have taken in general.
👀 History of creation
The development of the template language began in the spring of 2024. At that time, I was finishing work on Cample.js, as I had achieved one of the fastest speeds for frameworks on the Internet. After that, I wanted to create something new that continued to be a framework, since at that time I understood that I had done everything I could.
Then, I had an idea to take what I was doing for the framework into a separate template language for convenient work with the server. The first steps were quite small, but the layout of what I wanted to do was already taking shape. Then, the first version of HMPL was called cample-html (not a fancy name, of course 👽), but it described what needed to be done.
The code, of course, was then as simple as possible, but the first version was like this:
const templateFn = CampleHTML.createTemplate(
`<template data-cample data-src="/api/test" data-method="get"></template>`
);
// (After the response arrives from the server) { element = template (HTMLTemplateElement type), status = 200 }
const elementObj = templateFn({ withCredentials:false, timeout:0 });
At that time it was extremely cumbersome, but even then the start had been given.
🕙 What happened after
Then, of course, it was impossible to work normally with such a bad name. Too much space was taken up by symbols that could be shortened. Nothing better was thought up than to call it HMPL, simply joining the old name together.
The first version under the new name was also released somewhere in May, I simply copied the code from the old version to the new one, and over the next year we were refining the project to the state it is in now. During this time, the repository was changed from the old to the new one, which was created in November.
🌱 Contributors
I want to give a huge thank you to the contributors who helped and help make the project better. Without their help, it would be difficult, since it is simply impossible to implement something that should work as it should.
All contributors from the old repository and the new one, many thanks to them all again ❤️!
📢 Project promotion
With this, things are always bad for me (ᵕ—ᴗ—). I focused only on development and did not think at all about the need to somehow promote it or something like that. For me, the main goal was different - to close those necessary issues every day, without which it would be simply impossible to use it today.
But at least I created a blog on dev.to, and I also tweet about it sometimes, and I created a blog where we also share our thoughts. I also write about it sometimes and other things, so you can check out all the resources.
Also, you can support us by giving a star to our project on GitHub! Thank you 🌊!
✅ What's next?
Make a cool template language, how else?) In fact, a Roadmap was recently made that describes what needs to be done by 2025.
There are not so many tasks, but as development will be added. After all, "competitors" HTMX and Apine.js, so the template language must have more functionality to be the best tool of all, but, for this also work!
🖋️ Conclusion
I would like to express my enormous gratitude to everyone who supported and supports the project with their likes, comments, contributions, and just activity. This is very important to us and I hope that we can continue to do something cool and interesting for the template language! Thank you, once again, everyone ❤️!
Top comments (32)
Congrats
Thanks Ben!
Awesome! Congratulations
Thanks!
Congrats!
Congrats on reaching 100 stars That’s a great milestone, and it’s inspiring to see how much effort and dedication you’ve put into this project. We recently launched our own project just two weeks ago, so we’re still at the very beginning of our journey. It’s always amazing to connect with other open-source developers and learn from their experiences. Wishing you even more success ahead
Thanks!
How do you get popular?!
I have this discord bot that has 100% uptime, full AI, nice repository with support, and 2 stars. 15 users. Been online for a long time!
How should I know? I mostly solved issues for the repository, then I only started writing in the blog. If anyone should give advice, it's definitely not me 🥶
Lol! Did you share the project anywhere, on product hunt or something? Or just your blog?
On dev.to mostly. On product hunt too, but only 2-3 months ago.
Congratulation for that achievement! Nice to see your hard work is worth.
Thank you!
Congratulations! 🎉
FYI:
This article was very helpful to me.
The (Detailed & Creative) Playbook for Getting More GitHub Stars
Thanks!
Congrats!
Thanks!
Congrats
Thanks!
congrats
Thanks!