HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Keats
tera
Rust2016–2025
Keats / tera

tera

A template engine for Rust based on Jinja2/Django

6Distinct people
11Mentions
0Explicit recommenders
4.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A template engine for Rust based on Jinja2/Django

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year11 dated mentions

Observed mentions: 2016-04-15 23:43:52 UTC to 2025-09-08 22:15:50 UTC.

01232016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC303
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

11 sources
Would raise my hand to volunteer for the reference implementation. I guess it would need to be in C++/Rust ? RFC, however, involves way too much talking and also needs solid networking amongst the web crowd. Not qualified for that. For a template language, it would be better to copy a subset from an existing de-facto standard like jinja2 which already has a lean, performant subset implementation at https://github.com/Keats/tera. Document/template inclusion model should be OK now in modern era thanks to HTTP/3. Not really sure how that should ideally look like though.
In Using Claude Code to modernize a 25-year-old kernel driver
I've made a few things: - Zola (https://github.com/getzola/zola) a SSG that works like I wanted and had a template engine close to Jinja2. I was using Hugo at the time but can't stand Golang template engine (imagine my sadness recently when I realised what Helm Charts are using...) - Tera (https://github.com/keats/tera): a template engine pretty close to Jinja2/Django templates - at the time it was made only Handlebars existed in Rust and it was not enough for what I needed in Zola - kickstart (https://github.com/Keats/kickstart): an equivalent of cookiecutter from Python but trying to be more interactive/powerful as a simple binary, see the GIF in the repo for an example - validator (https://github.com/Keats/validator): my take on Python marshmallow validations, nothing existed at the time. So yeah, most of my open-source is re-creating
Read the rest
libraries I use with Python in Rust.
In Ask HN: What are some tools / libraries you built yourself?
I wrote my own as I wanted sass + syntax highlighting + a good template engine without having to install Node or similar (https://www.getgutenberg.io/). Not a lot of themes yet so it's better for peopl In short, I just write my content in markdown, style in Sass and HTML in Tera (https://github.com/Keats/tera/) which is very similar to Jinja2. I then automatically build & deploy from https://www.netlify.com/ on commits. Netlify will also get built-in support the next time they deploy their build image (ie all you need for your site to be deployed will be a file like https://github.com/Keats/gutenberg/blob/a2b55a927981727ce00a...) like Hugo does. My own site is a bit difference as I have a DO instance for it but the script is simply copying the public folder to the server and have Caddy serve it.
In Ask HN: What is setup for your static blog generator?
I use Gutenberg (https://www.getgutenberg.io/) which provides built-in Sass compilation and live-reloading in a single binary. I just write Markdown and generate posts with Tera (https://github.com/Keats/tera ) templates for my HTML, so if I ever wanted to migrate to something else it would be trivial, but I'm a happy camper now. When I'm ready to publish I just copy the public directory right to my webserver, but I could just as easily publish to GitHub or the like if I didn't enjoy maintaining my own domain.
In Ask HN: What is setup for your static blog generator?
SEEKING WORK - Osaka / Remote - No relocation Senior full stack dev used to working remotely for startups. Looking for contracts to fund my own product. My strengths are: - Python (Flask/Django) - Javascript (React/Angular), I mostly use TypeScript currently though - Go - UX Most of my current open source work (https://github.com/Keats) is in Rust with things like porting Jinja2/Django templates in Rust (https://github.com/Keats/tera). I can build a MVP or help out a team. I also run a small consultancy so if the project is big, we can have more hands if needed! My email is prouillet.vincent at gmail.com and some writing at https://blog.wearewizards.io/ (look for articles written by Vincent).
In Ask HN: Freelancer? Seeking freelancer? (October 2016)
> Very good. But serde needs to get stable :( I agree :( > This is a request that comes up often but I tested this so much and always came back to not doing magic. It breaks too many applications in unintended ways (particularly plain text output). That was even the first feature request I got. I don't think I'll go more into magic than what it currently is, seems to be okay-ish > I would not do that again. Jinja has an extension interface and I regret adding it. I much rather have people just expose functions to the templates. That said, in Rust that might be not a good idea because there are no keyword arguments so make it makes sense there. That was my first thought on a better way to do template tags but not sure how to do that in Rust. If anyone has an idea, there's https://github.com/Keats/tera/issues/23 now Good point about macros,
Read the rest
maybe I can have a look later. Macros and include feel like they fill the same spot in my mind in terms of features so I'd rather not have both.
In Introducing Tera, a template engine in Rust

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.