templ
« Back to VersTracker
Description:
Language for writing HTML user interfaces in Go
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @templ_go  |  formulae.brew.sh
Category: Developer tools
Tags: templating html go web-development type-safe
Install: brew install templ
About:
Templ is a Go templating language that allows developers to write HTML user interfaces with full type safety and editor support. It compiles down to regular Go code, enabling fast rendering and easy integration with existing Go backends. This approach provides a developer-friendly alternative to string-based templating, catching errors at compile time rather than runtime.
Key Features:
  • Type-safe templating with compile-time error checking
  • Full IDE support with autocompletion and formatting
  • Compiles to native Go code for high performance
  • Component-based architecture for reusable UI elements
  • Hot reloading during development
Use Cases:
  • Building web applications with Go backends
  • Creating server-rendered HTML interfaces
  • Developing type-safe templates for Go projects
Alternatives:
  • html/template – Standard library package with runtime errors and no IDE support
  • Handlebars – JavaScript-based templating without Go type safety
  • Jet – Alternative Go template engine with different syntax
Version History
Detected Version Rev Change Commit
Sep 12, 2025 3:54am 0 VERSION_BUMP 8d4764f9
Dec 4, 2024 9:02pm 0 VERSION_BUMP 98a12c54