Template engine

Top 23 Template engine Open-Source Projects

Template engine
  1. Liquid

    Liquid markup language. Safe, customer facing template language for flexible web apps.

    Project mention: Authoring Custom Spin Templates | dev.to | 2025-06-01

    Both content files and snippets use the Liquid template language. Consult the Liquid documentation to learn more about its syntax and language capabilities such as control structures.

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

    A very fast and expressive template engine.

    Project mention: templatedx VS Jinja2 - a user suggested alternative | libhunt.com/r/templatedx | 2024-11-15

    TemplateDX provides type-safety and a more familiar JSX/markdown syntax out of the box vs Jinja's old-school tag usage.

  4. art-template

    High performance JavaScript templating engine

  5. Twig

    Twig, the flexible, fast, and secure template language for PHP

    Project mention: Building a Chatbot With Symfony and MongoDB | dev.to | 2025-05-28

    To create the front end, we will be making use of Twig. It is a fast, secure, and flexible templating engine for PHP used to build clean and structured HTML views in Symfony applications.

  6. Blade

    :rocket: Lightning fast and elegant mvc framework for Java8

  7. Slim

    Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic. (by slim-template)

  8. tera

    A template engine for Rust based on Jinja2/Django

  9. SaaSHub

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

    SaaSHub logo
  10. Haml

    HTML Abstraction Markup Language - A Markup Haiku

    Project mention: Douglas Hofstadter on Lisp (1983) | news.ycombinator.com | 2024-10-16

    I never suggested that I was the first person to think of this; not having dealt with any Lisp since (hmmm) 1990 via Scheme in my introductory CS 212 class at Cornell probably has something to do with my ignorance of the prior art in this area. I do like your approach of breadcrumbing me instead of giving me the answer, though... best I can guess is "tooling" and simply that S-expressions are simply too embedded in the minds of the Lisp community at this (or previous) point(s).

    I also don't deal with significant-indentation in languages usually (and have a strong Python distaste); though I've been playing with Roc (https://www.roc-lang.org/), which has this, and have used HAML (https://haml.info/) in the past. I suppose auto-indenting is impossible in a significant-indentation language depending on what the editor can intuit based on how the previous line ended, but I don't think I'd need that feature.

    I did research "sweet expressions" (which are apparently also called T-expressions) and found the prior art there in Scheme and Lisp, and a library called "sweet" for Racket (which is another intriguing lisp dialect!). These might have gotchas, but apparently they've sufficiently solved the problem enough to be usable.

    I do simply like how "T-expressions" look. Which is something I guess I care about, although I know that's not a universal among coders.

  11. email-templates

    Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.

  12. scriban

    A fast, powerful, safe and lightweight scripting language and engine for .NET

    Project mention: Step-by-Step Guide: Adding Mail Merge to Blazor Rich Text Editor | dev.to | 2025-03-21

    Using the Scriban, we can render the mail merge placeholder text and assign it to the Rich Text Editor’s Value property.

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

  14. rivets

    Lightweight and powerful data binding.

  15. Mustache

    Logic-less Ruby templates.

  16. DocPad

    Empower your website frontends with layouts, meta-data, pre-processors (markdown, jade, coffeescript, etc.), partials, skeletons, file watching, querying, and an amazing plugin system. DocPad will streamline your web development process allowing you to craft powerful static sites quicker than ever before.

  17. Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

    Project mention: Step-by-step Guid: Google Authentication with Spring Boot | dev.to | 2025-06-08

    xmlns:th="http://www.thymeleaf.org"> Home Welcome to the public home page href="/dashboard">Go to Dashboard

  18. TemplateStudio

    Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.

  19. fatfree

    A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!

    Project mention: 2025 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, Lumen, and More! | dev.to | 2025-02-27

    Popularity: With 2.6k GitHub stars, F3 has a loyal following, though its 2024 growth was steady rather than meteoric. It’s a mature choice with a tight-knit community that’s always tinkering.

  20. manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

    Project mention: Show HN: Toward Nirvana with Optional Parameters | news.ycombinator.com | 2025-06-10
  21. maud

    :pencil: Compile-time HTML templates for Rust

  22. Giraffe

    A native functional ASP.NET Core web framework for F# developers.

  23. RazorEngine

    Open source templating engine based on Microsoft's Razor parsing engine

  24. Sanitize

    Ruby HTML and CSS sanitizer.

  25. Tilt

    Generic interface to multiple Ruby template engines (by rtomayko)

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

Template engine discussion

Log in or Post with

Template engine related posts

  • Show HN: Toward Nirvana with Optional Parameters

    1 project | news.ycombinator.com | 10 Jun 2025
  • Step-by-step Guid: Google Authentication with Spring Boot

    2 projects | dev.to | 8 Jun 2025
  • How to Use @Controller in Spring

    1 project | dev.to | 3 Jun 2025
  • Authoring Custom Spin Templates

    2 projects | dev.to | 1 Jun 2025
  • Cách Tích Hợp Đăng Nhập Google, GitHub Và Facebook Trong Ứng Dụng Java (Spring Boot)

    3 projects | dev.to | 13 May 2025
  • Htmx error handling in Spring Boot apps

    1 project | dev.to | 25 Apr 2025
  • All About Spring Thymeleaf You Need to Know in 2025

    1 project | dev.to | 23 Apr 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Jun 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? This list will help you:

# Project Stars
1 Liquid 11,378
2 Jinja2 10,943
3 art-template 9,877
4 Twig 8,297
5 Blade 5,868
6 Slim 5,336
7 tera 3,868
8 Haml 3,777
9 email-templates 3,703
10 scriban 3,511
11 quicktemplate 3,226
12 rivets 3,224
13 Mustache 3,058
14 DocPad 3,055
15 Thymeleaf 2,885
16 TemplateStudio 2,774
17 fatfree 2,684
18 manifold 2,564
19 maud 2,378
20 Giraffe 2,173
21 RazorEngine 2,152
22 Sanitize 2,048
23 Tilt 1,946

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 Ruby is
the 12th most popular programming language
based on number of references?