News for hackers. Stuff that matters.
Re:Ask HN: General Purpose Templating Engine by verdverm on Tuesday May 24, 2022 @01:50PM (#31495275)
https://docs.hofstadter.io

Built to generate anything, works on directories of files for input / output. CUE is the primary input, which means JSON & Yaml are also supported. It also supports writing custom code in the output, changing your designs and regenerating, while not losing the custom parts.

Re:Ask HN: General Purpose Templating Engine by aliasxneo on Tuesday May 24, 2022 @02:26PM (#31495763)
This seems promising, but a bit bloated for my use-case. For example, it's not apparent that it would be simple to go from a JSON input to say a NGINX configuration output.
Re:Ask HN: General Purpose Templating Engine by verdverm on Tuesday May 24, 2022 @02:44PM (#31495973)
Indeed, I need a one liner example. Happy to help you through that in Slack