SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Templating Open-Source Projects
-
nunjucks
A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
-
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.
-
hermes
Golang package that generates clean, responsive HTML e-mails for sending transactional mail (by matcornic)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
gomplate
A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
-
Smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
-
cruft
Allows you to maintain all the necessary cruft for packaging and building projects separate from the code you intentionally write. Built on-top of, and fully compatible with, CookieCutter.
-
Latte
☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
-
Rocker
Java 8 optimized, memory efficient, speedy template engine producing statically typed, plain java objects (by fizzed)
-
MicroWebSrv
A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
-
Scalate
Scalate is a Scala based template engine which supports HAML, Mustache and JSP, Erb and Velocity style syntaxes.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
In ApostropheCMS, templates are where code and content become web pages. Specifically, templates are written in normal HTML markup with special tags and are based on the Nunjucks template language. Thus, they are .html files placed in the /views subfolder of an ApostropheCMS module.
Miscommunication in our projects is costly. A single misunderstood User Story can result in 3 days of wasted development time. Additionally, when developers do not use the same programming language, it may be necessary to construct APIs to facilitate communication, which can also be expensive. It is important to consider why front-end developers may be hesitant to work with Twig and how this can lead to a disconnect between front-end and back-end development.
I have inlined the CSS here, and you can use Rust-based tooling like Lightning CSS to minify and bundle CSS here. You might also want to create a Rust build script to generate the HTML from a template, using the askama crate (works a little like Jinja).
Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi-line string or some template library like scriban. But I searched for a way to generate more and more complicated logic easily - like for example, adding raw SQL handler methods to my pre-generated DBSet-like classes for my ADO.NET experiment. You could now say: Use Roslyn and that's really fine if you look everything up in a website like SharpLab, which shows immediately the syntax tree of our C# code.
Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21* https://github.com/hyperhype/hyperscript
There is also a working integration with Django that enables the use of neat-html as a template backend, however it isn't up on GitHub yet.
I find the space of HTML generation libraries which can leverage the power of Python, really interesting.
Project mention: GNOME Extensions: How do people normally sync their settings to other laptops/desktops? | /r/gnome | 2023-05-07
YTT - YTT is a templating tool that understands YAML structure. It helps you easily configure complex software via reusable templates and user provided values using the Starlark language.
Project mention: What is your tech stack for blog websites? (not wordpress) | /r/webdev | 2023-06-07I use PHP with Route, the Plates template engine, and my blog posts are markdown files grouped by folder (year/month/day.md).
Project mention: copier VS cruft - a user suggested alternative | libhunt.com/r/copier-org/copier | 2023-05-05
Project mention: Mikado v0.8 has just published the fastest middleware render engine for Express | news.ycombinator.com | 2023-12-23
Templating related posts
-
Generating C# code programmatically
-
Ludic: New framework for Python with seamless Htmx support
-
How to Integrate Astro With ApostropheCMS pt. 1
-
Intro to Hyperscript: Rethinking JavaScript
-
How to integrate Component Architecture into Symfony?
-
How to Build an Ecommerce Website with ApostropheCMS
-
DOM to JSON and back
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 May 2024
Index
What are some of the best open-source Templating projects? This list will help you:
Project | Stars | |
---|---|---|
1 | nunjucks | 8,451 |
2 | Twig | 8,018 |
3 | Mustache | 3,221 |
4 | askama | 3,111 |
5 | scriban | 2,927 |
6 | hermes | 2,774 |
7 | hyperscript | 2,589 |
8 | gomplate | 2,470 |
9 | Smarty | 2,201 |
10 | Plot | 1,959 |
11 | dotdrop | 1,745 |
12 | ytt | 1,589 |
13 | Plates | 1,465 |
14 | cruft | 1,151 |
15 | Latte | 1,064 |
16 | mason | 900 |
17 | Plush | 862 |
18 | levant | 822 |
19 | faas-cli | 787 |
20 | mikado | 739 |
21 | Rocker | 722 |
22 | MicroWebSrv | 630 |
23 | Scalate | 605 |
Sponsored