go-pretty VS gomplate

Compare go-pretty vs gomplate and see what are their differences.

gomplate

A flexible commandline tool for template rendering. Supports lots of local and remote datasources. (by hairyhenderson)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
go-pretty gomplate
2 3
2,590 2,465
- -
7.1 9.0
17 days ago 6 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

go-pretty

Posts with mentions or reviews of go-pretty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-09.

gomplate

Posts with mentions or reviews of gomplate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-27.
  • Show HN: gq – like jq or zq, but you use Go
    6 projects | news.ycombinator.com | 27 Apr 2022
    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
    2 projects | /r/golang | 9 Mar 2022
    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
    8 projects | news.ycombinator.com | 7 Feb 2021
    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

What are some alternatives?

When comparing go-pretty and gomplate you can also consider the following projects:

pterm - ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.

go-rosbag - Rosbag parser written in pure Go

asciibird - ASCII Creation

remco - remco is a lightweight configuration management tool

box-cli-maker - Make Highly Customized Boxes for CLI

sqlTemplate - Template engine for writing dynamic SQL queries

remove_emoji - Remove Emoji for Ruby 2 ~ 3.x / Rails 😈🈲

motllo - Project templates without needing a repository

stable - Streaming pretty text table for Golang

renderizer - CLI to render Go template text files based on command line parameters and/or a YAML

wikitable - Wikipedia tables in your terminal

gotemplate - A small highly opinionated Go template.