# hairyhenderson/gomplate

A flexible commandline tool for template rendering. Supports lots of local and remote datasources.

Repository: https://github.com/hairyhenderson/gomplate
Canonical: https://ross.abutalabs.com/products/gomplate
Homepage: https://gomplate.ca
Language: Go
License: MIT
License Family: permissive
Topics: golang, template, cli, cloud, config, go, docker, devops, devops-tools, consul, vault, boltdb, sysadmin, sysops, templating
Last push: 2026-08-26T14:47:29+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 80, longevity 100
- inputs: {"age_days": 3875, "days_push": 7, "days_rel": 52, "gap_med": 84, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3202, forks 217 (observed 2026-08-28T04:07:48.490982+00:00)

## What it is
gomplate is a command-line template rendering tool built on Go's template syntax, supporting hundreds of built-in functions. It can pull data from many datasources including local files, environment variables, stdin, HTTP APIs, JSON/YAML, AWS EC2 metadata, and HashiCorp Consul and Vault secrets.

## Use cases
- render config files from templates with data from yaml or json
- generate configuration from environment variables or vault secrets
- template rendering from remote datasources like consul or http apis
- generate files in docker builds from templates
- inject secrets into config templates at deploy time
- convert json or yaml data into other text formats from the command line

## When to choose
- you need a fast, single-binary CLI to render Go-template files with data from files, env, stdin, or remote sources like Consul and Vault
- you generate configs in Docker images or CI pipelines and want a small, dependency-free tool
- you want many built-in template functions (math, string, crypto, net) without writing custom code

## When to avoid
- you need a full configuration management system like Ansible or Helm rather than a template renderer
- you prefer a different template engine such as Jinja2 or Handlebars
- your templating needs are simple enough to be handled by your existing language runtime or framework

## Facets
- artifact type: cli-tool
- maturity: active
- function: templating, cli, configuration-management, developer-tools
- domain: developer-tools
- platform: cli, go, cross-platform, windows
- tags: template-renderer, datasources, go-templates, config-generation, consul, vault, devops, command-line, automation, docker, linux, macos

## Member repositories
- hairyhenderson/gomplate (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.490982+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:48.342016+00:00, confidence not recorded.
  - readme: https://github.com/hairyhenderson/gomplate (fetched 2026-08-28T04:07:48.490982+00:00, sha 57d5555c0862)
  - homepage: https://gomplate.ca (fetched 2026-08-29T09:38:26.936176+00:00, sha 6e3a76558201)
  - site_page: https://docs.gomplate.ca/ (fetched 2026-08-29T09:38:26.945098+00:00, sha 3a1d75f87c6e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
