gotempl
yj
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.
gotempl
-
Ask HN: General Purpose Templating Engine
I'm not sure if it fits your description, but a while ago me and my associate made https://github.com/link-society/gotempl
- Show HN: Generic templating tool with support of JSON, YAML and TOML data
yj
-
That's a Lot of YAML
For anyone looking for such a script, there's some CLIs that make it easy. One is `yq -o props` [1], another way is to use `yq -j` or `yj` [2] to convert to JSON and pipe it to `gron` [3].
[1] https://github.com/mikefarah/yq
[2] https://github.com/sclevine/yj
[3] https://github.com/tomnomnom/gron
- Conversion of HCL to/from JSON
-
Tombl – Easily query .toml files from bash
Also checkout yj[1] which can convert between various formats among toml->json
[1]: https://github.com/sclevine/yj
-
What excites you about being a DevOps engineer?
json is just a subset of yaml. https://github.com/sclevine/yj
- Select, put and delete data from JSON, TOML, YAML, XML and CSV files
-
docker-compose.toml
This requires yj and obviously docker-compose to be on your $PATH. You can use yj to convert your docker-compose.yaml to TOML like this
What are some alternatives?
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
www.yaml.org - The yaml.org website
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
frontmatter - Go library for detecting and decoding various content front matter formats
hjson - Hjson, a user interface for JSON
tombl - Easily query TOML files from bash
flatten-tool - Tools for generating CSV and other flat versions of the structured data
rq - Record Query - A tool for doing record analysis and transformation
flatterer - Opinionated JSON to CSV/XLSX/SQLITE/PARQUET converter. Flattens JSON fast.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
json2csv - command line tool to convert json to csv