Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Templ Alternatives
Similar projects and alternatives to templ
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
-
-
-
-
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
-
-
-
-
quicktemplate
Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template
-
-
-
gowebly
🔥 A next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js, and the most popular CSS frameworks on the frontend.
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
templ discussion
templ reviews and mentions
-
A simple todo app with htmx/go/templ/tailwind
As some next steps I would advice you to learn more about the technologies we used and find out about their quirks and edge cases. For htmx I suggest reading the documentation and also the hypermedia systems book which provides many useful information and use cases of htmx. For templ I also suggest reading its documentation, it is pretty extensive and provides many information that you might find useful For go there are many resources out there, but my personal favorites and the ones that inspired me to write this aricle are the books Let's Go and Let's Go Further. In these books you will learn how to implement webservers with go and how to interact with databases and how to struct your code in a way that makes development easy. But most importantly build stuf!!
-
golang + sse + Data-Star for real time sys stats
tools we need today is: https://templ.guide for html templating https://data-star.dev for realtime frontend updates via SSE https://github.com/inhies/go-bytesize to convert bytes to normal representation like Mb Gb https://github.com/shirou/gopsutil to get sys stats and https://github.com/go-chi/chi for routing
-
FOSS infrastructure is under attack by AI companies
The "difficulty" is how many leading zeroes the generated hash needs to have. When a client requests to pass the challenge, they include the nonce they used. The server then only has to do one sha256 operation: the one that confirms that the challenge (generated from request metadata) and the nonce (provided by the client) match the difficulty number of leading zeroes.
The other trick is that presenting the challenge page is super cheap. I wrote that page with templ (https://templ.guide) so it compiles to native Go. This makes it as optimized as Go is modulo things like variable replacement. If this becomes a problem I plan to prerender things as much as possible. Rendering the challenge page from binary code or ram is always always always going to be so much cheaper than your webapp ever will be.
I'm planning on adding things like changing out the hash in use, but right now sha256 is the best option because most CPUs in active deployment have instructions to accelerate sha256 hashing. This combined with webcrypto jumping to heavily optimized C++ and the JIT in JS being shockingly good means that this super naĂŻve approach is probably the most efficient way to do things right now.
I'm shocked that this all works so well and I'm so glad to see it take off like it has.
-
The Future of Htmx
Iam using templ https://templ.guide/ in combination with htmx.
- Building HTML in Go
- Templ: Build HTML with Go
-
Ink: React for Interactive CLI Apps
there's a few attempts, templ[0], gomponents[1]. Not for cli apps per se but for web dev.
0: https://github.com/a-h/templ
-
Go's template engine “templ” is convenient (it also works with TinyGo)
See user documentation at https://templ.guide
-
Show HN: Gomponents, HTML components in pure Go
Isn't that basically Templ [0] then? But Templ has that extra build step for preprocessing and converting back to plain Go files.
For me, gomponents is the middle ground. You don't get everything, but quite a lot of JSX-like feel. I was inspired by JSX after all. :) [1] Although I called it GOX back then… :D
[0]: https://templ.guide
-
Some Go web dev notes
Templ [1] is great!
Another go mod that helps a lot when massaging JSON (something most web servers end up doing sooner or later) is GJSON [2].
--
1: https://github.com/a-h/templ
2: https://github.com/tidwall/gjson
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 21 Apr 2025
Stats
a-h/templ is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of templ is Go.