HDF

LUTX: The Lean Configuration Generator

LUTX is a lightweight, powerful configuration generation tool that combines HDF (Human Data Form) with a robust template engine. It is designed for infrastructure-as-code, configuration management, and any task requiring data-driven text generation.

Key Features

Directory Structure

Quick Start (No-Lua Workflow)

  1. Prepare your data (data.hdf):
(servers
  (server (id "web1") (host "10.0.0.1"))
)
  1. Create a template (config.tpl):
Listen ${host}:80
  1. Generate your config:
./bin/lutx --dataset data.hdf --simple-query 'servers.(id=web1)' config.tpl

Documentation

Downloads

Requirements

License

MIT