Go Utilities

Open-source Go projects categorized as Utilities

Top 23 Go Utility 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

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

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

    Unified ingress for developers

  • Project mention: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30

    ngrok 1.0 - Original version of ngrok. No longer developed in favor of the commercial 2.0 version.

  • hub

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

  • Project mention: GitHub Discussion about the recent feed changes becomes 3rd most upvoted ever | news.ycombinator.com | 2023-09-11

    Use hub here via CLI and forget the gui https://hub.github.com/

  • delve

    Delve is a debugger for the Go programming language.

  • Project mention: The worst thing about Jenkins is that it works | news.ycombinator.com | 2023-12-03

    At a recent job, we had slightly different containers for local dev; our backend containers (for a Go app) had Air [1] installed for live reloading, plus Delve [2] running inside the container for VS Code's debugger to connect to. We also had a frontend container for local dev, which didn't get deployed as a container, just as static files.

    [1] https://github.com/cosmtrek/air

    [2] https://github.com/go-delve/delve/

  • gin-vue-admin

    🚀Vite+Vue3+Gin的开发基础平台,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。

  • excelize

    Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets

  • Project mention: Recommend a powerful excel processing library, @zurmokeeper/exceljs, which supports encryption and decryption of xlsx files and flexible setting of multiple table headers when exporting, etc. | /r/node | 2023-07-01

    Then I found out that WPS only supports ecma376 standard encrytion for xlsx files. Then I referred to the official documentation and libraries in other languages, such as msoffcrypto-tool written in python. msoffcrypto-tool) and go's excelize. Since I don't know much about encryption and decryption, the process of implementation is also a bit of a twist.

  • SaaSHub

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

    SaaSHub logo
  • ctop

    Top-like interface for container metrics

  • Project mention: Lazydocker | news.ycombinator.com | 2023-07-18

    This does remind me of ctop as well: https://github.com/bcicen/ctop

    It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.

  • GJSON

    Get JSON values quickly - JSON parser for Go

  • Project mention: Rob Pike: Gobs of data (2011) | news.ycombinator.com | 2023-12-04

    Someone made a benchmark of serialization libraries in go [1], and I was surprised to see gobs is one of the slowest ones, specially for decoding. I suspect part of the reason is that the API doesn't not allow reusing decoders [2]. From my explorations it seems like both JSON [3], message-pack [4] and CBOR [5] are better alternatives.

    By the way, in Go there are a like a million JSON encoders because a lot of things in the std library are not really coded for maximum performance but more for easy of usage, it seems. Perhaps this is the right balance for certain things (ex: the http library, see [6]).

    There are also a bunch of libraries that allow you to modify a JSON file "in place", without having to fully deserialize into structs (ex: GJSON/SJSON [7] [8]). This sounds very convenient and more efficient that fully de/serializing if we just need to change the data a little.

    --

    1: https://github.com/alecthomas/go_serialization_benchmarks

    2: https://github.com/golang/go/issues/29766#issuecomment-45492...

    --

    3: https://github.com/goccy/go-json

    4: https://github.com/vmihailenco/msgpack

    5: https://github.com/fxamacker/cbor

    --

    6: https://github.com/valyala/fasthttp#faq

    --

    7: https://github.com/tidwall/gjson

    8: https://github.com/tidwall/sjson

  • goreleaser

    Deliver Go binaries as fast and easily as possible

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

    > This is a much faster way than setting up Github Actions to build an executable for every possible platform on every release

    It's not even that hard. Just use GoReleaser.

    https://goreleaser.com/

  • wuzz

    Interactive cli tool for HTTP inspection

  • usql

    Universal command-line interface for SQL databases

  • Project mention: xo/usql: Universal command-line interface for SQL databases | /r/devel | 2023-06-08
  • peco

    Simplistic interactive filtering tool

  • godotenv

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

  • Project mention: Autenticação com Golang e AWS Cognito | dev.to | 2024-02-05

    Primeiro vamos carregar nossas envs com o pacote godotenv, depois iniciamos nosso cognito client, passando o COGNITO_CLIENT_ID, que pegamos anteriormente, depois iniciamos o gin e criamos um server, isso é o suficiente.

  • kopia

    Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.

  • Project mention: DwarFS – The Deduplicating Warp-Speed Advanced Read-Only File System | news.ycombinator.com | 2024-04-11

    I think Kopia would be great for your use case

    https://kopia.io/

    It has a great system to snapshot files but only store data if it's changed. I use it in an environment where I can't use something like zfs to snapshot data because I don't have the ability to make decisions about what filesystem we're using. It's been amazing, love it so much!

  • xlsx

    Go library for reading and writing XLSX files.

  • go-funk

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

  • godropbox

    Common libraries for writing Go services/applications.

  • hystrix-go

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

  • lancet

    A comprehensive, efficient, and reusable util function library of Go.

  • Project mention: Show HN: A comprehensive, efficient, and reusable util function library of Go | news.ycombinator.com | 2024-02-20
  • minify

    Go minifiers for web formats (by tdewolff)

  • panicparse

    Crash your app in style (Golang)

  • gorequest

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

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

  • Show HN: Docker-phobia: Analyze Docker image size with a treemap

    3 projects | news.ycombinator.com | 28 Apr 2024
  • DwarFS – The Deduplicating Warp-Speed Advanced Read-Only File System

    8 projects | news.ycombinator.com | 11 Apr 2024
  • Mastering Docker Image Optimization: 6 Key Strategies for building Lighter, Faster, and Safer images

    1 project | dev.to | 4 Apr 2024
  • Optimisation des images Docker: 6 Stratégies clés pour des images plus légeres et plus performantes

    1 project | dev.to | 4 Apr 2024
  • Portr – open-source ngrok alternative designed for teams

    6 projects | news.ycombinator.com | 2 Apr 2024
  • pyfzf : Python Fuzzy Finder

    2 projects | dev.to | 10 Mar 2024
  • Show HN: A comprehensive, efficient, and reusable util function library of Go

    1 project | news.ycombinator.com | 20 Feb 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 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 Utility projects in Go? This list will help you:

Project Stars
1 fzf 59,920
2 dive 43,709
3 ngrok 23,938
4 hub 22,692
5 delve 22,075
6 gin-vue-admin 20,095
7 excelize 17,311
8 ctop 15,167
9 GJSON 13,636
10 goreleaser 13,100
11 wuzz 10,480
12 usql 8,634
13 peco 7,580
14 godotenv 7,556
15 kopia 6,354
16 xlsx 5,760
17 go-funk 4,622
18 godropbox 4,174
19 hystrix-go 4,108
20 lancet 3,695
21 minify 3,594
22 panicparse 3,483
23 gorequest 3,392

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