Go CLI

Open-source Go projects categorized as CLI

Top 23 Go CLI Projects

  • fzf

    :cherry_blossom: A command-line fuzzy finder

    Latest mention: [Swaywm] No Bull shit | reddit.com/r/unixporn | 2021-01-24
  • dive

    A tool for exploring each layer in a docker image

    Latest mention: Demystifying Google Container Tool Jib: A Java Image Builder | dev.to | 2021-01-20

    You can inspect images created by Jib using the Dive tool. As you can see on RHS, we have exploded directory structure for classes, resources and dependencies in the following path and their size is very minimal.

  • cli

    GitHub’s official command line tool

    Latest mention: Extending the GitHub CLI | dev.to | 2021-01-21

    Now, this might be a feature that comes soon to the CLI but I’m an impatient person, so I set out to work out how to do it myself.

  • cobra

    A Commander for modern Go CLI interactions

    Latest mention: Tf - A CLI to generate terraform configuration with an interactive prompt | reddit.com/r/commandline | 2021-01-22

    I got into cli applications lately and came across cobra. It was highly intuitive and very much easy to use so I couldn't get enough of it and wanted to create something to make it useful along with promptui.

  • lazygit

    simple terminal UI for git commands

    Latest mention: Gopher Gold #10 - Wed Sep 09 2020 | dev.to | 2020-09-09

    jesseduffield/lazygit (Go): simple terminal UI for git commands

  • cli

    A simple, fast, and fun package for building command line apps in Go

    Latest mention: Does anyone know a cli module that allows git-like bash sub commands? | reddit.com/r/golang | 2021-01-21
  • wuzz

    Interactive cli tool for HTTP inspection

  • glow

    Render markdown on the CLI, with pizzazz! 💅🏻

    Latest mention: Top 10 Developer Trends, Sun Oct 18 2020 | dev.to | 2020-10-18

    charmbracelet / glow

  • drive

    Google Drive client for the commandline

    Latest mention: google drive bulk download | reddit.com/r/DataHoarder | 2021-01-21

    i've used this on macos and linux with great success: https://github.com/odeke-em/drive

  • ponzu

    Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.

    Latest mention: Dive to Clean Architecture with Golang | dev.to | 2020-12-19

    github - ponzu-cms/ponzu

  • age

    A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

    Latest mention: Paket: Packaging and encrypting/decrypting your files for Golang | reddit.com/r/golang | 2021-01-18

    Even better, use software with proper crypto understanding behind it: https://github.com/FiloSottile/age

  • terragrunt

    Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

    Latest mention: Gopher Gold #11 - Wed Sep 16 2020 | dev.to | 2020-09-16

    gruntwork-io/terragrunt (Go): Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

  • aws-vault

    A vault for securely storing and accessing AWS credentials in development environments

    Latest mention: Open-source tool for Cloud credentials management now supports AWS Single Sign-on | reddit.com/r/aws | 2021-01-13

    You should take a look at aws-vault

  • ferret

    Declarative web scraping

  • bubbletea

    A powerful little TUI framework 🏗

    Latest mention: Gopher Gold #16 - Wed Oct 21 2020 | dev.to | 2020-10-21

    charmbracelet/bubbletea (Go): A powerful little TUI framework 🏗

  • promptui

    Interactive prompt for command-line applications

    Latest mention: Tf - A CLI to generate terraform configuration with an interactive prompt | reddit.com/r/commandline | 2021-01-22

    I got into cli applications lately and came across cobra. It was highly intuitive and very much easy to use so I couldn't get enough of it and wanted to create something to make it useful along with promptui.

  • go-prompt

    Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.

  • yq

    yq is a portable command-line YAML processor

    Latest mention: yq : A command line tool that will help you handle your YAML resources better | dev.to | 2020-10-02

    If you're on Windows, you can download the executable from Github.

  • kingpin

    CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser

  • arduino-cli

    Arduino command line tool

    Latest mention: Best method to install Arduino on Linux? | reddit.com/r/arduino | 2021-01-20

    Arduino CLI https://github.com/arduino/arduino-cli

  • bombardier

    Fast cross-platform HTTP benchmarking tool written in Go

    Latest mention: What's the fastest template parser in Go? | dev.to | 2020-10-01

    Bombardier

  • gojson

    Automatically generate Go (golang) struct definitions from example JSON

    Latest mention: The first time I coded in Go | reddit.com/r/ProgrammerHumor | 2021-01-15

    There are also command line and web based tools to take your json input and create a struct you can marshal/unmarshal it to automatically. I use https://github.com/ChimeraCoder/gojson

  • scc

    Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-01-24.

Index

What are some of the best open-source CLI projects in Go? This list will help you:

Project Stars
1 fzf 34,286
2 dive 24,171
3 cli 21,229
4 cobra 20,098
5 lazygit 18,399
6 cli 15,132
7 wuzz 9,272
8 glow 5,898
9 drive 5,806
10 ponzu 5,133
11 age 5,082
12 terragrunt 4,662
13 aws-vault 4,486
14 ferret 4,374
15 bubbletea 3,948
16 promptui 3,881
17 go-prompt 3,662
18 yq 3,104
19 kingpin 2,988
20 arduino-cli 2,704
21 bombardier 2,454
22 gojson 2,311
23 scc 1,992