inja
« Back to VersTracker
Description:
Template engine for modern C++
Type: Formula  |  Latest Version: 3.5.0@0  |  Tracked Since: Oct 18, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ templates json header-only library
Install: brew install inja
About:
Inja is a header-only template engine for modern C++ heavily inspired by jinja for Python. It provides a simple and intuitive syntax for rendering JSON data into text formats, making it easy to generate configuration files, HTML, or source code. Its main value proposition is seamless integration with C++ projects without external dependencies.
Key Features:
  • Header-only library with no dependencies
  • Simple jinja2-like syntax
  • Full support for JSON data structures
  • Fast compilation and rendering
Use Cases:
  • Generating configuration files from JSON data
  • Creating dynamic HTML content in C++ web servers
  • Scaffolding source code files
Alternatives:
  • jinja2-cpp – More feature-complete jinja2 port, but heavier dependency
  • mustache – Logic-less templates, simpler but less expressive
Version History
Detected Version Rev Change Commit
Oct 18, 2025 5:35pm 0 VERSION_BUMP 92ef8ee8
Dec 22, 2024 6:49pm 0 VERSION_BUMP 48597cfc
Oct 27, 2024 3:46pm 0 VERSION_BUMP 096ba7db