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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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