a-h/templ

A language for writing HTML user interfaces in Go.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 5th, 2026
Created on April 10th, 2021
Open Issues & Pull Requests: 43 (+0)
GitHub issues: Enabled
Number of forks: 366
Total Stargazers: 10,533 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.0 hours
Mean response time: 21.2 days
90th percentile: 73.7 days
Tracked items: 229

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 8% of issues opened in the past year have been closed. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 364 days
Stale 30+ days: 17
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 2

Top labels

  • enhancement (17)
  • good first issue (17)
  • bug (12)
  • NeedsImplementation (9)
  • help wanted (7)
  • NeedsInvestigation (5)
  • documentation (5)
  • generator (5)

Detailed Description

templ is a language for writing HTML user interfaces in Go that emphasizes developer tooling and IDE support.

The tool addresses the challenge of building type-safe, maintainable HTML templates in Go applications. Rather than using string-based templating, templ provides a dedicated language that compiles to Go code, enabling compile-time type checking and IDE features like autocomplete and refactoring. This approach eliminates entire categories of runtime errors and allows developers to catch template mistakes before deployment.

Templ suits teams building server-side-rendered applications in Go who value strong typing and developer experience. It works well for projects where template safety matters and where developers already work within the Go ecosystem. The tool integrates with standard Go tooling and includes a language server for editor support, making it accessible to developers using common IDEs.

The project maintains active development with comprehensive testing infrastructure including unit tests, fuzz testing, and benchmarking. Build automation covers snapshot builds, release processes, and documentation generation. Code quality is enforced through formatting and linting tasks run as part of continuous integration. Documentation is actively maintained with a development server for testing changes before production deployment.