The templ templating language: 2 years later

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • templ

    A language for writing HTML user interfaces in Go.

    Yes, absolutely have! templ ships with Hotwire support https://github.com/a-h/templ/blob/main/turbo/stream.go and one of the team (Joerdav) is implementing HTMX examples https://github.com/joerdav/go-htmx-examples based on the patterns at https://htmx.org/examples/

  • go-hotwire-todo

    There's a Hotwire "TODO" app example here - https://github.com/a-h/go-hotwire-todo - It's got no CSS etc. and it doesn't have a real database backing it, but it shows how the pieces fit together.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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

    I originally started out trying to add features to quicktemplate, but didn't get any engagement, so went my own way: https://github.com/valyala/quicktemplate/issues/80

  • go-htmx-examples

    go-htmx-examples

    Yes, absolutely have! templ ships with Hotwire support https://github.com/a-h/templ/blob/main/turbo/stream.go and one of the team (Joerdav) is implementing HTMX examples https://github.com/joerdav/go-htmx-examples based on the patterns at https://htmx.org/examples/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts