awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
goofychris avatar

goofychris/art-template

0
View on GitHub↗
9,861 stars·2,650 forks·JavaScript·MIT·41 viewsgoofychris.github.io/art-template↗

Art Template

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 capabilities for data filter transformations, output minification, and global template caching. It also provides template error debugging to pinpoint syntax or runtime errors within template files.

Features

  • Template Compilation - Compiles template source into executable JavaScript functions to maximize rendering performance and eliminate runtime parsing.
  • Dynamic Templates - Combines templates with data using custom syntax to generate dynamic HTML content.
  • Build-Time Precompilation - Converts template source into standalone JavaScript functions during a build step to maximize runtime speed.
  • Rendered Content Sanitization - Automatically sanitizes and encodes output statements to protect web applications from cross-site scripting attacks.
  • Output Escaping - Provides automatic output encoding to escape special characters and prevent cross-site scripting attacks.
  • XSS Protections - Automatically sanitizes template output to protect web applications from cross-site scripting attacks.
  • Block-Based Inheritance - Implements a layout system that organizes reusable components through nested blocks and template inheritance.
  • HTML Templating Engines - Generates dynamic HTML output by processing a mix of custom template syntax and raw script statements.
  • Precompiled Render Engines - Converts template source into standalone JavaScript functions during a build step to maximize runtime speed.
  • Template Inheritance Systems - Provides a framework for organizing layouts through nesting, blocks, and inclusions of template files.
  • Template Layout Frameworks - Provides a structure for organizing layouts using nesting, blocks, and inclusions across multiple files.
  • Layout Inheritance Workflows - Organizes complex layouts and shared components through nested blocks and included template files.
  • Template Caches - Implements a shared cache for compiled templates and helper functions to avoid redundant processing during repeated renders.
  • Template Compilation Caches - Provides a global compilation cache to store precompiled templates and avoid redundant processing.
  • Data Transformation - Provides a system for transforming data values using helper functions and pipe-style syntax before rendering.
  • AST-Based Template Parsing - Implements a configurable parser to transform custom template markers into an abstract syntax tree for processing.
  • Build-Time Compilers - Converts templates into standalone JavaScript files during a build step to shift overhead from runtime to build time.
  • Frontend Performance Optimization - Optimizes frontend performance by precompiling templates and minifying the generated HTML output.
  • Template Logic - Defines unique markers and data filters to control how variables and logic are processed within templates.

Star history

Star history chart for goofychris/art-templateStar history chart for goofychris/art-template

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Art Template

These projects share indexed features with Art Template. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • twigphp/twigtwigphp avatar

    twigphp/Twig

    8,363View on GitHub↗

    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

    PHPphptemplate-enginetemplate-language
    View on GitHub↗8,363
  • aui/art-templateaui avatar

    aui/art-template

    9,862View on GitHub↗

    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.

    JavaScript
    View on GitHub↗9,862
  • wycats/handlebars.jswycats avatar

    wycats/handlebars.js

    18,651View on GitHub↗

    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

    JavaScript
    View on GitHub↗18,651
  • handlebars-lang/handlebars.jshandlebars-lang avatar

    handlebars-lang/handlebars.js

    18,640View on GitHub↗

    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

    JavaScripthandlebarsmustachetemplates
    View on GitHub↗18,640
Compare all 30 related projects→

Frequently asked questions

What does goofychris/art-template do?

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.

What are the main features of goofychris/art-template?

The main features of goofychris/art-template are: Template Compilation, Dynamic Templates, Build-Time Precompilation, Rendered Content Sanitization, Output Escaping, XSS Protections, Block-Based Inheritance, HTML Templating Engines.

Which projects share features with goofychris/art-template?

Projects with overlapping indexed features include: twigphp/twig — Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It… aui/art-template — art-template is a JavaScript template engine and server-side rendering engine. It functions as an abstract syntax tree… wycats/handlebars.js — Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static… handlebars-lang/handlebars.js — Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by… mde/ejs — EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data… shopify/liquid — Liquid is a secure template engine and markup language used to generate dynamic HTML or text by combining static…