For template rendering engines, the strongest matches are goofychris/art-template (This JavaScript templating engine compiles HTML templates into optimized), wycats/handlebars.js (Handlebars) and shopify/liquid (Liquid is a secure template rendering engine that combines). mde/ejs and developit/htm round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked template rendering engines for GitHub projects. Compare top tools by stars, features, and activity to find the right fit.
art-template is a JavaScript templating engine and HTML template compiler that transforms custom syntax and script statements into optimized HTML output. It functions as a precompiled template engine that converts template source into standalone JavaScript functions to render dynamic content from data. The engine features a template inheritance framework that organizes layouts through nesting, blocks, and inclusions to create reusable components across multiple files. It incorporates automatic output sanitization and encoding to prevent cross-site scripting attacks. The system includes capab
This JavaScript templating engine compiles HTML templates into optimized render functions and supports caching, layout inheritance, and automatic XSS protection, though it lacks multi-language support.
Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static templates with dynamic data. It functions as a logic-less template engine, separating presentation from business logic by restricting the complexity of expressions within templates. The project includes a precompiled template compiler that converts template strings into executable JavaScript functions. This mechanism reduces runtime overhead and improves rendering performance by shifting the compilation process to a build step. The engine provides a custom helper framework for ext
Handlebars.js is a widely used JavaScript templating engine that compiles templates into executable functions for efficient dynamic text and HTML generation, fulfilling the core requirements of this search.
Liquid is a secure template engine and markup language used to generate dynamic HTML or text by combining static templates with backend data. It functions as a web template renderer that transforms markup into final output while restricting available logic to prevent arbitrary code execution. The engine focuses on secure markup execution, providing a restricted environment where user-provided templates cannot access sensitive system data. It utilizes a safe evaluation sandbox to ensure that only a predefined set of instructions can be executed. The system includes capabilities for template s
Liquid is a secure template rendering engine that combines static templates with backend data to generate dynamic output, matching the search criteria with its sandboxed execution and extensible filters.
EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data into template files. It functions as both a server-side template processor and a client-side rendering engine, allowing for the creation of dynamic markup in both backend and frontend environments. The engine supports the creation of modular web layouts through partial template inclusion, where smaller reusable components are inserted into parent pages. Users can modify the template syntax by defining custom delimiters to avoid conflicts with other languages. The project cove
EJS is a JavaScript templating engine that combines data and templates to generate dynamic HTML, fitting the core category well while lacking built-in syntax highlighting and sandboxed execution.
htm is a build-less markup engine and JavaScript template parser that transforms template literals into element creation calls or structured objects during runtime. It serves as a hyperscript HTML template library and a utility for generating markup compatible with virtual DOM libraries. The library allows for the creation of HTML-style markup using standard JavaScript tagged template literals, removing the requirement for an external transpiler or build-step compiler. It distinguishes itself by mapping template strings to custom functions that transform types and properties into specialized
This repository provides a build-less JavaScript template parser and markup engine that transforms tagged template literals into structured objects, fitting the domain of template rendering even though it is specialized for virtual DOM and UI components rather than general-purpose document generation.
Haml is a Ruby HTML template engine and server-side rendering library. It functions as an HTML markup preprocessor that transforms a concise, indentation-based shorthand syntax into standard HTML and XHTML markup. The system uses hierarchical whitespace instead of explicit closing tags to define the structure of documents, reducing boilerplate during markup authoring. It integrates Ruby logic directly into templates to evaluate conditional statements, process dynamic data, and interpolate values. The engine provides tools for managing element attributes through hashes, controlling output whi
Haml is a Ruby-based template rendering engine that processes concise indentation syntax and integrates logic to generate dynamic HTML output, fulfilling the core category requirements despite its narrow focus on markup generation in the Ruby ecosystem.
ejs is an embedded JavaScript template engine for Node.js that generates HTML and other text formats by embedding JavaScript logic into templates. It functions as a server-side rendering engine and HTML template processor that merges static markup with dynamic data. The system operates as a compiled template library, converting templates into JavaScript functions to enable cached rendering and faster execution. It includes built-in security to prevent cross-site scripting by automatically escaping HTML entities and special characters during the rendering process. The engine supports modular
This JavaScript-based template engine merges data into markup to generate dynamic HTML and other text formats, supporting cached compilation and template partials, though it lacks multi-language support.
Docx-templates is a library designed for the programmatic generation of Word documents by merging dynamic data with predefined template files. It functions as a template engine that processes embedded instructions directly within the document structure to produce customized, data-driven output. The engine distinguishes itself by allowing the execution of arbitrary JavaScript expressions and custom data resolvers during the generation process. This enables complex conditional logic, iterative loops, and the dynamic injection of diverse content types, including images, HTML fragments, and raw X
This library combines dynamic data with Word document templates to generate custom output files, fitting the category although it is narrowly tailored to DOCX files rather than general-purpose text or HTML rendering.
Tera is a server-side rendering engine and template engine for Rust. It is designed to generate dynamic text by injecting data into predefined template files, utilizing a syntax compatible with Jinja2 and Django. The engine supports a variety of text generation tasks, including the creation of web pages via HTML rendering, the automation of email templates, and the production of environment-specific configuration files.
Tera is a server-side template engine written in Rust that combines data with templates to generate dynamic output, providing a Jinja2- and Django-compatible syntax for your rendering needs.
Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It functions as a secure template language that generates HTML output by combining dynamic data with reusable layouts. The system emphasizes security through a focus on preventing cross-site scripting attacks via automatic output escaping and content sanitization. To ensure execution efficiency, it compiles templates into optimized PHP code and utilizes a caching mechanism to bypass parsing on subsequent requests. The engine provides comprehensive tools for template composition
Twig is a robust PHP template engine that compiles reusable layouts and dynamic data into optimized output, featuring built-in security controls, caching, and custom filter support.
Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by merging data objects with templates. It utilizes an abstract syntax tree parser to transform template strings into executable JavaScript functions. The system separates data from presentation by restricting complex logic to external helper functions rather than the template itself. It features a precompiled template compiler that converts templates into functions before deployment to increase execution speed and reduce startup latency. The engine covers a broad range of content ge
Handlebars.js is a widely used JavaScript templating engine that compiles templates into fast functions and supports custom helpers, though its logic-less design intentionally omits heavy control structures.
Nunjucks is a JavaScript templating engine used for generating dynamic HTML by combining data with templates. It serves as an asynchronous template processor that allows for non-blocking execution within filters and parallel processing of iterations. The engine features a template inheritance system where base skeleton structures are defined and extended by child templates to fill specific content blocks. It includes a security utility for context-aware HTML escaping to prevent cross-site scripting during the rendering phase. The library provides capabilities for server-side rendering and da
Nunjucks is a JavaScript templating engine that provides template inheritance, asynchronous execution, and HTML escaping, perfectly fitting the requirements for generating dynamic output.
Mustache.js is a logic-less JavaScript templating engine and implementation of the Mustache specification. It merges data objects with text templates to generate formatted output, ensuring consistent rendering across different programming languages by forbidding complex logic within the templates. The system distinguishes itself by using a logic-less approach to data binding, relying on simple variable interpolation and conditional block rendering. It supports modularity through partial template inclusion and allows for extended functionality via lambda functions that transform blocks of temp
Mustache.js is a logic-less JavaScript template rendering engine that merges data with templates to generate dynamic output, though its intentional lack of complex control structures means it omits traditional logic control features.
Template.js is a JavaScript template engine designed for parsing and rendering dynamic HTML content in both browser and server-side environments. It functions as a frontend logic library that manages complex user interfaces through data injection, template composition, and extensible rendering logic. The engine distinguishes itself by prioritizing performance through build-time template compilation, which transforms template files into executable modules or functions to minimize runtime overhead. It also incorporates a secure execution sandbox that restricts template logic to a controlled sco
Template.js is a JavaScript template engine that parses and renders dynamic content with built-in sandbox execution and cached compilation support, though it lacks multi-language support.
Slim is a concise, indentation-based template language and markup engine for generating HTML and XML. Designed for the Ruby ecosystem, it converts shorthand syntax into well-formed documents without the need for traditional closing tags. The engine functions as a multi-engine wrapper, allowing the integration of external rendering engines such as Markdown and Sass within a single template file. It also provides a command line interface for rendering templates and converting them between different markup formats. The system supports dynamic content generation through embedded Ruby logic, incl
Slim is a template engine designed for the Ruby ecosystem that converts concise indented syntax into HTML and XML, though it is narrower in scope than a multi-language general-purpose templating tool.
The AsyncAPI generator is a template-driven tool designed to transform event-driven API specification files into various technical deliverables. It functions as a schema-driven synthesis engine that automates the creation of documentation, messaging client SDKs, and project boilerplate by processing structured data through modular, reusable templates. The system distinguishes itself through a component-based rendering engine that traverses hierarchical specification data to produce consistent output. Users can extend the generation process using lifecycle hooks, which allow for the execution
The AsyncAPI generator is a template-driven tool that processes structured specification data to produce documentation, code, and SDKs, fitting the core requirements of a rendering engine despite its specific focus on API schemas.
Jekyll is a static site generator that transforms plain text files and markup into complete, deployable websites. It functions as a content management engine and blog-aware publishing platform, orchestrating a multi-stage build process that organizes structured data and source files into a consistent site architecture. The platform distinguishes itself through a specialized processing pipeline that automatically generates chronological archives, category indexes, and RSS feeds from collections of dated text files. It utilizes a template engine to inject dynamic content into layouts and suppor
Jekyll is a static site generator built around a template engine to transform markdown and data into web pages, missing some standalone templating library flexibility but directly fitting the output generation intent.
Eleventy is a JavaScript-based static site generator designed to transform templates, data files, and markdown into optimized HTML. It functions as a versatile template rendering engine and content management framework, allowing developers to aggregate data from diverse sources—including local files, databases, and external APIs—to populate structured web content. The project is distinguished by its template-engine-agnostic pipeline, which decouples the build process from specific rendering languages. This allows users to integrate multiple template formats, such as Liquid, Nunjucks, Handleba
Eleventy is a static site generator built around a flexible template rendering engine that transforms various template formats and data sources into HTML, though it functions more as a complete site builder than a standalone rendering library.
Pug is a template engine and compiler that transforms whitespace-sensitive shorthand syntax into standard HTML. It functions as both a Node.js template engine for server-side rendering and a browser-side precompiler for client-side templating. The system converts template files into executable JavaScript functions to increase rendering speed. This allows for the generation of full HTML documents by combining dynamic data and logical structures, either on a server or as standalone JavaScript files for execution directly in the browser. The engine manages the translation process through HTML t
Pug is a JavaScript template engine and compiler that transforms indented shorthand syntax into dynamic HTML, making it a fitting tool for generating web pages from data and templates.
Engine is a content management system built with Ruby that operates as a headless content management platform and multi-tenant website hosting system. It manages multiple distinct websites and their isolated configurations from a single centralized software installation, while exposing programmatic endpoints to administer websites and custom data types remotely. The platform relies on schema-driven content modeling to define custom data structures and user interfaces dynamically from configuration schemas rather than hardcoded database tables. Dynamic web pages and structured content are rend
LocomotiveCMS engine is a content management platform and rendering engine for Ruby web sites, which fulfils the core template generation needs for dynamic page output even though it operates as a full web platform rather than a standalone code library.
Dustjs is a JavaScript templating engine and asynchronous template renderer. It functions as an isomorphic HTML generator, producing consistent output across both client and server environments. The system employs a logic-less template syntax to separate presentation from business logic, utilizing simple tags for iteration and conditional checks. It supports asynchronous data resolution, allowing the rendering process to pause and resume as external data sources respond. The engine provides capabilities for dynamic HTML generation, server-side rendering, and client-side templating. It utiliz
Dustjs is a JavaScript template rendering engine that supports both client-side and server-side execution with asynchronous rendering, though it uses a logic-less syntax rather than full logic control structures.
doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both browser-based interfaces and Node.js server-side environments. It transforms template strings into executable JavaScript functions to produce text output across different runtime environments. The system focuses on pre-compiling template source files into standalone JavaScript modules at build time. This process eliminates runtime compilation overhead, increases execution speed, and prevents malicious code injection. The engine supports logic-based interpolation using conditional
This JavaScript library is a compiled template engine focused on pre-compilation and rendering dynamic text or HTML, fitting the core category despite lacking some advanced features like full sandboxing or syntax highlighting.
hogan.js is a logic-less template compiler and Mustache templating engine. It transforms static templates into executable JavaScript functions to generate data-driven strings without using conditional or looping logic. The system focuses on precompilation to eliminate parsing overhead during runtime execution. This includes a precompiled template library and a command line interface for converting template files into optimized JavaScript. The engine handles dynamic content generation through template compilation and data rendering. It supports reusable UI fragments via partials and allows fo
Hogan.js is a logic-less template engine that compiles Mustache templates into executable JavaScript functions for fast data-driven string generation, though it lacks the logic control structures requested in the search.
art-template is a JavaScript template engine and server-side rendering engine. It functions as an abstract syntax tree compiler that translates template source code into executable JavaScript to generate HTML or text output. The engine includes a template inheritance system that allows the definition of base layouts and reusable content blocks. It also provides a template debugging tool that maps syntax and runtime errors to exact line numbers within the source files.
This repository provides a JavaScript template engine with JIT compilation and syntax debugging, fitting the requested category well despite lacking some of the advanced sandboxing and multi-language features.
Copyright (c) 2019-2024 Sempare Limited
This Pascal library combines data with templates to generate dynamic output, fitting the category well despite lacking some advanced features like syntax highlighting.
| रिपॉजिटरी | स्टार्स | भाषा | लाइसेंस | अंतिम पुश |
|---|---|---|---|---|
| goofychris/art-template | 9.9K | JavaScript | MIT | |
| wycats/handlebars.js | 18.7K | JavaScript | MIT | |
| shopify/liquid | 11.8K | Ruby | MIT | |
| mde/ejs | 8.1K | JavaScript | Apache-2.0 | |
| developit/htm | 9K | JavaScript | apache-2.0 | |
| haml/haml | 3.8K | Ruby | MIT | |
| tj/ejs | 4.5K | JavaScript | — | |
| guigrpa/docx-templates | 1.1K | TypeScript | MIT | |
| keats/tera | 4.2K | Rust | MIT | |
| twigphp/twig | 8.4K | PHP | BSD-3-Clause |