Go Template Engines

Open-source Go projects categorized as Template Engines

Top 23 Go Template Engine Projects

  • templ

    A language for writing HTML user interfaces in Go.

    Project mention: 🤓 My top 3 Go packages that I wish I'd known about earlier | dev.to | 2024-03-01

    ✨ In recent months, I have been developing web projects using GOTTHA stack: Go + Templ + Tailwind CSS + htmx + Alpine.js. As soon as I'm ready to talk about all the subtleties and pitfalls, I'll post it on my social networks.

  • sprig

    Useful template functions for Go templates.

    Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    Standard Go templating seems really lacking if you come from something like Jinja. Even with libraries like https://masterminds.github.io/sprig/ (used e.g. for Helm templating) it feels hard to use.

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

  • 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

    Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    Here are a couple:

    https://github.com/julvo/htmlgo

    https://github.com/rohanthewiz/element

    I'm sure there are many more.

    The thing about these is that performance is often not as good as when using templates, especially when the templates are compiled to native code. Quicktemplate [1] is still the leader here IMO, and I don't think the OP project brings much that couldn't be done pretty easily with QT.

    [1] https://github.com/valyala/quicktemplate

  • pongo2

    Django-syntax like template-engine for Go

    Project mention: 6 🔥 Awesome Golang packages (web devs) | dev.to | 2023-12-04
  • hero

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

  • maroto

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

  • Jet Template Engine for GO

    Jet template engine (by CloudyKit)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • mustache

    The mustache template language in Go (by hoisie)

    Project mention: What is the current ideal choice for server-side rendered web frameworks? | /r/golang | 2023-06-08

    If the question is about templating libraries, then I've seen people use other libraries than the html/template, like https://github.com/hoisie/mustache or https://github.com/valyala/quicktemplate

  • amber

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

  • Plush

    The powerful template system that Go needs

    Project mention: Plush VS Salix - a user suggested alternative | libhunt.com/r/plush | 2023-10-31
  • Razor

    Razor view engine for go

  • ace

    HTML template engine for Go (by yosssi)

  • fasttemplate

    Simple and fast template engine for Go

    Project mention: fasttemplate VS Salix - a user suggested alternative | libhunt.com/r/fasttemplate | 2023-10-31
  • ego

    An ERB-style templating language for Go.

  • raymond

    Handlebars for golang

  • goview

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

    Project mention: goview VS Salix - a user suggested alternative | libhunt.com/r/goview | 2023-10-31
  • Jade

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

  • liquid

    A Liquid template engine in Go (by osteele)

    Project mention: Gojekyll – 20x faster Go port of jekyll | news.ycombinator.com | 2023-08-26

    This project uses another templating language, apparently based on Shopify.

    (1) https://github.com/osteele/liquid

  • Soy

    Go implementation for Soy templates (Google Closure templates)

  • kasia.go

    Templating system for HTML and other text documents - go implementation

  • velvet

    A sweet velvety templating package

  • 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

  • got

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

  • SaaSHub

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

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). The latest post mention was on 2024-03-01.

Go Template Engines related posts

Index

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

Project Stars
1 templ 6,311
2 sprig 3,971
3 quicktemplate 2,998
4 pongo2 2,774
5 hero 1,558
6 maroto 1,435
7 Jet Template Engine for GO 1,174
8 mustache 1,099
9 amber 914
10 Plush 857
11 Razor 841
12 ace 829
13 fasttemplate 801
14 ego 577
15 raymond 574
16 goview 402
17 Jade 346
18 liquid 264
19 Soy 172
20 kasia.go 74
21 velvet 73
22 gospin 53
23 got 26
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com