lexty/Jinja2 Renderer
Render Jinja2 templates with custom variables
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| template_path | Path to the Jinja2 template file or directory | yes | — |
| output_path | Path where rendered files will be saved | yes | — |
| variables_file | Path to a JSON, YAML, or .env file with variables to use in templates | no | — |
| variables_file_format | Explicit format specification for variables_file (json, yaml, env). If not specified, format is auto-detected by file extension | no | — |
| variables | JSON string or key=value pairs for template variables (alternative to variables_file) | no | — |
| environment_variables | Use environment variables in templates (true/false) | no | true |
| recursive | Process templates in subdirectories recursively | no | false |
| file_pattern | Glob pattern for finding template files (e.g. "*.j2", "*.template") | no | *.j2 |
| strict | Enable strict undefined variable checking | no | false |
| trim_blocks | Configure Jinja2 to trim blocks | no | true |
| lstrip_blocks | Configure Jinja2 to strip blocks | no | true |
Outputs
| name | description |
|---|---|
| rendered_files | List of rendered template files |