a-h/templ
A language for writing HTML user interfaces in Go. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 96
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29
- age_days: 1971
- days_rel: 115
- days_push: 26
- n_releases_24m: 20
Adoption not part of the score
10514 stars · 367 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
templ is a typed HTML templating language for Go that compiles components into performant Go code for server-side or static rendering. It ships with strong developer tooling including IDE autocompletion and a language server (LSP).
Use cases
- render html pages in go
- build server-side rendered go web apps
- create reusable html components in go
- generate static html files from go
- use htmx with go
- get ide autocomplete for go html templates
When to choose
- you write Go web apps and want type-safe, compiled HTML templates
- you want server-side rendering without client-side JavaScript
- you need good IDE tooling and LSP support for templates
- you use frameworks like Chi, Echo, Gin, or Fiber and want a framework-agnostic templating layer
When to avoid
- you need client-side interactivity or a full frontend framework like React
- your stack is not Go
- you prefer runtime-flexible templates over compiled ones
Facets
library · maturity active
templating ssr web-framework developer-tools web-development frontend backend programming-languages go cross-platform cli html-templating lsp ide-support htmx server-side-rendering compiled-components no-javascript web-server
5 sources
- readme: https://github.com/a-h/templ · fetched 2026-08-28 · 30155a928664
- homepage: https://templ.guide/ · fetched 2026-08-29 · 5322b632042f
- site_page: https://templ.guide/quick-start/installation · fetched 2026-08-29 · 5f7dbe71bee9
- site_page: https://templ.guide/integrations/web-frameworks · fetched 2026-08-29 · 96b8de962f14
- site_page: https://templ.guide/faq · fetched 2026-08-29 · 7aeaa473a065
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| a-h/templ | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem