Go Command-line

Open-source Go projects categorized as Command-line | Edit details

Top 23 Go Command-line Projects

  • GitHub repo cobra

    A Commander for modern Go CLI interactions

    Project mention: I've been learning Go, and I'm looking for fun ways to make use of it in my free time. I have some ideas but need help choosing. | reddit.com/r/golang | 2021-11-20

    Build CLI tools with https://github.com/spf13/cobra

  • GitHub repo micro-editor

    A modern and intuitive terminal-based text editor

    Project mention: Batteries Included with Emacs | news.ycombinator.com | 2021-11-25
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo urfave/cli

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

    Project mention: Requesting guidance | reddit.com/r/golang | 2021-09-30

    - https://github.com/urfave/cli

  • GitHub repo ctop

    Top-like interface for container metrics

    Project mention: Why so many tops | reddit.com/r/linuxquestions | 2021-10-12

    ctop is fucking amazing for anyone who deals with docker and containers.

  • GitHub repo termui

    Golang terminal dashboard

    Project mention: Can someone explain what is happening here, ELI5? | reddit.com/r/golang | 2021-07-15
  • GitHub repo sampler

    Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.

    Project mention: Almost as good as Grafana - Bpytop is rad! | reddit.com/r/homelab | 2021-08-14

    Check out sampler too: https://github.com/sqshq/sampler

  • GitHub repo gocui

    Minimalist Go package aimed at creating Console User Interfaces.

    Project mention: How to create a "GUI" app for terminal, like top, htop or bpytop? | reddit.com/r/sysadmin | 2021-10-21
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo usql

    Universal command-line interface for SQL databases

    Project mention: usql v0.9.4 | reddit.com/r/golang | 2021-08-29
  • GitHub repo Rich Interactive Widgets for Terminal UIs

    Terminal UI library with rich, interactive widgets — written in Golang

    Project mention: Has anyone else used TView? Need basic help. | reddit.com/r/golang | 2021-09-02

    https://github.com/rivo/tview/wiki/Flex and https://github.com/rivo/tview/wiki/Grid look pretty solid for me.

  • GitHub repo Shiori

    Simple bookmark manager built with Go

    Project mention: Alternatives to ArchiveBox? | reddit.com/r/selfhosted | 2021-10-30

    https://github.com/go-shiori/shiori might be what you're looking for.

  • GitHub repo color

    Color package for Go (golang)

    Project mention: Go mod tidy problem. | reddit.com/r/golang | 2021-09-29

    I am using github.com/fatih/color as an example because it is a very simple library to test this problem out with.

  • GitHub repo miller

    Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

    Project mention: People who spend most of your time in the terminal, what do you do? | reddit.com/r/linux | 2021-10-01

    And it turns out things like "what percent of software in Fedora Linux is under which licenses"? are easier to answer from the command line, and in general, tools like Miller (um, no personal relation) make data-crunching from the command line faster and easier than working with a spreadsheet.

  • GitHub repo promptui

    Interactive prompt for command-line applications

    Project mention: Interactive CLI prompts in Go | dev.to | 2021-08-25

    View on GitHub

  • GitHub repo elvish

    Elvish = Expressive Programming Language + Versatile Interactive Shell

    Project mention: A tip for miners who want privacy in the future. | reddit.com/r/nanocurrency | 2021-11-19

    Actually, it's elvish shell which is less restrictive and more expressive than the builtin windows commandline.

  • GitHub repo go-prompt

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

    Project mention: Library for developing CLI application with run-time command parsing like a shell | reddit.com/r/golang | 2021-09-29

    Have you hade a look at https://github.com/c-bata/go-prompt ?

  • GitHub repo termbox-go

    Pure Go termbox implementation

    Project mention: Desktop applications discussion | reddit.com/r/golang | 2021-04-28
  • GitHub repo kafka-go

    Kafka library in Go

    Project mention: Hunting down a C memory leak in a Go program | news.ycombinator.com | 2021-10-15

    Segment learned quite some time ago that librdkafka-go has problems like these (and doesn’t support Contexts either), so they wrote a pure Go replacement instead. https://github.com/segmentio/kafka-go

  • GitHub repo pet

    Simple command-line snippet manager, written in Go.

    Project mention: Example for using `buildGoPackage` or `buildGoModule`? | reddit.com/r/NixOS | 2021-07-06

    environment.systemPackages = with pkgs; [ callPackage buildGoModule rec { pname = "pet"; version = "0.3.4"; src = fetchFromGitHub { owner = "knqyf263"; repo = "pet"; rev = "v${version}"; sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s"; }; vendorSha256 = "1879j77k96684wi554rkjxydrj8g3hpp0kvxz03sd8dmwr3lh83j"; runVend = true; meta = with lib; { description = "Simple command-line snippet manager, written in Go"; homepage = "https://github.com/knqyf263/pet"; license = licenses.mit; maintainers = with maintainers; [ kalbasit ]; platforms = platforms.linux ++ platforms.darwin; }; } {} ]; error: 'functionArgs' requires a function, at /nix/store/ki037hma7q4dqj73wd8hg27plp45my3r-nixpkgs-21.11pre299952.7918dc5148d/nixpkgs/lib/trivial.nix:337:42

  • GitHub repo kingpin

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

    Project mention: What is the best way to handle flags? | reddit.com/r/commandline | 2021-08-02
  • GitHub repo arduino-cli

    Arduino command line tool

    Project mention: Is there any good alternatives for the Arduino IDE that works under pure Wayland environment?? | reddit.com/r/arduino | 2021-09-11

    The Arduino folks also make the Arduino-CLI if you like typing at the shell like me: https://github.com/arduino/arduino-cli

  • GitHub repo tcell

    Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.

    Project mention: Snake game implementation. | reddit.com/r/golang | 2021-10-20

    a Snake Game implication in Go using 2d array. https://github.com/twiny/snaky it runs on terminal window using github.com/gdamore/tcell/v2/termbox to render Snake movement.

  • GitHub repo doctl

    The official command line interface for the DigitalOcean API.

    Project mention: Connect DigitalOcean Kubernetes to GitLab - Tutorial for Windows 10 Users | dev.to | 2021-01-21

    Download and install windows version from doctl

  • GitHub repo cointop

    A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀

    Project mention: cointop | reddit.com/r/devopskhan | 2021-10-23
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-11-25.

Go Command-line related posts

Index

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

Project Stars
1 cobra 24,040
2 micro-editor 18,380
3 urfave/cli 16,881
4 ctop 12,133
5 termui 11,394
6 sampler 9,164
7 gocui 7,549
8 usql 6,845
9 Rich Interactive Widgets for Terminal UIs 6,201
10 Shiori 5,275
11 color 4,838
12 miller 4,599
13 promptui 4,571
14 elvish 4,533
15 go-prompt 4,216
16 termbox-go 4,188
17 kafka-go 4,113
18 pet 3,318
19 kingpin 3,160
20 arduino-cli 3,151
21 tcell 3,103
22 doctl 2,852
23 cointop 2,810
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com