Go CLI

Open-source Go projects categorized as CLI

Top 23 Go CLI Projects

  1. fzf

    :cherry_blossom: A command-line fuzzy finder

    Project mention: Effortlessly Manage Your Notes with my Bash Script Featuring FZF Integration! | dev.to | 2025-01-18

    fzf (fuzzy finder)

  2. SaaSHub

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

    SaaSHub logo
  3. lazygit

    simple terminal UI for git commands

    Project mention: TIL: Ghostty — a new and quite promising terminal emulator | dev.to | 2025-01-18

    While design is an important part to some degree, there is something more that I've become observing and, therefore, liking lately: the reasonable default configs of the apps, which mean that the majority of the users will never need to mess with configs at all. Here is a great post by Arne about this trend which lists such tools like Fish (mentioned above), Helix, Lazygit, Zellij, k9s, etc. And that a very user-friendly approach: install and use right away! I believe that Ghostty would be a good addition to the list. For example:

  4. 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)

  5. cobra

    A Commander for modern Go CLI interactions

    Project mention: ⏳GitHub Copilot 1-Day Build Challenge : eol, a tiny Go client to manage eols | dev.to | 2025-01-11

    I really enjoyed a lot the resulting prototype I manage to get within almost 2 hours and it gave me the confirmation that I wanted to spend more time to make a clean code and lear more about Go best practices and probably use Cobra.dev (A Framework for Modern CLI Apps in Go) to learn while building something fun yet useful.

  6. cli

    GitHub’s official command line tool

    Project mention: How to self-host Strapi on Railway | dev.to | 2025-01-18

    GitHub CLIDownload and Install GitHub CLI here

  7. bubbletea

    A powerful little TUI framework 🏗

    Project mention: I Built My First CLI Tool - GoVibes | dev.to | 2024-11-22

    Most of the development time went into making GoVibes interactive and look pretty. Perhaps, that effort could have been better spent on making it cross-platform and functional, but again, I'm its sole user, so it doesn't matter. Anyway, I found BubbleTea, a library for building interactive CLI(TUI) tools in Golang. The library surely had a learning curve. It took me a week to wrap my head around how all things tie together. There are also a lot of prebuilt components(Bubbles) which makes it super easy to build a pretty, user-friendly TUI.

  8. urfave/cli

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

  9. asdf

    Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

    Project mention: mise vs. asdf for JavaScript project environment management | dev.to | 2025-01-02

    asdf is a popular version manager that uses a technique called "shimming" to switch between different versions of tools like Python, Node.js, and Ruby. It creates temporary paths to specific versions, modifying the environment to ensure that the correct version of a tool is used in different projects. However, this method can introduce performance overhead due to how these shims work.

  10. fx

    Terminal JSON viewer & processor

    Project mention: Ink: React for Interactive CLI Apps | news.ycombinator.com | 2024-11-01

    Any viewer of data that has 50,000 elements in it has this many items with a scroll wheel. It doesn't matter if it's on the screen at the same time, this is the kind of thing that the UI is supposed to be abstracting away from you; you just describe the UI and the renderer makes it appear on the screen. Example apps (not built with Ink, just some that fit into this category): less, https://fx.wtf, sqlite...

    And this is why React apps end up with bad performance by default. Doesn't crop up in simple tests and light usage, but the bad scaling will catch up with you when you deploy to production.

  11. glow

    Render markdown on the CLI, with pizzazz! 💅🏻

    Project mention: Command Line Tools I Like (2022) | news.ycombinator.com | 2024-10-09

    I really enjoy `glow`, it makes me smile when I use it:

    https://github.com/charmbracelet/glow

    It's a commandline markdown viewer/renderer.

  12. vhs

    Your CLI home video recorder 📼

    Project mention: DialectMorph - A CLI Tool To Transpile Code | dev.to | 2024-09-16

    VHS This tool was used to make the demo video for the CLI tool

  13. duf

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

    Project mention: 17 Essential CLI Tools to Boost Developer Productivity | dev.to | 2025-01-02

    duf

  14. katana

    A next-generation crawling and spidering framework.

    Project mention: Ask HN: How to find subdomains and paths for a website | news.ycombinator.com | 2024-06-01
  15. yq

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

    Project mention: Step-by-Step Guide: Deploying a Static Web Application in OpenShift Using a Custom S2I Builder Image | dev.to | 2024-12-09

    curl -O --location https://github.com/mikefarah/yq/releases/download/2.4.1/yq_linux_amd64 sudo mv yq_linux_amd64 /usr/bin/yq sudo chmod +x /usr/bin/yq

  16. wuzz

    Interactive cli tool for HTTP inspection

  17. qrcp

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

  18. fq

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

    Project mention: Binsider – A TUI for analyzing Linux binaries | news.ycombinator.com | 2024-09-12
  19. superfile

    Pretty fancy and modern terminal file manager

    Project mention: Show HN: Facad. The ls alternative making terminals cooler than GUIs | news.ycombinator.com | 2024-09-30

    Would a commander type TUI work for you?

    https://github.com/MidnightCommander/mc

    https://github.com/ranger/ranger

    https://github.com/jarun/nnn

    There's also superfile and broot, but personally I feel like they try to do a little too much, might work for you though:

    https://github.com/yorukot/superfile

    https://github.com/Canop/broot

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

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

  22. terragrunt

    Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.

    Project mention: Provision EKS Cluster with Terraform, Terragrunt & GitHub Actions | dev.to | 2025-01-11

    name: Deploy on: push: branches: - main pull_request: branches: - main jobs: terraform: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Setup SSH uses: webfactory/[email protected] with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Setup Terraform uses: hashicorp/setup-terraform@v2 with: terraform_version: 1.5.5 terraform_wrapper: false - name: Setup Terragrunt run: | curl -LO "https://github.com/gruntwork-io/terragrunt/releases/download/v0.48.1/terragrunt_linux_amd64" chmod +x terragrunt_linux_amd64 sudo mv terragrunt_linux_amd64 /usr/local/bin/terragrunt terragrunt -v - name: Apply Terraform changes run: | cd dev terragrunt run-all apply -auto-approve --terragrunt-non-interactive -var AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -var AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY -var AWS_REGION=$AWS_DEFAULT_REGION cd bastion-ec2 ip=$(terragrunt output instance_public_ip) echo "$ip" echo "$ip" > public_ip.txt cat public_ip.txt pwd env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}

  23. reviewdog

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

  24. 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
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 discussion

Log in or Post with

Go CLI related posts

  • Effortlessly Manage Your Notes with my Bash Script Featuring FZF Integration!

    3 projects | dev.to | 18 Jan 2025
  • 6 Common Kubernetes RBAC Security Threats and Solutions to Tackle Them

    2 projects | dev.to | 16 Jan 2025
  • TinyFeed v1.0.0 Release

    1 project | news.ycombinator.com | 14 Jan 2025
  • Tinyfeed: Generate a static HTML page from a collection of feeds

    1 project | news.ycombinator.com | 13 Jan 2025
  • ⏳GitHub Copilot 1-Day Build Challenge : eol, a tiny Go client to manage eols

    3 projects | dev.to | 11 Jan 2025
  • Show HN: SRTD – Live-reloading SQL templates for Supabase migrations

    2 projects | news.ycombinator.com | 9 Jan 2025
  • Getting Started with Go and the Web: Deploy to Railway

    2 projects | dev.to | 30 Dec 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Jan 2025
    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 67,176
2 lazygit 55,210
3 dive 49,020
4 cobra 38,881
5 cli 37,985
6 bubbletea 29,105
7 urfave/cli 22,634
8 asdf 22,472
9 fx 19,189
10 glow 16,799
11 vhs 15,687
12 duf 13,047
13 katana 12,860
14 yq 12,641
15 wuzz 10,603
16 qrcp 10,061
17 fq 9,887
18 superfile 8,646
19 aws-vault 8,586
20 lipgloss 8,429
21 terragrunt 8,335
22 reviewdog 8,096
23 httpx 7,976

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

Did you know that Go is
the 4th most popular programming language
based on number of references?