Skip to content

webhippie/templater

Repository files navigation

Templater

Current Tag Build Status Join the Matrix chat at https://matrix.to/#/#webhippie:matrix.org Go Reference Go Report Card Codacy Badge

Templater is used by our docker containers to provide a functionality for clean templating based on the Golang text/template package. The variables are always provided through environment variables. Before we integrated templater every template has been handled by envsubst which doesn't provide any control structures while Golang templates got this builtin.

Install

You can download prebuilt binaries from our GitHub releases, or you can use our Docker images published on Docker Hub or Quay. If you need further guidance how to install this take a look at our documentation.

Development

Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions. This project requires Go >= v1.17, at least that's the version we are using.

git clone https://github.com/webhippie/templater.git
cd templater

make generate build

./bin/templater -h

Security

If you find a security issue please contact [email protected] first.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

Apache-2.0

Copyright

Copyright (c) 2018 Thomas Boerger <[email protected]>