{
  "slug": "render-template",
  "name": "gizza-ai/render-template",
  "version": "0.1.0",
  "title": "Handlebars / Mustache Template Renderer — gizza.ai",
  "description": "Render a Handlebars or Mustache template against JSON data in your browser — {{variables}}, nested paths, {{#each}} loops and {{#if}} conditionals. Free, private.",
  "tags": [
    "handlebars renderer",
    "mustache template",
    "render template online",
    "template engine",
    "json to text",
    "handlebars playground"
  ],
  "category": "developer",
  "urls": {
    "page": "https://gizza.ai/tools/render-template/",
    "markdown": "https://gizza.ai/tools/render-template/index.md",
    "descriptor": "https://gizza.ai/tools/render-template/tool.json",
    "deep_link_example": "https://gizza.ai/tools/render-template/?template=Hello%20%7B%7Bname%7D%7D%21%0A%7B%7B%23each%20items%7D%7D-%20%7B%7Bthis%7D%7D%0A%7B%7B%2Feach%7D%7D&data=%7B%22name%22%3A%22Ada%22%2C%22items%22%3A%5B%22a%22%2C%22b%22%2C%22c%22%5D%7D&engine=handlebars&strict=true"
  },
  "cli": "gizza tool render-template \"Hello {{name}}!\n{{#each items}}- {{this}}\n{{/each}}\"",
  "tool": {
    "description": "Render a Handlebars/Mustache template against supplied JSON data and return the output text. Supports {{variable}} substitution, nested paths ({{user.email}}), loops ({{#each}}), and conditionals ({{#if}}). Useful for generating emails, config files, code, or any text from a template + data.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "data": {
          "type": "string"
        },
        "engine": {
          "default": "handlebars",
          "enum": [
            "handlebars",
            "mustache"
          ],
          "type": "string"
        },
        "strict": {
          "default": false,
          "type": "boolean"
        },
        "template": {
          "type": "string"
        }
      },
      "required": [
        "template"
      ],
      "type": "object"
    }
  }
}