{"id":29358210,"url":"https://github.com/dk26/rendit","last_synced_at":"2026-04-07T14:02:01.114Z","repository":{"id":53337954,"uuid":"507697037","full_name":"DK26/rendit","owner":"DK26","description":"CLI tool for rendering `Tera`, `Liquid` or `Handlebars` templates by using JSON files as context.","archived":false,"fork":false,"pushed_at":"2023-02-14T18:26:00.000Z","size":268,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T06:09:14.644Z","etag":null,"topics":["cli","command-line","command-line-tool","commandline","handlebars","html","liquid","pipeline","rendering","rendering-pipeline","rust","shell","template","tera"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DK26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-26T22:21:27.000Z","updated_at":"2024-11-04T18:43:12.000Z","dependencies_parsed_at":"2023-01-20T12:45:34.261Z","dependency_job_id":null,"html_url":"https://github.com/DK26/rendit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/DK26/rendit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DK26%2Frendit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DK26%2Frendit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DK26%2Frendit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DK26%2Frendit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DK26","download_url":"https://codeload.github.com/DK26/rendit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DK26%2Frendit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","command-line-tool","commandline","handlebars","html","liquid","pipeline","rendering","rendering-pipeline","rust","shell","template","tera"],"created_at":"2025-07-09T06:09:04.588Z","updated_at":"2026-04-07T14:02:01.057Z","avatar_url":"https://github.com/DK26.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rendit (🚧WIP🚧)\n\n![render-template](assets/logo.gif)\n\nCLI tool for rendering templates using local JSON files for context. Supports multiple template engines.\n\n## 🚧WIP Status🚧\n\nFor now, you can download an [alpha release](https://github.com/DK26/rendit/releases) version and play around with it:\n\n[Download Alpha v0.1.5 (i686-pc-windows)](https://github.com/DK26/rendit/releases/download/v0.1.5-alpha/rendit-alpha-v.0.1.5-windows-i686.7z)\n\n### All Releases\n\n\u003chttps://github.com/DK26/rendit/releases\u003e\n\n## Features\n\n* Renders template input either from file or standard input 🚧\n* Uses either the default or the specified context JSON file for rendering ✅\n* Automatically detects the right rendering engine with either a special starting comment (magic comment) `\u003c!--template ENGINE_NAME\u003e`  or by the template's file extension  ✅\n* Allows you to manually decide which engine to use out of the supported engine list: `--engine-list` ✅\n\n* Allows you to automatically open the rendered output file for preview with a default software ✅\n* Allows you to watch constantly for changes in both the template and its context file ✅\n* Built with pipeline support 🚧\n* Supports splitting output between STDOUT, STDERR and output file ✅\n\n## Commandline Usage\n\n\u003c!--Examples TBD--\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eUsage Help (click to expand)\u003c/summary\u003e\n\n```text\nUSAGE:\n    rendit [OPTIONS] [TEMPLATE FILE]\n\nARGS:\n    \u003cTEMPLATE FILE\u003e\n            The template file to render.\n\n            Unless using the `--context \u003cCONTEXT FILE\u003e`option, this requires either the\n            `\u003cTEMPLATE NAME\u003e.ctx.json` or the `default.ctx.json` context files to be present in the\n            template's directory.\n\n            [Example]\n\n            .\n            ├── my_template.ctx.json\n            └── my_template.html\n\n            If `my_template.ctx.json` is missing, `default.ctx.json` will be loaded automatically\n            from the template's directory.\n\n            .\n            ├── default.ctx.json\n            └── my_template.html\n\n            If `default.ctx.json` is missing from the template directory, it will be loaded\n            automatically from the current working directory, instead.\n\n            [Output]\n\n            Unless using the `--output \u003cOUTPUT FILE\u003e` option, providing `\u003cTEMPLATE FILE\u003e`, produces\n            a `\u003cTEMPLATE NAME\u003e.rendered.\u003cEXTENSION\u003e` file by default.\n\n            .\n            ├── my_template.html\n            └── my_template.rendered.html\n\n            By NOT providing `\u003cTEMPLATE FILE\u003e`, STDIN mode is activated. Template data stream will\n            be expected to come from STDIN, printing the results to STDOUT instead of writing to\n            file.\n\nOPTIONS:\n    -c, --context \u003cCONTEXT FILE\u003e\n            Override default loading of the context file with the specified context file.\n\n    -o, --output \u003cOUTPUT FILE\u003e\n            Override default output file path with the specified file path.\n\n        --stdout\n            Print rendered result to STDOUT.\n\n        --stderr\n            Print rendered result to STDERR.\n\n    -O, --open\n            Open the rendered output file with a default software.\n\n    -w, --watch \u003cSECONDS\u003e\n            Constantly render changes in the template with the context file every 2 seconds by\n            default.\n\n    -e, --engine \u003cENGINE NAME\u003e\n            Force rendering with the specified render engine.\n            Use only when there is no magic comment or a template file extension available.\n\n        --engine-list\n            Print supported engine list for the `--engine \u003cENGINE NAME\u003e` option.\n\n    -x, --extension \u003cEXTENSION\u003e\n            Force the underlying template engine to treat the template data as if it is a file of\n            the given extension. This may affect escaping of special characters.\n\n    -v, --verbose\n            Set the level of verbosity.\n\n            `-v` sets logging level to INFO\n\n            `-vv` sets logging level to DEBUG\n\n            `-vvv` sets logging level to TRACE\n\n            WARNING: Effects CLI / STDOUT output.\n            Use the `--output` switch if you wish to commit the rendered output to file.\n            Use the `--stderr` switch to avoid including the logger messages in the final output.\n\n    -h, --help\n            Print help information\n\n    -V, --version\n            Print version information\n```\n\n\u003c/details\u003e\n\n## Supported Template Engines\n\n| Name       | Short / File Extension | Version | Guide / Manual / Tutorial                                     |\n| ---------- | ---------------------- | ------- | ------------------------------------------------------------- |\n| Tera       | `tera`                 | v1.17.1 | \u003chttps://tera.netlify.app/docs/#templates\u003e                    |\n| Handlebars | `hbs`                  | v4.3.5  | \u003chttps://handlebarsjs.com/guide/\u003e                             |\n| Liquid     | `liq`                  | v0.26.0 | \u003chttps://github.com/Shopify/liquid/wiki/Liquid-for-Designers\u003e |\n\n## Template Examples\n\n\u003cdetails\u003e\n\u003csummary\u003eTera (click to expand)\u003c/summary\u003e\n\n* Guide: \u003chttps://tera.netlify.app/docs/#templates\u003e  \n* Version: **v1.17.1**\n* Repository: \u003chttps://github.com/Keats/tera\u003e\n* Alternatives: `Jinja2`, `Django`, `Liquid`, `Twig`\n  \nA highly advanced, capable and secure by default; rendering engine that follows the OWASP Top 10 guidelines.\nA good alternative choice if you are used to template engines such as `Jinja2`, `Django`, `Liquid` or `Twig`. Originated in the Rust programming language.  \n\n```html\n\u003cHTML\u003e\n    🚧WIP🚧\n\u003c/HTML\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eHandlebars (click to expand)\u003c/summary\u003e\n\n* Guide: \u003chttps://handlebarsjs.com/guide/\u003e  \n* Version: **v4.3.5**\n* Repository: \u003chttps://github.com/sunng87/handlebars-rust\u003e\n* Alternatives: `Mustache`\n  \nA highly popular rendering engine that has been implemented across many programming languages. Considered to be somewhat more limited in features compared to the other engines. Originated in the Javascript programming language.\n\n```html\n\u003cHTML\u003e\n    🚧WIP🚧\n\u003c/HTML\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eLiquid (click to expand)\u003c/summary\u003e\n\n* Guide: \u003chttps://github.com/Shopify/liquid/wiki/Liquid-for-Designers\u003e  \n* Version: **v0.26.0**\n* Repository: \u003chttps://github.com/cobalt-org/liquid-rust\u003e\n* Alternatives: `smarty`\n  \nA highly advanced, capable and senior rendering engine, offering some optional security capabilities. A good alternative choice if you are used to the `smarty` template engine. Originated in the Ruby programming language.\n\n```html\n\u003cHTML\u003e\n    🚧WIP🚧\n\u003c/HTML\u003e\n```\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk26%2Frendit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdk26%2Frendit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk26%2Frendit/lists"}