Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 23 Go CLI Projects
-
There are two plugins allowing us to use fzf in Vim: the native fzf plugin directly installed with fzf, and fzf.vim. The second plugin is built on the first one.
-
Project mention: jesseduffield/lazygit: simple terminal UI for git commands | /r/devopsish | 2023-12-07
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
Project mention: Dive – A tool for exploring each layer in a Docker image | news.ycombinator.com | 2023-10-19
-
github.com/spf13/cobra
-
Project mention: Everything I install and set up on a new MacBook as a web developer | dev.to | 2023-12-05
Two CLI tools I install right away are the GitHub CLI (via brew) and the Netlify CLI (via npm).
-
I built a TUI app to find anime scenes by image to learn the TUI framework [Bubbletea](https://github.com/charmbracelet/bubbletea)
-
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
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
Project mention: Jaq – A jq clone focused on correctness, speed, and simplicity | news.ycombinator.com | 2023-11-29
There's also this awesome tool to make JSON interactively navigable in the terminal:
-
-
I used Charm VHS to generate the last gif you saw. Very cool tool that allows you create & easily edit CLI-related demos.
-
Somewhat related - `duf` is "a better `df` alternative":
-
-
Project mention: Runtime error with plugin that uses io.popen to run executable during plugin startup | /r/neovim | 2023-11-29
I've been trying to install and config a plugin (papis.nvim) for a couple of days and am having issues with a function that uses io.popen to run yq to convert yaml files to json. I know my install of yq is fine- I can run yq -oj info.yaml from the command line with no issue and it produces the correct json output. I know the function can find the yq executable, but it returns nil. I've saved the error from the yq golang code: panic: runtime error: invalid memory address or nil pointer dereference
-
Project mention: Jaq – A jq clone focused on correctness, speed, and simplicity | news.ycombinator.com | 2023-11-29
https://github.com/wader/fq has a REPL and can read JSON. Tip is to use "paste | from_json | repl" in a REPl to paste JSON into a sub-REPL, you can also use `` with fq which is a raw string literal
-
Project mention: A CLI app that keeps your passwords encrypted and lets you manage them using a single secret | /r/golang | 2023-07-01
you might want to check https://github.com/99designs/keyring and https://github.com/99designs/aws-vault
-
Using a few different methods. Pulling the sites I'm using Puppeteer and Katana (https://github.com/projectdiscovery/katana). To process and extract the information is tricky, most websites selling things put time into their metadata; this does make it easier. Additionally, a lot of the larger stores have common patterns between them. Failing all of this, I trained a Tensor flow model to understand how to read product pages. However, it's far from perfect and a journey of continual improvement.
-
terragrunt
Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
If your team works with Terraform, you should definitely try Terragrunt (and obviously, its CLI tool!). It's an Infrastructure as Code (IaC) tool that acts as a wrapper for Terraform and simplifies dealing with multiple Terraform modules in different environments.
-
reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
I build a general converter from SARIF to Reviewdog Diagnostic Format (RDFormat), then use Reviewdog to give suggested code changes as well as the context of the changes for PR reviewing.
-
-
-
-
datree
Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
Project mention: Show HN: Datree (YC W20) – End-to-End Policy Management for Kubernetes | news.ycombinator.com | 2023-04-04Hi HN, I’m Shimon, the co-founder of Datree: A policy management solution for Kubernetes. We help DevOps engineers prevent misconfigurations in their Kubernetes by enforcing an organizational policy on their clusters. Engineers can define a custom policy or use one of Datree’s built-in policies, such as NIST/NSA Hardening Guide, EKS Security Best Practices, CIS Benchmark, and more.
Our website is at https://datree.io and our GitHub is here: https://github.com/datreeio/datree
This is not the first time I have shown Datree to the HN community: A little over a year ago, I posted here an earlier version of Datree (https://news.ycombinator.com/item?id=28918850). At that time, Datree consisted of a CLI tool to detect Kubernetes misconfigurations during the development process (locally or in the CI/CD), unlike the version I present today in which the enforcement happens in production.
We built the CLI tool because we detected a big problem among Kubernetes operators: Misconfigurations. Kubernetes is extremely complex and flexible, which makes it very easy to poorly configure it in ways that are not secure. And indeed, we talked to dozens of Kubernetes operators who suffered from various problems, starting with failed audits, all the way to downtime in production, all because of misconfigurations.
Our solution was simple: Give the developers the means to shift-left security testing during the development process with a CLI tool that can be integrated into the CI/CD. We thought this was the best way to approach the problem: It is easiest to fix misconfigurations in the development process before they are deployed to production, it prevents context-switching and relieves resources from the DevOps team.
While the CLI tool was very popular among the open-source community (it got over 6000 stars on GitHub), we soon realized that CI/CD enforcement is not enough. As we talked with Datree’s users, we realized we had made a fundamental mistake: We thought of misconfiguration prevention in technical terms rather than organizational terms.
Indeed, from a technical point of view, it makes sense to shift-left Kubernetes security. But when considering the organizational structure in which it takes place, it simply isn’t enough. DevOps engineers told us that they love the shift-left concept, but they simply cannot rely on the goodwill of the engineers to run a CLI tool locally or to monitor all the pipelines leading to production. They need governance, something to help them stay in control of the state of their clusters.
Moreover, we realized that many companies who use Kubernetes are heavily regulated, and cannot take any chances with their security. Sure, these companies want the engineers to fix misconfigurations during development, but they also want something to make sure that no matter what, their clusters remain misconfiguration-free.
Based on this understanding, we developed a new version of Datree that sits on the cluster itself (rather than in the CI/CD) and protects the production environment by blocking misconfigured resources with an admission webhook. It has a centralized policy management solution to enable governance, and native monitoring to get real-time insights into the state of your Kubernetes.
I look forward to hearing your feedback and answering any questions you may have.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go CLI related posts
- How do I give my Steam save file of Satisfactory to my friend that has the Epic Games version
- Unity like chatGPT integration in OS?
- jesseduffield/lazygit: simple terminal UI for git commands
- I Need a Tool to Develop on Kubernetes
- chatgpt in the terminal?
- How exactly do hackers think? I want to know how vulnerable I am after my Discord got hacked.
- Built a TUI app to find anime scenes by image
-
A note from our sponsor - Onboard AI
getonboard.dev | 8 Dec 2023
Index
What are some of the best open-source CLI projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | fzf | 55,917 |
2 | lazygit | 40,611 |
3 | dive | 39,691 |
4 | cobra | 34,396 |
5 | cli | 33,939 |
6 | bubbletea | 21,092 |
7 | urfave/cli | 21,037 |
8 | fx | 17,850 |
9 | glow | 13,760 |
10 | vhs | 12,403 |
11 | duf | 11,758 |
12 | wuzz | 10,397 |
13 | yq | 9,870 |
14 | fq | 9,037 |
15 | aws-vault | 7,899 |
16 | katana | 7,754 |
17 | terragrunt | 7,314 |
18 | reviewdog | 6,845 |
19 | lipgloss | 6,673 |
20 | jid | 6,642 |
21 | drive | 6,585 |
22 | datree | 6,366 |
23 | slack-term | 6,295 |