Go Template Engines

Open-source Go projects categorized as Template Engines

Top 23 Go Template Engine Projects

Template Engines
  1. templ

    A language for writing HTML user interfaces in Go.

    Project mention: A simple todo app with htmx/go/templ/tailwind | dev.to | 2025-04-08

    As some next steps I would advice you to learn more about the technologies we used and find out about their quirks and edge cases. For htmx I suggest reading the documentation and also the hypermedia systems book which provides many useful information and use cases of htmx. For templ I also suggest reading its documentation, it is pretty extensive and provides many information that you might find useful For go there are many resources out there, but my personal favorites and the ones that inspired me to write this aricle are the books Let's Go and Let's Go Further. In these books you will learn how to implement webservers with go and how to interact with databases and how to struct your code in a way that makes development easy. But most importantly build stuf!!

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. sprig

    Useful template functions for Go templates.

  4. 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

  5. pongo2

    Django-syntax like template-engine for Go

  6. maroto

    A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.

    Project mention: Go long by generating PDFs in Golang with Maroto | dev.to | 2024-08-30

    To render the image, you’ll need to use the image.NewFromFileCol method. This function is available in the image component.

  7. hero

    A handy, fast and powerful go template engine. (by shiyanhui)

  8. Jet Template Engine for GO

    Jet template engine (by CloudyKit)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. mustache

    The mustache template language in Go (by hoisie)

  11. Plush

    The powerful template system that Go needs

  12. amber

    Amber is an elegant templating engine for Go Programming Language, inspired from HAML and Jade (by eknkc)

  13. Razor

    Razor view engine for go

  14. fasttemplate

    Simple and fast template engine for Go

  15. ace

    HTML template engine for Go (by yosssi)

  16. raymond

    Handlebars for golang

  17. ego

    An ERB-style templating language for Go.

  18. goview

    Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

  19. Jade

    Jade.go - pug template engine for Go (golang)

  20. liquid

    A Liquid template engine in Go (by osteele)

  21. Soy

    Go implementation for Soy templates (Google Closure templates)

  22. kasia.go

    Templating system for HTML and other text documents - go implementation

  23. velvet

    A sweet velvety templating package

  24. gospin

    Article spinning and spintax/spinning syntax engine written in Go, useful for A/B, testing pieces of text/articles and creating more natural conversations

  25. got

    GoT is a template engine that turns templates into Go code to compile into your app. (by goradd)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Template Engines discussion

Log in or Post with

Go Template Engines related posts

  • FOSS infrastructure is under attack by AI companies

    7 projects | news.ycombinator.com | 20 Mar 2025
  • Templ: Build HTML with Go

    1 project | news.ycombinator.com | 27 Nov 2024
  • Go's template engine “templ” is convenient (it also works with TinyGo)

    2 projects | dev.to | 29 Oct 2024
  • Show HN - htmgo, build simple and scalable systems with go and Htmx

    7 projects | news.ycombinator.com | 28 Sep 2024
  • Integrating Templ

    1 project | dev.to | 11 Sep 2024
  • Making a Clean, friendly Spinner in Go/Templ

    1 project | dev.to | 10 Sep 2024
  • Go long by generating PDFs in Golang with Maroto

    3 projects | dev.to | 30 Aug 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Template Engine projects in Go? This list will help you:

# Project Stars
1 templ 9,182
2 sprig 4,467
3 quicktemplate 3,216
4 pongo2 2,947
5 maroto 2,403
6 hero 1,571
7 Jet Template Engine for GO 1,318
8 mustache 1,108
9 Plush 945
10 amber 916
11 Razor 867
12 fasttemplate 852
13 ace 840
14 raymond 630
15 ego 582
16 goview 438
17 Jade 356
18 liquid 302
19 Soy 173
20 kasia.go 74
21 velvet 73
22 gospin 59
23 got 36

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?