Skip to content

connormckelvey/tmplrun

Repository files navigation

tmplrun

tmplrun is an open-source templating engine written in Go, designed to provide flexibility and simplicity in generating dynamic content for various applications. Tmplrun stands out by allowing the use of JavaScript within templates, thus enabling users to leverage the power and familiarity of JavaScript for templating purposes.

Features

  • JavaScript Templating: Utilize JavaScript directly within templates, eliminating the need for domain-specific template languages.
  • Extensibility: Easily extend tmplrun to support additional languages for templating purposes.
  • Command Line Interface: Integrated command-line tool for convenient template rendering.

Installation

CLI

go install github.com/connormckelvey/tmplrun/cmd/...

Library

go get github.com/connormckelvey/tmplrun

Usage

To render a template using tmplrun, you can use the command line interface:

tmplrun render -p path/to/props path/to/template

About

BYO Language Templating Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published