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: Superfile – A fancy, petty terminal file manager | news.ycombinator.com | 2024-05-10

    Seems like they're using Bubble Tea, a Terminal UI framework for Go. I've heard very good things about it and have been meaning to check it out.

    https://github.com/charmbracelet/bubbletea

  • 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
  • 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: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? | news.ycombinator.com | 2024-05-06
  • SaaSHub

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

    SaaSHub logo
  • vhs

    Your CLI home video recorder πŸ“Ό

  • Project mention: Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones? | news.ycombinator.com | 2024-05-06

    I'm a maintainer of Ratatui (a rust TUI crate). Here's a few links

    https://ratatui.rs/showcase/apps/

    https://github.com/ratatui-org/awesome-ratatui

    https://discord.com/channels/1070692720437383208/10729061831... (made with ratatui channel on our discord server)

    We encourage our users to use https://github.com/charmbracelet/vhs to build out demos that look neat.

    My particular favorite of the bunch (from a look and feel perspective) is https://github.com/zaghaghi/openapi-tui

    Also, not ratatui, but worth a look: https://github.com/rothgar/awesome-tuis

  • 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: Tview – Golang Terminal UI library with rich, interactive widgets | news.ycombinator.com | 2024-05-03
  • 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: From GUI to CLI: Transforming my query workflow with usql and jq | dev.to | 2024-05-15

    Since some of the databases I was interacting were postgres, I started to play around with psql. It felt amazing, it had a great integration with the terminal, no visual pollution, I could also use vim as my query editor, and it was blazing fast. The problem was that only some of the databases I was interacting were postgres. I needed something that could connect to multiple databases, something universal, so I don't have to invest time in new tooling all the time. So I searched on github "universal sql" and I felt in love with usql.

  • 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: Superfile – A fancy, petty terminal file manager | news.ycombinator.com | 2024-05-10
  • 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: State of the Terminal | news.ycombinator.com | 2024-05-16
  • 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

  • nao1215/csv - Read csv with validation in golang

    4 projects | dev.to | 11 May 2024
  • Superfile – A fancy, petty terminal file manager

    12 projects | news.ycombinator.com | 10 May 2024
  • Tview – Golang Terminal UI library with rich, interactive widgets

    1 project | news.ycombinator.com | 3 May 2024
  • Go: how fat are your dependencies? Use go-size-analyzer!

    2 projects | dev.to | 25 Apr 2024
  • Frawk: An efficient Awk-like programming language. (2021)

    4 projects | news.ycombinator.com | 21 Apr 2024
  • Ask HN: What software sparks joy when using?

    10 projects | news.ycombinator.com | 17 Apr 2024
  • termui: Golang Terminal Dashboard

    2 projects | news.ycombinator.com | 14 Apr 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 17 May 2024
    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. Learn more β†’

Index

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

Project Stars
1 cobra 36,237
2 bubbletea 24,450
3 micro-editor 23,964
4 urfave/cli 21,692
5 fx 18,552
6 dolt 17,070
7 ctop 15,195
8 vhs 14,030
9 termui 12,998
10 sampler 12,241
11 Rich Interactive Widgets for Terminal UIs 10,065
12 qrcp 9,796
13 gocui 9,675
14 Shiori 8,808
15 usql 8,654
16 miller 8,588
17 lipgloss 7,441
18 lf 7,272
19 kafka-go 7,169
20 color 7,052
21 promptui 5,930
22 elvish 5,431
23 go-prompt 5,203

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