gomplate is a command-line template rendering utility written in Go that generates dynamic text and configuration files from diverse data sources. It extends Go's native templating syntax with additional functions for data manipulation, mathematical operations, and string processing. The application supports structured data formats such as JSON, YAML, TOML, and CSV. Users can retrieve information from local files, environment variables, HTTP endpoints, and cloud services. Integration with HashiCorp Consul and Vault enables dynamic configuration and secret retrieval. Templates can incorporate conditional expressions, loops, reusable components, and nested data structures. Its flexible rendering capabilities make it suitable for infrastructure automation, configuration generation, and continuous integration workflows.
Features
- Dynamic text and configuration file generation through extended Go templating syntax
- Support for structured data sources including JSON, YAML, TOML, and CSV
- Data retrieval from local files, environment variables, HTTP endpoints, and cloud services
- HashiCorp Consul and Vault integration for configuration and secret management
- Extensive template functions for string manipulation, mathematics, and data transformation
- Conditional rendering, reusable templates, and batch configuration generation for automated workflows