Keats/tera

A template engine for Rust based on Jinja2/Django

4,306

stars

374

commits

Rust

primary language

Sep 9, 2026

updated

keats.github.io/tera/
django
jinja2
rust-library
template-engine
Browse cluster: Template engines and web frameworks

README

Tera

For v1 users: see migration guide.

Tera is a template engine inspired by Jinja2 and the Django template language.

<title>{% block title %}{% endblock title %}</title>
<ul>
{% for user in users %}
  <li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>

It intentionally deviates from Jinja2/Django in many ways, only the overall look and feel is similar.

Documentation

API documentation is available on docs.rs.

Tera documentation is available on its site.

See the here for changes to tera and there for tera-contrib.

Contributors

Keats

357 commits

jalil-salame

5 commits

GandelXIV

3 commits

ColumbusLabs

1 commits

Keats/tera

A template engine for Rust based on Jinja2/Django

4,306

stars

374

commits

Rust

primary language

Sep 9, 2026

updated

keats.github.io/tera/
django
jinja2
rust-library
template-engine
Browse cluster: Template engines and web frameworks

README

Tera

For v1 users: see migration guide.

Tera is a template engine inspired by Jinja2 and the Django template language.

<title>{% block title %}{% endblock title %}</title>
<ul>
{% for user in users %}
  <li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>

It intentionally deviates from Jinja2/Django in many ways, only the overall look and feel is similar.

Documentation

API documentation is available on docs.rs.

Tera documentation is available on its site.

See the here for changes to tera and there for tera-contrib.

Contributors

Keats

357 commits

jalil-salame

5 commits

GandelXIV

3 commits

ColumbusLabs

1 commits

Languages

Rust

97.3%

HTML

2.6%