awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Keats avatar

Keats/tera

0
View on GitHub↗
4,235 星标·324 分支·Rust·MIT·8 次浏览keats.github.io/tera↗

Tera

Tera 是一个用于 Rust 的服务端渲染引擎和模板引擎。它旨在通过将数据注入预定义的模板文件来生成动态文本,利用与 Jinja2 和 Django 兼容的语法。

该引擎支持多种文本生成任务,包括通过 HTML 渲染创建网页、自动化电子邮件模板,以及生成特定环境的配置文件。

Features

  • Rust Templating Engines - A high-performance text generation engine for Rust that implements Jinja2 and Django syntax.
  • Dynamic Text Generation - Produces final text output by processing template files with placeholders and logic using provided data.
  • Server-Side Dynamic Page Generation - Generates HTML content for websites by merging server-side data records with layout templates.
  • Jinja2 Template Renderers - Provides a template rendering system that is compatible with Jinja2 and Django syntax.
  • Text Templating Engines - Implements a general-purpose text templating engine to create custom files and documents.
  • Server-Side Rendering Engines - Generates dynamic HTML or plain text responses on the server by mapping data onto file-based templates.
  • System Configuration Templates - Generates environment-specific configuration files by merging templates with system variables.
  • Recursive Descent Parsers - Uses a recursive descent parsing engine to translate template syntax into executable operations.
  • Template Compilation Caches - Provides an in-memory cache for precompiled template functions to avoid repeated parsing of source files.
  • Hierarchical Variable Resolvers - Resolves data placeholders by traversing a hierarchical context structure.
  • Lazy Evaluation - Defers the evaluation of complex template logic until the final value is required for output.
  • Abstract Syntax Tree Parsing - Implements the conversion of template strings into a structured tree representation for efficient rendering.
  • Context Resolution Interfaces - Employs a common interface to fetch values from various data sources like maps or custom Rust objects.
  • Email Template Automation - Automates the generation of personalized email messages by injecting user data into HTML or text layouts.
  • Templating Engines - Template engine inspired by Jinja2 and Django templates.

Star 历史

keats/tera 的 Star 历史图表keats/tera 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Tera 的开源替代方案

相似的开源项目,按与 Tera 的功能重合度排序。
  • lunet-io/scribanlunet-io 的头像

    lunet-io/scriban

    3,905在 GitHub 上查看↗

    Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It functions as an abstract syntax tree manipulation tool and a template parser, allowing for the conversion of scripts into visitable trees for analysis, modification, and rendering. The engine is specifically designed for Native AOT compatibility, utilizing a reflection-free API to execute templates in trimmed environments. It also provides a dedicated parser and conversion system for Liquid templates, enabling the migration and execution of Liquid scripts within .NET. The project cov

    C#
    在 GitHub 上查看↗3,905
  • scriban/scribanscriban 的头像

    scriban/scriban

    3,905在 GitHub 上查看↗

    Scriban is a text templating library and .NET scripting engine used for dynamic text generation. It functions as a template processor and a safe scripting sandbox, providing a secure execution environment that restricts object exposure to prevent unauthorized code execution. The project also includes an abstract syntax tree template parser that allows for programmatic template analysis and modification. The engine features a dedicated Liquid template engine and compatibility mode, allowing it to parse, execute, and convert templates written in Liquid syntax. It distinguishes itself through a

    C#handlebarsliquidmustache
    在 GitHub 上查看↗3,905
  • twitter/hogan.jstwitter 的头像

    twitter/hogan.js

    5,124在 GitHub 上查看↗

    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

    JavaScript
    在 GitHub 上查看↗5,124
  • sebastianbergmann/php-text-templatesebastianbergmann 的头像

    sebastianbergmann/php-text-template

    7,443在 GitHub 上查看↗

    php-text-template is a logic-less PHP text templating engine and string placeholder replacement library. It serves as a template-based text generator for producing dynamic messages and documents from static text templates. The library focuses on automated content formatting and custom template processing to inject variable content into structured text output. This enables dynamic text generation by replacing predefined keys within a string with specific data.

    PHP
    在 GitHub 上查看↗7,443
查看 Tera 的所有 30 个替代方案→

常见问题解答

keats/tera 是做什么的?

Tera 是一个用于 Rust 的服务端渲染引擎和模板引擎。它旨在通过将数据注入预定义的模板文件来生成动态文本,利用与 Jinja2 和 Django 兼容的语法。

keats/tera 的主要功能有哪些?

keats/tera 的主要功能包括:Rust Templating Engines, Dynamic Text Generation, Server-Side Dynamic Page Generation, Jinja2 Template Renderers, Text Templating Engines, Server-Side Rendering Engines, System Configuration Templates, Recursive Descent Parsers。

keats/tera 有哪些开源替代品?

keats/tera 的开源替代品包括: lunet-io/scriban — Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It… scriban/scriban — Scriban is a text templating library and .NET scripting engine used for dynamic text generation. It functions as a… twitter/hogan.js — hogan.js is a logic-less template compiler and Mustache templating engine. It transforms static templates into… sebastianbergmann/php-text-template — php-text-template is a logic-less PHP text templating engine and string placeholder replacement library. It serves as… tj/ejs — ejs is an embedded JavaScript template engine for Node.js that generates HTML and other text formats by embedding… dtolnay/syn — syn is a Rust syntax tree parser and token stream converter. It serves as a toolkit for procedural macro development,…