Go Command-line

Open-source Go projects categorized as Command-line

Top 23 Go Command-line Projects

  • cobra

    A Commander for modern Go CLI interactions

  • Project mention: The power of the CLI with Golang and Cobra CLI | dev.to | 2024-04-06

    We can use the flag with --date or -date, Go already does the automatic check. We can make our entire boilerplate with this approach, but let's make it a little easier and use the Cobra CLI package.

  • bubbletea

    A powerful little TUI framework ๐Ÿ—

  • Project mention: Harlequin: SQL IDE for Your Terminal | news.ycombinator.com | 2024-01-05
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • micro-editor

    A modern and intuitive terminal-based text editor

  • Project mention: Ask HN: What software sparks joy when using? | news.ycombinator.com | 2024-04-17
  • urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

  • Project mention: Best practices for distributing and updating a Go CLI on Linux? | /r/golang | 2023-05-18

    Can you use a framework like urfavecli https://github.com/urfave/cli? This will auto-update every time it detects a new version from your CLI's GitHub repository

  • fx

    Terminal JSON viewer & processor

  • Project mention: Bash/Zsh autocomplete for JSON fields | news.ycombinator.com | 2024-03-16
  • dolt

    Dolt โ€“ Git for Data

  • Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    Hi, this is my project :)

    For us this package is most important as the query engine that powers Dolt:

    https://github.com/dolthub/dolt

    We aren't the original authors but have contributed the vast majority of its code at this point. Here's the origin story if you're interested:

    https://www.dolthub.com/blog/2020-05-04-adopting-go-mysql-se...

  • ctop

    Top-like interface for container metrics

  • Project mention: Lazydocker | news.ycombinator.com | 2023-07-18

    This does remind me of ctop as well: https://github.com/bcicen/ctop

    It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.

  • 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.

    InfluxDB logo
  • vhs

    Your CLI home video recorder ๐Ÿ“ผ

  • Project mention: Asciinema 3.0 will be rewritten in Rust | news.ycombinator.com | 2024-02-07

    https://github.com/charmbracelet/vhs/blob/main/record.go#L22

    I was looking at the code, and it seems like you could put a low value for this and it would do what you want.

    I did not try it though

      // sleepThreshold is the time at which if there has been no activity in the

  • termui

    Golang terminal dashboard

  • Project mention: termui: Golang Terminal Dashboard | news.ycombinator.com | 2024-04-14
  • sampler

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

  • Project mention: Bus ETA | /r/commandline | 2023-11-16

    Hi ! I'm currently in the process of building myself dashboards using sampler and / or WTF. I want a section with the live ETA of some buses stop from STM. I know they have an SMS option so that may be a lead but i've figured there might be a better way using iBus or something. Thanks in advance !!

  • Rich Interactive Widgets for Terminal UIs

    Terminal UI library with rich, interactive widgets โ€”ย written in Golang

  • Project mention: What are some good projects in Go for an experienced dev? | /r/golang | 2023-11-17

    I've had fun writing an app with https://github.com/rivo/tview.

  • qrcp

    :zap: Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.

  • gocui

    Minimalist Go package aimed at creating Console User Interfaces.

  • Shiori

    Simple bookmark manager built with Go

  • Project mention: Bookmark manager with a focus on organization? | /r/selfhosted | 2023-12-07
  • usql

    Universal command-line interface for SQL databases

  • Project mention: xo/usql: Universal command-line interface for SQL databases | /r/devel | 2023-06-08
  • miller

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

  • Project mention: Qsv: Efficient CSV CLI Toolkit | news.ycombinator.com | 2023-12-22
  • lipgloss

    Style definitions for nice terminal layouts ๐Ÿ‘„

  • Project mention: When creating console based applications how do you replicate the following realtime updates: | /r/golang | 2023-12-07

    I recommend looking at the charm libraries. Lip gloss https://github.com/charmbracelet/lipgloss can provide the styling and bubble tea can handle the screen updates and framework https://github.com/charmbracelet/bubbletea there is a premade progress bar component in bubbles library. https://github.com/charmbracelet/bubbles

  • lf

    Terminal file manager

  • Project mention: Use Midnight Commander like a pro (2015) | news.ycombinator.com | 2024-01-21
  • kafka-go

    Kafka library in Go

  • Project mention: book about golang and kafka | /r/golang | 2023-06-04

    There are two main libraries that people use to write clients Confluent Kafka and segment io kafka

  • color

    Color package for Go (golang)

  • promptui

    Interactive prompt for command-line applications

  • elvish

    Powerful scripting language & Versatile interactive shell

  • Project mention: Xonsh: Python-powered, cross-platform, Unix-gazing shell | news.ycombinator.com | 2024-02-14
  • go-prompt

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

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 35,985
2 bubbletea 23,982
3 micro-editor 23,872
4 urfave/cli 21,625
5 fx 18,490
6 dolt 16,971
7 ctop 15,153
8 vhs 13,836
9 termui 12,977
10 sampler 12,220
11 Rich Interactive Widgets for Terminal UIs 9,778
12 qrcp 9,773
13 gocui 9,660
14 Shiori 8,714
15 usql 8,605
16 miller 8,553
17 lipgloss 7,331
18 lf 7,193
19 kafka-go 7,104
20 color 7,027
21 promptui 5,913
22 elvish 5,324
23 go-prompt 5,182

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com