go-gh VS viper

Compare go-gh vs viper and see what are their differences.

go-gh

A Go module for interacting with gh and the GitHub API from the command line. (by cli)

viper

Go configuration with fangs (by spf13)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-gh viper
2 74
306 25,862
4.9% -
7.3 8.8
7 days ago 4 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-gh

Posts with mentions or reviews of go-gh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-10.
  • 14 great tips to make amazing CLI applications
    14 projects | dev.to | 10 May 2022
    Even simple shell script verbs provide great extension capability for users. For even bigger impact, provide a simple wrapper framework like gh does, that allows extensions written in go to easily call the main tool itself.
  • ...and now gh-i to search for issues interactively!
    1 project | /r/linux | 31 Jan 2022
    So, in general they provide a Go library that works as API client: go-gh. To be frank, the library is still somewhat work in progress and unpolished, and you can't do much with it. This said, the framework they developed to write extensions is quite nice and self-explanatory: you can find an introductory video here by the developers.

viper

Posts with mentions or reviews of viper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.

What are some alternatives?

When comparing go-gh and viper you can also consider the following projects:

rlwrap - A readline wrapper

godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)

imtui - ImTui: Immediate Mode Text-based User Interface C++ Library

envconfig - Small library to read your configuration from environment variables

glamour - Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️

koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

cleanenv - ✨Clean and minimalistic environment configuration reader for Golang

kelseyhightower/envconfig - Golang library for managing configuration data from environment variables

mapstructure - Go library for decoding generic map values into native Go structures and vice versa.

ini - Package ini provides INI file read and write functionality in Go

config - JSON or YAML configuration wrapper with convenient access methods.

goConfig - goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.