Go Utilities

Open-source Go projects categorized as Utilities

Top 23 Go Utility Projects

  • GitHub repo fzf

    :cherry_blossom: A command-line fuzzy finder

    Project mention: What does * do in terminal? | reddit.com/r/linuxquestions | 2021-06-18

    If you like the idea of what the wildcard can do for you consider setting up fzf a fuzzy search tool for the command line. I think you would really like it. Another tool that you can use in combination with fzf is ripgrep a line oriented search and recursive search tool. Together they are quite powerful and can even be configured with vim.

  • GitHub repo hub

    A command-line tool that makes git easier to use with GitHub.

    Project mention: 15 Command Line Tools which Spark Joy in Your Terminal | dev.to | 2021-05-06
  • GitHub repo ngrok

    Introspected tunnels to localhost

    Project mention: 15 Command Line Tools which Spark Joy in Your Terminal | dev.to | 2021-05-06
  • GitHub repo delve

    Delve is a debugger for the Go programming language.

    Project mention: ARM32 support for delve: developers wanted for bounty | reddit.com/r/golang | 2021-06-03

    I'd like to spread the word about an ongoing issue on delve, which is support for ARM32 targets https://github.com/go-delve/delve/issues/2051

  • GitHub repo ctop

    Top-like interface for container metrics

    Project mention: Found this nice top-like CLI tool for container metrics | reddit.com/r/selfhosted | 2021-04-14
  • GitHub repo wuzz

    Interactive cli tool for HTTP inspection

  • GitHub repo excelize

    Golang library for reading and writing Microsoft Excel™ (XLSX) files.

    Project mention: Creating Excel files with Golang | reddit.com/r/golang | 2021-01-02

    change your extension xls to xlsx, and use this one. https://github.com/360EntSecGroup-Skylar/excelize

  • GitHub repo GJSON

    Get JSON values quickly - JSON parser for Go

    Project mention: After years of eagerness, I finally started Go and I already feel as if I start to hate it.... | reddit.com/r/golang | 2021-05-20

    I would check out https://github.com/tidwall/gjson

  • GitHub repo goreleaser

    Deliver Go binaries as fast and easily as possible

    Project mention: F2 — A powerful, cross-platform batch renaming CLI tool, written in Go and focused on ease of use, speed and safety | reddit.com/r/golang | 2021-05-12

    That is craziest thing I ever saw on this planet. No excuses, you can not use node package manager for distribution of your go scripts. In my opinion. How npm install can be better than just https://goreleaser.com/ without any???

  • GitHub repo usql

    Universal command-line interface for SQL databases

    Project mention: Usql 0.9.1 – Now with Autocomplete | news.ycombinator.com | 2021-05-09

    There's a new version of usql - the universal command-line client for SQL databases.

    After I started contributing to it a while ago, I went through all comments in older posts about it here on hackernews. I think the most requested feature was autocomplete. So I went ahead and implemented it. I surprised myself, how useful it ended up being. This includes completing filenames and even command names which I use on a regular basis and know very well.

    Another thing we managed to figure out are static builds for Linux. If you previously had issues with starting usql, seeing errors about libicu, you might want to give this latest version a try.

    There's also a basic implementation of the `\copy` command. Combined with the `csvq` driver, it allows loading CSV or JSON files to any supported database. But it doesn't do _any_ type mapping, so you might have to add some casting in the source query.

    Other new features include pager support, output to a file or a pipe, `\crosstab` command, and many more.

    If that got your attention, give it a spin. Full release notes are available at https://github.com/xo/usql/releases. As always, all feedback and contributions are welcome.

  • GitHub repo peco

    Simplistic interactive filtering tool

    Project mention: Simplistic interactive filtering tool: peco | reddit.com/r/commandline | 2021-06-02
  • GitHub repo xlsx

    Go (golang) library for reading and writing XLSX files.

    Project mention: Any good Visual Basic courses? | reddit.com/r/learnprogramming | 2021-03-04
  • GitHub repo resty

    Simple HTTP and REST client library for Go

    Project mention: Binance API | reddit.com/r/golang | 2021-05-23

    I used to use the standard http lib, but now I switched to resty https://github.com/go-resty/resty

  • GitHub repo godropbox

    Common libraries for writing Go services/applications.

  • GitHub repo godotenv

    A Go port of Ruby's dotenv library (Loads environment variables from `.env`.)

    Project mention: Guia API CRUD con Go y PostgreSQL | dev.to | 2021-02-08
  • GitHub repo Task

    A task runner / simpler Make alternative written in Go

    Project mention: Never deploy AWS CDK Stacks in wrong account again | dev.to | 2021-06-15

    # https://taskfile.dev version: '3' env: CDK_DEFAULT_REGION: eu-west-1 vars: region: eu-west-1 account: sh: aws sts get-caller-identity --query Account --output text accountdev: accounttest: accountprod: 555555555555 # CDK Version version: v2.0.0-rc.7 tasks: deploy-prod: desc: deploy Lambda/Reporting Stack cmds: - export CDK_DEFAULT_ACCOUNT={{.account}} && npx [email protected]{{.version}} deploy reporting preconditions: - sh: "[ '{{.account}}' = '{{.accountprod}}' ]" msg: "Account nicht prod, Halting"

  • GitHub repo hystrix-go

    Netflix's Hystrix latency and fault tolerance library, for Go

  • GitHub repo gorequest

    GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )

  • GitHub repo goreporter

    A Golang tool that does static analysis, unit testing, code review and generate code quality report.

  • GitHub repo minify

    Go minifiers for web formats (by tdewolff)

  • GitHub repo go-funk

    A modern Go utility library which provides helpers (map, find, contains, filter, ...)

  • GitHub repo panicparse

    Crash your app in style (Golang)

    Project mention: Remove source path from Go's panic stack trace | reddit.com/r/golang | 2021-02-19

    This one works nicely too: https://github.com/maruel/panicparse

  • GitHub repo gojson

    Automatically generate Go (golang) struct definitions from example JSON

    Project mention: The first time I coded in Go | reddit.com/r/ProgrammerHumor | 2021-01-15

    There are also command line and web based tools to take your json input and create a struct you can marshal/unmarshal it to automatically. I use https://github.com/ChimeraCoder/gojson

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). The latest post mention was on 2021-06-18.


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

Project Stars
1 fzf 37,255
2 hub 21,014
3 ngrok 20,420
4 delve 16,361
5 ctop 11,686
6 wuzz 9,630
7 excelize 8,850
8 GJSON 8,465
9 goreleaser 8,184
10 usql 6,546
11 peco 6,407
12 xlsx 5,011
13 resty 4,353
14 godropbox 3,948
15 godotenv 3,906
16 Task 3,521
17 hystrix-go 3,196
18 gorequest 2,908
19 goreporter 2,845
20 minify 2,691
21 go-funk 2,660
22 panicparse 2,587
23 gojson 2,370
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives