The project is in a healthy, maintained state
ASIMOV module for prompt templating using the Jinja templating language.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

ASIMOV Jinja Module

License Package on Crates.io Package on PyPI Package on RubyGems Package on NPM Documentation

ASIMOV module for prompt templating using the Jinja templating language.

✨ Features

  • Renders JSON inputs using the MiniJinja templating engine.
  • Loads environment variables from .env (aka dotenv) files.
  • Distributed as a standalone static binary with zero runtime dependencies.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation with the ASIMOV CLI

asimov module install jinja -v

Installation with the ASIMOV CLI

Installation from PyPI

pip install -U asimov-jinja-module

Installation from RubyGems

gem install asimov-jinja-module

Installation from NPM

npm install -g asimov-jinja-module

Installation from Source Code

cargo install asimov-jinja-module

👉 Examples

JSON-to-Markdown Rendering

asimov-jinja-runner template.j2 < input.json > output.md

⚙ Configuration

This module requires no configuration.

📚 Reference

Installed Binaries

  • asimov-jinja-runner: renders JSON from standard input to standard output

asimov-jinja-runner

asimov-jinja-runner

Usage: asimov-jinja-runner [OPTIONS] [TEMPLATES]...

Arguments:
  [TEMPLATES]...  The `.j2` template files to render

Options:
  -d, --debug       Enable debugging output
      --license     Show license information
  -v, --verbose...  Enable verbose output (may be repeated for more verbosity)
  -V, --version     Print version information
  -h, --help        Print help

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-jinja-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn