Golang开源项目 ############## 基础 ==== 官网 ---- * golang: https://github.com/golang/go golang基础 ---------- * https://github.com/golang101/golang101 * https://research.swtch.com/ * https://research.swtch.com/interfaces * https://github.com/quii/learn-go-with-tests * https://essential-go.programming-books.io/ * https://www.freecodecamp.org/news/golang-tutorial-list-free-courses-learn-go-programming-language/ * Go 语法、Go 并发思想、Go 与 web 开发、Go 微服务设施等: https://github.com/overnote/over-golang 基础库 ------ * https://github.com/pkg/errors * errors and functions to annotate errors: https://github.com/juju/errors :: if err := SomeFunc(); err != nil { return errors.Annotate(err, "more context") } 代码规范 -------- * https://github.com/uber-go/guide/blob/master/style.md * https://github.com/xxjwxc/uber_go_guide_cn * https://github.com/golang-standards/project-layout Web网站 ======= 验证码 ------ * 图形验证码: https://github.com/wenlng/go-captcha 其他 ==== 配置文件相关 ------------ * https://github.com/go-ini/ini * xml: https://github.com/antchfx/xmlquery * xml: https://github.com/beevik/etree * yaml: https://github.com/go-yaml/yaml/ (gopkg.in/yaml.v2) * 便捷的使用配置文件中的数据: https://github.com/spf13/viper * replacement for Go's flag package: https://github.com/spf13/pflag * xlsx: https://github.com/tealeg/xlsx * json优化版: https://github.com/json-iterator/go * goreman: https://github.com/mattn/goreman Golang工具包 ------------ * 总地址: golang.org/x/tools * mirror: https://github.com/golang/tools/ * 文档: https://godoc.org/golang.org/x/tools * stringer: https://golang.org/x/tools/cmd/stringer * godoc.org: https://github.com/golang/gddo 通知 --------- * email: https://gopkg.in/gomail.v2 * email: https://github.com/jordan-wright/email * chat: https://github.com/tinode/chat 安全 ---- * https://github.com/theupdateframework/notary * 渗透测试情报收集工具: https://github.com/b1gcat/DarkEye * 星链计划404StarLink Project: https://github.com/knownsec/404StarLink2.0-Galaxy 日志log ------- * https://github.com/sirupsen/logrus :: 可以设定日志颜色 可以设定只打印指定级别日志 可以设定打印日志到文件、hook等 注: v1.2.0后可打印当前文件和当前行 * 分布式链路追踪: https://github.com/opentracing/opentracing-go * CNCF Jaeger, a Distributed Tracing Platform: https://github.com/jaegertracing/jaeger.git * rolling log: https://github.com/natefinch/lumberjack * Leveled execution logs for Go: https://github.com/golang/glog * zerolog: https://github.com/rs/zerolog (项目 https://github.com/alibaba/kt-connect 中使用) 环境变量 ----------- * 可读取文件.env来设定环境变量: https://github.com/joho/godotenv * 把环境变量的值自动赋值给自定义类型的变量: https://github.com/kelseyhightower/envconfig cli命令 ------- * https://github.com/urfave/cli * https://github.com/spf13/cobra * https://github.com/chriswalz/bit * beautiful terminal output: https://github.com/pterm/pterm 辅助代码生成工具 ---------------- * https://github.com/golang/mock * gomock库: github.com/golang/mock/gomock * 辅助代码生成工具mockgen: github.com/golang/mock/mockgen * https://github.com/google/wire * Type-driven code generation for Go: https://github.com/clipperhouse/gen * https://github.com/jarcoal/httpmock 数据库 ------ * 图数据库: https://github.com/dgraph-io/dgraph * 图数据库: https://github.com/cayleygraph/cayley * 时序数据库: https://github.com/influxdata/influxdb * 经济图数据库: https://github.com/degdb/degdb * A realtime distributed messaging platform: https://github.com/nsqio/nsq * The official Go package for NSQ: https://github.com/nsqio/go-nsq * distributed, highly available, and data center aware solution: https://github.com/hashicorp/consul * Programmatic lb backend(inspired by Hystrix): https://github.com/vulcand/vulcand * Global Distributed Client Side Rate Limiting: https://github.com/youtube/doorman * database clustering system for horizontal scaling of MySQL: https://github.com/vitessio/vitess * pingcap可水平扩展、兼容MySQL: https://github.com/pingcap/tidb * cloud-native distributed SQL DB: https://github.com/cockroachdb/cockroach * LevelDB key/value database in Go: https://github.com/syndtr/goleveldb * 原版(c++): https://github.com/google/leveldb 数据库驱动 ---------- * sql通用扩展: https://github.com/jmoiron/sqlx * es: https://github.com/elastic/elasticsearch * proxy based rediscluster solution: https://github.com/CodisLabs/codis * redis: https://github.com/gomodule/redigo * mongo: https://github.com/mongodb/mongo-go-driver * kafka: https://github.com/Shopify/sarama * sqlite: https://github.com/mattn/go-sqlite3 * mysql: https://github.com/go-sql-driver/mysql * psql: https://github.com/lib/pq * 数据结构: https://github.com/emirpasic/gods * Graphql: https://github.com/graphql-go/graphql * https://graphql.org/ ORM ------ * orm: https://github.com/jinzhu/gorm * ORM library for Golang: https://github.com/go-gorm/gorm/stargazers * https://gorm.io/ * mysql: https://github.com/go-xorm/xorm * gorose: * 资源授权A SDK for access control policies: https://github.com/ory/ladon 并发 ==== * https://github.com/Jeffail/tunny * https://github.com/benmanns/goworke * https://github.com/rafaeldias/async goroutine池 ----------- * ants 是一个高性能且低损耗的 goroutine 池: https://github.com/panjf2000/ants * https://www.geeksforgeeks.org/goroutines-concurrency-in-golang/ lib类库工具 =========== * 针对结构体的校验逻辑: https://github.com/asaskevich/govalidator * https://github.com/bytedance/go-tagexpr * protobuf 文件动态解析的接口,可以实现反射相关的能力: https://github.com/jhump/protoreflect * 表达式引擎工具: https://github.com/Knetic/govaluate * 表达式引擎工具: https://github.com/google/cel-go * ratelimit 工具:: https://github.com/uber-go/ratelimit https://blog.csdn.net/chenchongg/article/details/85342086 https://github.com/juju/ratelimit * golang 熔断的库:: 熔断除了考虑频率限制,还要考虑 qps,出错率等其他东西. https://github.com/afex/hystrix-go https://github.com/sony/gobreaker * Painless middleware chaining for Go: https://github.com/justinas/alice :: In short, it transforms: Middleware1(Middleware2(Middleware3(App))) to alice.New(Middleware1, Middleware2, Middleware3).Then(App) * 表格: https://github.com/chenjiandongx/go-echarts * https://github.com/go-echarts/go-echarts * tail 工具库: https://github.com/hpcloud/taglshi 字符串 ------ * 字符串处理: https://github.com/huandu/xstrings * 字符串匹配optimized for filenames and code symbols: https://github.com/sahilm/fuzzy uuid ---- * https://github.com/satori/go.uuid * https://github.com/google/uuid * http://github.com/gofrs/uuid * https://code.google.com/archive/p/go-uuid/ -> https://github.com/pborman/uuid 日期转化 date ------------- * Dateparse: https://github.com/araddon/dateparse http 工具 --------- * 模仿 python 的 Request: https://github.com/levigross/grequests numerical and scientific algorithms ----------------------------------- * 矩阵,统计,积分,微分等(matrices, statistics, integration, differentiation): https://github.com/gonum * https://www.gonum.org/ 框架 ------- * web 框架: https://github.com/go-chi/chi * web 框架: https://github.com/gin-gonic/gin * web 框架: https://github.com/astaxie/beego * web 框架: https://github.com/caddyserver/caddy * web 框架: https://github.com/go-martini/martini * web 框架: https://github.com/gofiber/fiber * inspired by the Node.js Express framework * built on top of Fasthttp * https://github.com/kataras/iris * https://github.com/gorilla/mux * web框架(cayley): https://github.com/gobuffalo/packr * 文件上传断点续传: https://github.com/tus/tusd * 轻量级TCP并发服务器框架: https://github.com/aceld/zinx * rendering JSON, XML: https://github.com/unrolled/render * The boss of http auth(CSRF Protection): https://github.com/volatiletech/authboss * 优雅关停(Zero downtime restarts for go servers): https://github.com/fvbock/endless 权限控制&后台管理 ----------------- * Casbin: 功能强大,支持 ACL、RBAC、ABAC 等访问模型,很多优秀的权限管理系统都是基于 Casbin 来构建的。Casbin 的核心功能都是围绕着访问控制来构建的,不负责身份认证:: go-admin、gin-vue-admin、gin-admin 这 3 个都是基于 Casbin * keto: 云原生权限控制服务,通过提供 REST API 进行授权,支持 RBAC、ABAC、ACL、AWS IAM 策略、Kubernetes Roles 等权限模 * go-admin: 基于 Gin + Vue + Element UI 的前后端分离权限管理系统脚手架,它的访问控制模型采用了 Casbin 的 RBAC 访问控制模型,功能强大 https://github.com/wenjianzhang/go-admin * gin-admin: 类似于 go-admin,是一个基于 Gin+Gorm+Casbin+Wire 实现的权限管理脚手架,并自带前端: https://github.com/LyricTian/gin-admin * gin-vue-admin: 基于 Gin 和 Vue 开发的全栈前后端分离的后台管理系统,集成了 JWT 鉴权、动态路由、动态菜单、Casbin 鉴权、表单生成器、代码生成器等功能: https://github.com/flipped-aurora/gin-vue-admin * 集工单统计、任务钩子、权限管理、灵活配置流程与模版于一身: https://github.com/lanyulei/ferry 云原生 ------ * Modern Infrastructure as Code: https://github.com/pulumi/pulumi 微服务框架 ---------- * A Go standard library for microservices: https://github.com/micro/go-micro * a framework for cloud native development: https://github.com/micro/micro * go-micro 到底是个啥? - 知乎: https://zhuanlan.zhihu.com/p/58985155 * go-zero is a web and rpc framework: https://github.com/tal-tech/go-zero * GoFrame(development framework of Golang): https://github.com/gogf/gf * A standard library for microservices: https://github.com/go-kit/kit * 阿里一个人推荐 https://www.cnblogs.com/alisystemsoftware/p/12408258.html * `Why I Recommend to Avoid Using the go-kit Library `_ * Microservices with GoKit: https://danielsinnott.com/blog/26 * jupiter: https://github.com/douyu/jupiter grpc ---- * https://github.com/grpc/grpc-go * gRPC to JSON proxy generator following the gRPC HTTP spec: https://github.com/grpc-ecosystem/grpc-gateway MQTT ---- * High performance mqtt broker: https://github.com/fhmq/hmq websocket --------- * https://github.com/olahol/melody * https://github.com/fasthttp/websocket * https://github.com/gorilla/websocket * Tiny WebSocket library for Go: https://github.com/gobwas/ws 代理&网关 --------- * caddy(类nginx,自动支持http2,內建了 Let’s Encrypt): https://github.com/caddyserver/caddy/tree/v2 * traefik(可以跟 Docker 很深度的結合): https://github.com/containous/traefik * 7层负载: https://github.com/bfenetworks/bfe * (python&go)https://github.com/emissary-ingress/emissary * (Mustache&shell)https://github.com/hango-io/hango-gateway * Tyk Open Source API Gateway, supporting REST, GraphQL, TCP and gRPC protocols: https://github.com/TykTechnologies/tyk 网络模拟器 ---------- * web fuzzer: https://github.com/ffuf/ffuf * https://www.gns3.com/ * https://www.eve-ng.net/ * Cisco Packet Tracer: Cisco Packet Tracer(以下简称PT)是一款由思科公司开发的,为网络课程的初学者提供辅助教学的实验模拟器。使用者可以在该模拟器中搭建各种网络拓扑,实现基本的网络配置。 * 华为eNSP: 华为eNSP是一款由华为公司研发的虚拟仿真软件,主要针对网络路由器、交换机进行软件仿真,支持大型网络模拟,让用户在没有真实设备的情况下,使用模拟器也能制作网络拓扑并进行实验。 * H3C H3C Cloud Lab: H3C H3C Cloud Lab是一款由华三公司研发的网络云平台,模拟真实设备,为用户提供基本的设备信息,并满足初级用户在没有真实设备的条件下进行设备配置的学习需要。 GUI --- * windows: https://github.com/lxn/walk * mac: https://github.com/andlabs/ui * Cross platform GUI in Go based on Material Design: https://github.com/fyne-io/fyne * https://fyne.io/ CUI --- * https://github.com/jroimartin/gocui 爬虫 ---- * http://github.com/henrylee2cn/pholcus * https://github.com/crawlab-team/crawlab 混沌工程 -------- * https://github.com/chaosblade-io/chaosblade * https://github.com/chaos-mesh/chaos-mesh * https://github.com/Netflix/chaosmonkey lua插件 ------- * https://github.com/aarzilli/golua * https://github.com/stevedonovan/luar SMTP ---- * https://github.com/sj26/mailcatcher DEVOPS ------ * 监控&统计: https://github.com/prometheus/prometheus * alertmanager: https://github.com/prometheus/alertmanager * prometheus规模部署方案: https://github.com/thanos-io/thanos * 监控: https://github.com/grafana/grafana * 统计: https://github.com/rcrowley/go-metrics * 统计A well tested and comprehensive Golang statistics library: https://github.com/montanaflynn/stats * Status Page for monitoring your websites and applications: https://github.com/hunterlong/statping * 小米企业级监控平台: https://github.com/open-falcon/falcon-plus * 监控: https://github.com/open-falcon * 监控,Top-like interface for container metrics: https://github.com/bcicen/ctop * Like Prometheus, but for logs: https://github.com/grafana/loki * Prometheus Operator: https://github.com/prometheus-operator/prometheus-operator 微服务 ------ * rancher: https://github.com/rancher/rancher * rancher os: https://github.com/rancher/os * https://github.com/cnrancher/octopus * k3s: https://github.com/rancher/k3s * OCI implementation of Kubernetes CRI: https://github.com/cri-o/cri-o * helm: https://github.com/helm/helm * kubernetes: https://github.com/kubernetes/kubernetes * https://github.com/kubernetes/kubeadm * linuxkit: https://github.com/linuxkit/linuxkit * 超轻量级: https://github.com/hashicorp/nomad * https://github.com/kubeedge/kubeedge * automated deployment and declarative configuration: https://github.com/box/kube-applier * kustomize: https://github.com/kubernetes-sigs/kustomize * kubedog: https://github.com/flant/kubedog * clientGo: https://github.com/kubernetes/client-go * kubeflow: https://github.com/kubeflow/kubeflow * ks命令: https://github.com/ksonnet/ksonnet * cadvisor: https://github.com/google/cadvisor * ube-state-metrics: https://github.com/kubernetes/kube-state-metrics * node_exporter: https://github.com/prometheus/node_exporter * High Performance, Kubernetes Native Object Storage: https://github.com/minio/minio * Enterprise-grade container platform: https://github.com/kubesphere/kubesphere * A tool for exploring each layer in a docker image: https://github.com/wagoodman/dive * 企业级Kubernetes网络结构: https://github.com/alauda/kube-ovn * Kubernetes Operations (kops): https://github.com/kubernetes/kops * Purpose-built OS for Kubernetes: https://github.com/rancher/k3os * Application Deployment Engine for Kubernetes: https://github.com/rancher/rio * Build and deploy Go applications on Kubernetes: https://github.com/google/ko * https://github.com/temporalio/temporal 配置中心 -------- * [配置中心]A standalone service center to allow services to register their instance information and to discover providers of a given service(华为开源的注册中心,基于etcd封装。该注册中心可以无缝对接华为开源的微服务框架go-chassis): https://github.com/apache/servicecomb-service-center container engine ---------------- * docker: https://github.com/docker * https://github.com/opencontainers/runc * podman(means: Pod Manager tool) * A tool for managing OCI containers and pods: https://github.com/containers/podman * A tool that facilitates building OCI images: https://github.com/containers/buildah * Dockerfile-agnostic builder toolkit: https://github.com/moby/buildkit * alias docker=podman k8s网络 ------- * networking plugins, maintained by the CNI team: https://github.com/containernetworking/plugins * flannel is a network fabric for containers, designed for Kubernetes: https://github.com/coreos/flannel k8s集群 ------- * 轻量级 Kubernetes 发行版: https://github.com/KubeOperator/KubeOperator k8s lb ------ * load balancer designed for bare metal Kubernetes clusters: https://github.com/kubesphere/porter k8s tool -------- * Highly extensible platform for developers: https://github.com/vmware-tanzu/octant operator -------- * https://github.com/kubernetes-sigs/kubebuilder * https://github.com/operator-framework/operator-sdk Istio微服务架构 --------------- * Connect, secure, control, and observe services: https://github.com/istio/istio * An awesome dashboard for Istio built: https://github.com/XiaoMi/naftis * observability for the Istio service mesh: https://github.com/kiali/kiali * Service mesh management for Istio: https://kiali.io/ * cloud native proxy: https://github.com/mosn/mosn CI&CD&Git --------- * gitlab-runner: https://gitlab.com/gitlab-org/gitlab-runner * drone: https://github.com/drone/drone * werf: https://github.com/flant/werf * makes git easier to use with GitHub: https://github.com/github/hub 索引 ---- * 全文索引: https://github.com/huichen/wukong 开发工具类 ---------- * 跨平台解压缩: https://github.com/mholt/archiver * 查看某一个库的依赖情况: https://github.com/KyleBanks/depth * 通过监听当前目录下的相关文件变动,进行实时编译: https://github.com/silenceper/gowatch * 代码质量检测工具(代替golint): https://github.com/mgechev/revive * 开发流程改进工具: https://github.com/oxequa/realize * 自动生成测试用例工具(已集成至各ide): https://github.com/cweill/gotests * a tool to build, deploy, and release any application on any platform: https://github.com/hashicorp/waypoint * A command line tool to execute Go functions: https://github.com/shurcooL/goexec 调试工具 -------- * debugger: https://github.com/go-delve/delve * perf 工具(go版ps命令): https://github.com/google/gops * psutil for golang(inspired by a `Python package `): https://github.com/shirou/gopsutil * 打印deep pretty printer: https://github.com/davecgh/go-spew * 配置化生成证书: https://github.com/cloudflare/cfssl * 免费的证书获取工具: https://github.com/Neilpang/acme.sh * 敏感信息和密钥管理工具: https://github.com/hashicorp/vault * 高度可配置化的 http 转发工具,基于 etcd 配置: https://github.com/gojek/weaver * 分布式任务系统: https://github.com/shunfei/cronsun/blob/master/README_ZH.md * 自动化运维平台 Gaia: https://github.com/gaia-pipeline/gaia 定时 ---- * 定时任务管理系统: https://github.com/ouqiang/gocron * 定时: https://github.com/robfig/cron * https://github.com/gorhill/cronexpr git版本控制 ----------- * https://github.com/go-git/go-git * 使用sql查git commit: https://github.com/augmentable-dev/gitqlite P2P --- * https://github.com/libp2p/go-libp2p 静态文件打包到一个go文件 ------------------------- .. note:: golang1.16版本增加了``embed``库解决此类问题 * https://github.com/bradrydzewski/togo * React.js and Go: https://github.com/GeertJohan/go.rice 其他 ---- * URL短链接服务: https://github.com/andyxning/shortme * 从一个源配置为多平台创建相同镜像: https://github.com/hashicorp/packer * updating terminal output in realtime: https://github.com/gosuri/uilive * Go CGO cross compiler: https://github.com/karalabe/xgo * A JavaScript interpreter in Go: https://github.com/robertkrimen/otto * 下载: https://github.com/iawia002/annie * 推送服务: https://github.com/appleboy/gorush 协议 ---- * https://github.com/golang/protobuf * https://github.com/gogo/protobuf * DTLS 1.2 Server/Client implementation for Go: https://github.com/pion/dtls 单元测试 -------- * https://github.com/smartystreets/goconvey * https://github.com/agiledragon/gomonkey * http://labix.org/gocheck * gopkg.in/check.v1 * BDD Testing Framework for Go: https://github.com/onsi/ginkgo * https://github.com/gavv/httpexpect * A toolkit with common assertions and mocks: https://github.com/stretchr/testify * allure工具golang版: https://github.com/dailymotion/allure-go * https://github.com/allure-framework/allure1/wiki * https://github.com/DATA-DOG/go-sqlmock eBPF ---- * https://github.com/cilium/cilium Erlang ------ * https://github.com/AsynkronIT/protoactor-go filesystem ---------- * https://github.com/dertuxmalwieder/rssfs * https://github.com/polyrabbit/etcdfs * a distributed object store and file system: https://github.com/chrislusf/seaweedfs * A distributed key value store in under 1000 lines: https://github.com/geohot/minikeyvalue 压测工具 -------- * https://github.com/link1st/go-stress-testing * c语言版: https://github.com/wg/wrk * 负载工具类似ab: https://github.com/rakyll/hey * HTTP load testing tool and library. It's over 9000!: https://github.com/tsenart/vegeta * Generate HTTP load and plot the results in real-time: https://github.com/nakabonne/ali pprof ----- * A wrapper for golang web framework gin to use net/http/pprof easily: https://github.com/DeanThompson/ginpprof * go-torch 工具(deprecated, use pprof): https://github.com/uber-archive/go-torch 开源项目收集 ------------ * A curated list of awesome Go frameworks, libraries and software: https://github.com/avelino/awesome-go * MonkeyPatch: https://github.com/bouk/monkey 视频流 ------ * rtmp 协议: https://github.com/gwuhaolin/livego 学习 ---- * 设计模式: https://github.com/tmrts/go-patterns 机器人robot ----------- * Go library for accessing the GitHub API: https://github.com/google/go-github 加密-encryption --------------- * A simple, modern and secure encryption tool (and Go library): https://github.com/FiloSottile/age 队列queue --------- * asynchronous task queue/job queue: https://github.com/RichardKnop/machinery 论坛bbs ------- * https://github.com/mlogclub/bbs-go * Self-Hosted, Twitter™-like Decentralised microBlogging platform: https://github.com/jointwt/twtxt history ------- * https://github.com/changkun/go-history 参考 ---- * https://juejin.im/post/5de082a95188256f9a25384f 其他功能 ======== AI -- * Brings SQL and AI together: https://github.com/sql-machine-learning/sqlflow * Kubernetes-native Deep Learning Framework: https://github.com/sql-machine-learning/elasticdl 区块链blockchain ---------------- * Filecoin protocol in Go: https://github.com/filecoin-project/lotus * 比原链: https://github.com/Bytom/bytom 其他相关 -------- * [电信]: https://github.com/free5gc/free5gc * [医学]医学数字成像和通信: https://github.com/suyashkumar/dicom 资料 ---- * 基于 Go 构建滴滴核心业务平台的实践.pdf: https://github.com/gopherchina/conference 其他 ---- * Golang malware development framework: https://github.com/redcode-labs/Coldfire * Heroku-like memorable random name generator: https://github.com/yelinaung/go-haikunator * 个人数据泄漏检测网站,适用于 QQ / 京东 / 顺丰 / 微博: https://github.com/Brown-Ewing/privacy 工具 ========================== * An offline solution to convert pdfs into audiobooks: https://github.com/Harry-027/go-audio * Golang commandline wrapper for wkhtmltopdf: https://github.com/SebastiaanKlippert/go-wkhtmltopdf 颜色 ---- * https://github.com/gookit/color * 实例说明: https://github.com/talkgo/night/blob/master/content/discuss/2019-03-07-wechat-discuss.md 画图 ---- * https://github.com/blushft/go-diagrams (基于dot) * https://github.com/mingrammer/diagrams (python版) 图片处理 -------- * Fast and secure standalone server for resizing and converting remote images: https://github.com/imgproxy/imgproxy * http://www.graphicsmagick.org/ * https://imagemagick.org/index.php * Personal Photo Management: https://github.com/photoprism/photoprism * docker版: https://docs.photoprism.org/getting-started/docker-compose/ * powered by Go and Google TensorFlow 共享 -------- * 屏幕共享: https://github.com/screego/server * https://app.screego.net/ * 文件共享: https://github.com/bitepeng/b0pass * Copy and paste between devices: https://github.com/nakabonne/pbgopy * https://github.com/nwtgck/piping-server * https://github.com/bradwood/glsnip * https://www.unix.com/man-page/osx/1/pbcopy/ ftp --- * SFTP server can serve local filesystem, S3, GCS: https://github.com/drakkan/sftpgo k8s工具 ------- * k8s 管理: https://github.com/derailed/k9s * k8s 管理: https://github.com/TNK-Studio/lazykube * Faster way to switch between clusters and namespaces in kubectl: https://github.com/ahmetb/kubectx * kubectx * kubens * Kubernetes prompt info for bash and zsh: https://github.com/jonmosco/kube-ps1 * A Kubernetes cluster resource sanitizer: https://github.com/derailed/popeye * Multi pod and container log tailing for Kubernetes: https://github.com/wercker/stern * Display information about the kubectl in zsh prompt: https://github.com/superbrothers/zsh-kubectl-prompt .. image:: https://img.zhaoweiguo.com/knowledge/images/k8s/tools/zsh-kubectl-prompt.png * tail Kubernetes logs from multiple pods: https://github.com/johanhaleby/kubetail 网络工具 -------- * 新型的http反向代理、负载均衡软件: https://github.com/containous/traefik * Google 开源的一个基于 Linux 的负载均衡系统: https://github.com/google/seesaw * 简单 HTTP 流量复制工具(原来名gor): https://github.com/buger/goreplay * 穿墙的 HTTP 代理服务器: https://github.com/cyfdecyf/cow * 家庭或者企业网络的透明代理,可用来翻墙等: https://github.com/xjdrew/kone * 高速的 P2P 端口映射工具,同时支持Socks5代理: https://github.com/vzex/dog-tunnel * 抓包工具: https://github.com/40t/go-sniffer * 网络代理工具: https://github.com/snail007/goproxy * 反向代理工具,快捷开放内网端口供外部使用: https://github.com/inconshreveable/ngrok * 反向代理: https://github.com/fatedier/frp * Cloud Native Tunnel for APIs: https://github.com/inlets/inlets * 站内链接: ``文件传输 `` https://github.com/schollz/croc GPS/geocoding ============= * nominatim: * Open Source search based on OpenStreetMap data: https://github.com/osm-search/Nominatim * PHP + C * 试用版: https://nominatim.openstreetmap.org/ * https://www.openstreetmap.org/ * 官网: https://nominatim.org/ * k8s 版: https://github.com/peter-evans/nominatim-k8s * docker 版: https://github.com/mediagis/nominatim-docker * 数据导入: https://nominatim.org/release-docs/latest/admin/Import/ * 商用版: * PickPoint: https://www.pickpoint.io/ * MapQuest: https://developer.mapquest.com/documentation/open/ * GeoPy: * https://geopy.readthedocs.io/ * github: https://github.com/geopy/geopy * geopy is a Python client for several popular geocoding web services. * geopy is just a library which provides these implementations for many different services in a single package. * 数据: * Geofabrik: https://download.geofabrik.de/ * 亚洲: http://download.geofabrik.de/asia.html * other providers for extracts: https://wiki.openstreetmap.org/wiki/Planet.osm#Downloading * https://planet.openstreetmap.org/pbf/ * GEO Golang 版: * https://github.com/codingsince1985/geo-golang * photon: * https://photon.komoot.io/ * https://github.com/komoot/photon * Java, 1.1k star * Psql: * https://osm2pgsql.org/ * PostgreSQL/PostGIS: 空间数据存储扩展 * https://github.com/openstreetmap/osm2pgsql 工具相关 ======== 自动生成 uml 类图 ----------------- :: go-package-plantuml --codedir /appdev/gopath/src/github.com/contiv/netplugin \ --gopath /appdev/gopath \ --outputfile /tmp/result \ --ignoredir /appdev/gopath/src/github.com/contiv/netplugin/vendor 参数说明:: --codedir 要分析的代码目录 --gopath GOPATH环境变量目录 --outputfile 分析结果保存到该文件 --ignoredir 不需要进行代码分析的目录(可以不用设置) * gitee: https://gitee.com/jscode/go-package-plantuml 代码调用链可视化工具 -------------------- * Visualize call graph of a Go program using Graphviz * github: https://github.com/ofabry/go-callvis