Go CLI

Open-source Go projects categorized as CLI

Top 23 Go CLI Projects

  • fzf

    :cherry_blossom: A command-line fuzzy finder

  • Project mention: Ask HN: Any tool for managing large and variable command lines? | news.ycombinator.com | 2024-04-25

    In addition, I think bash's `operate-and-get-next` can be very helpful. When you go back through your shell history, you can hit Ctrl+o instead of enter and it will execute the command then put the next one in your history on the command line, and keep track of where you are in your history. This way, you can rerun a bunch of commands by going to the first one and Ctrl+o till you are done. And you can edit those commands and hit Ctrl+o and still go to the next previously run command.

    Note: fzf's history search feature breaks this. https://github.com/junegunn/fzf/issues/2399

  • lazygit

    simple terminal UI for git commands

  • Project mention: Dicas e configurações para seu sistema linux | dev.to | 2024-05-10

    LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit /usr/local/bin

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

    A tool for exploring each layer in a docker image

  • Project mention: Show HN: Docker-phobia: Analyze Docker image size with a treemap | news.ycombinator.com | 2024-04-28

    Cool, gonna try this soon. Would be great to use in combination with Dive (https://github.com/wagoodman/dive)

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

  • cli

    GitHub’s official command line tool

  • Project mention: Tools that keep me productive | dev.to | 2024-05-05

    GitHub CLI - GitHub on the command line. Great for creating PRs, etc.

  • 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

  • urfave/cli

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

  • SaaSHub

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

    SaaSHub logo
  • fx

    Terminal JSON viewer & processor

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

    Render markdown on the CLI, with pizzazz! 💅🏻

  • Project mention: Essential Command Line Tools for Developers | dev.to | 2024-01-15

    To get started, install Mods and check out some of the examples below. Since Mods has built-in Markdown formatting, you may also want to grab Glow to give the output some pizzazz.

  • 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

  • duf

    Disk Usage/Free Utility - a better 'df' alternative

  • Project mention: Go: What We Got Right, What We Got Wrong | news.ycombinator.com | 2024-01-04

    Not sure these are really popular, but I cannot resist advertising a few utilities written in Go that I regularly use in my daily workflow:

    - gdu: a NCDU clone, much faster on SSD mounts [1]

    - duf: a `df` clone with a nicer interface [2]

    - massren: a `vidir` clone (simpler to use but with fewer options) [3]

    - gotop: a `top` clone [4]

    - micro: a nice TUI editor [5]

    Building this kind of tools in Go makes sense, as the executables are statically compiled and are thus easy to install on remote servers.

    [1]: https://github.com/dundee/gdu

    [2]: https://github.com/muesli/duf

    [3]: https://github.com/laurent22/massren

    [4]: https://github.com/xxxserxxx/gotop

    [5]: https://github.com/zyedidia/micro

  • yq

    yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor

  • Project mention: Show HN: Flatito, grep for YAML and JSON files | news.ycombinator.com | 2024-03-25

    What I often use to just get the full key paths is yq (https://github.com/mikefarah/yq), piping into grep when necessary

      yq -o=props 

  • wuzz

    Interactive cli tool for HTTP inspection

  • qrcp

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

  • fq

    jq for binary formats - tool, language and decoders for working with binary and text formats

  • Project mention: How to Use JSON Path | news.ycombinator.com | 2024-05-03

    I see, thanks for replying and no worries! yeap some of the "self-describing" formats like msgpack, cbor etc will because of how fq works have to be decoded into something more of a meta-msgpack etc.

    About blobs, if you want to change how (possibly large) binaries are represented as JSON you can use the bits_format options, see https://github.com/wader/fq/blob/master/doc/usage.md#options, so fq -o bits_format=md5 torepr ...

    I can highly recommend to learn jq, it's what makes fq really useful, and as a bonus you will learn jq in general! :)

  • katana

    A next-generation crawling and spidering framework.

  • aws-vault

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

  • Project mention: Keep your AWS CLI config fresh with Cog | dev.to | 2024-03-28

    Undying fondness for aws-vault to securely cache my session credentials.

  • terragrunt

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

  • Project mention: How to Manage Multiple Terraform Environments Efficiently | dev.to | 2024-05-06

    Terragrunt is a Terraform wrapper, designed to fill in the gaps when it comes to large scale Terraform configurations.

  • lipgloss

    Style definitions for nice terminal layouts 👄

  • Project mention: State of the Terminal | news.ycombinator.com | 2024-05-16

    "\033[31;1;4munderlines\033[0m" is (again) no worse than a stream of vertices or a stream of object code. Everything is a stream of bytes (well, a stream of bits anyway). Do you want CSS? Lipgloss is not too far off [0].

    I read your objection basically as "escape sequences and control codes are noisy garbage"; are you saying something more like "the functionality you can achieve with escape sequences and control codes is fundamentally limited"? If that's the case, I don't see how, especially in the context of a character-based display.

    [0]: https://github.com/charmbracelet/lipgloss?tab=readme-ov-file...

  • reviewdog

    🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

  • httpx

    httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library. (by projectdiscovery)

  • Project mention: HTTP toolkit that allows running multiple probes | news.ycombinator.com | 2024-04-02
  • jid

    json incremental digger

  • drive

    Google Drive client for the commandline

  • 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 CLI related posts

  • E1S – Easily Manage AWS ECS Resources in Terminal

    1 project | news.ycombinator.com | 15 May 2024
  • Superfile – A fancy, petty terminal file manager

    12 projects | news.ycombinator.com | 10 May 2024
  • Show HN: Impromptu – Visualize Prometheus Metrics in the CLI

    1 project | news.ycombinator.com | 9 May 2024
  • How to Manage Multiple Terraform Environments Efficiently

    1 project | dev.to | 6 May 2024
  • E1s – A Terminal-Based AWS ECS Management Tool(~K9s for ECS)

    1 project | news.ycombinator.com | 6 May 2024
  • Klog: A plain-text file format and a command line tool for time tracking

    1 project | news.ycombinator.com | 3 May 2024
  • How do people create those sleek looking demos for startups?

    6 projects | news.ycombinator.com | 1 May 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 20 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 fzf 60,301
2 lazygit 46,156
3 dive 43,873
4 cobra 36,237
5 cli 35,586
6 bubbletea 24,581
7 urfave/cli 21,702
8 fx 18,570
9 glow 14,900
10 vhs 14,030
11 duf 12,340
12 yq 10,911
13 wuzz 10,478
14 qrcp 9,796
15 fq 9,422
16 katana 8,798
17 aws-vault 8,173
18 terragrunt 7,666
19 lipgloss 7,460
20 reviewdog 7,425
21 httpx 6,913
22 jid 6,809
23 drive 6,637

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