Jinja2Cpp
jinja2cpp/Jinja2Cpp · Public GitHub repository
Jinja2 C++ (and for C++) almost full-conformance template engine implementation
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
C++ implementation of the Jinja2 Python template engine. This library brings support of powerful Jinja2 template features into the C++ world, reports dynamic HTML pages and source code generation.
- Easy-to-use public interface. Just load templates and render them.
- Conformance to Jinja2 specification
- Full support of narrow- and wide-character strings both for templates and parameters.
- Built-in reflection for the common C++ types, nlohmann and rapid JSON libraries.
- Powerful full-featured Jinja2 expressions with filtering (via '|' operator) and 'if'-expressions.
Requirements and intended audience
C++ implementation of the Jinja2 Python template engine. This library brings support of powerful Jinja2 template features into the C++ world, reports dynamic HTML pages and source code generation.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/jinja2cpp/Jinja2Cpp/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-03. Saved release: 1.3.2 · 2024-06-23. These dates do not guarantee ongoing maintenance.
- Technologies
- C++
- Licence
- MPL-2.0. Distributed changes to covered files must stay under this licence. Other files can use different licences.
- Demo check
- A public page loaded on 2026-11-06. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin