yann-shi/hero
A handy, fast and powerful go template engine. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: n/a
- age_days: 3517
- days_rel: n/a
- days_push: 2429
- n_releases_24m: 0
Adoption not part of the score
1564 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Hero is a fast Go template engine that pre-compiles HTML templates into Go code for high-performance rendering. It includes a CLI compiler with watch mode and supports template Extend and Include.
Use cases
- compile html templates to go code
- fast server-side html rendering in go
- precompile templates for a go web app
- auto-recompile templates when files change
- use layouts and includes in go templates
- minimize memory usage when rendering templates
When to choose
- you need the fastest possible template rendering in Go
- you want type-safe templates compiled to Go code
- you prefer compile-time errors over runtime template errors
When to avoid
- you need runtime-editable templates without recompilation
- you use standard library html/template syntax and ecosystem
- you need a template engine for a non-Go language
Facets
library · maturity maintenance
templating web-framework cli web-development frontend developer-tools go cli cross-platform template-engine html-templates code-generation precompilation high-performance
1 source
- readme: https://github.com/yann-shi/hero · fetched 2026-08-28 · 9fda2e0eb5d0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yann-shi/hero | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem