gomplate
motllo
gomplate | motllo | |
---|---|---|
3 | 1 | |
2,666 | 18 | |
- | - | |
9.2 | 0.0 | |
7 days ago | about 3 years ago | |
Go | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gomplate
-
Show HN: gq – like jq or zq, but you use Go
this tool may interest the same audience: https://github.com/hairyhenderson/gomplate
I find it especially handy for poc-ing helm snippets, although regrettably they don't have the same "standard library" of functions
-
Building Rich CLI Applications with Go's Built-in Templating
I'm surprised nobody mentioned https://gomplate.ca/ yet. It's a great CLI tool built on top of Go's built-in templating with many features, including one template to many outputs using a separate data source. See this blog post from the author: https://blog.hairyhenderson.ca/post/one\_template\_many\_outputs/
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
Cookiecutter is nice but it requires an entire python install to run, which is a big thing to ask for some of the scenarios mentioned by the tool creator (like someone going through a simple learning tutorial which might not even be using python at all).
IMHO gomplate is a nicer alternative that's just a single static go-based tool that can do everything cookiecutter does and a lot more: https://github.com/hairyhenderson/gomplate
motllo
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
Oh, this looks similar to my "motllo" project, [1] (and so many other projects, mine wasn't the first either). I have variable substitution, but no additional logic. For me the point was having a "readable" representation of the template.
[1]: https://github.com/rberenguel/motllo
What are some alternatives?
go-rosbag - Rosbag parser written in pure Go
scrollsdk - The code for Particles and Parsers, which Scroll is built on.
remco - remco is a lightweight configuration management tool
nasty-files - Some files with nasty names
sqlTemplate - Template engine for writing dynamic SQL queries
golem
renderizer - CLI to render Go template text files based on command line parameters and/or a YAML
blog.treenotation.org - Blog of the Tree Notation Lab
golang-kv - Bundle embedded DB (badger & boltdb & leveldb & pebble & nutsdb) wrapper with fixed & simple api of pure Golang
many-to-one - Sync and keep in sync multiple files to one file
hashi-up - bootstrap HashiCorp Consul, Nomad, or Vault over SSH < 1 minute
asciinema - Platform for hosting and sharing terminal session recordings