# Go project architecture examples

Interactive architecture diagrams of the 1,000 most-starred open-source Go repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 200 most-starred Go projects here, the median diagram has 20.5 components. 70% draw a data store (most often a cache, files on disk and object storage (S3 and similar)), 54% have a command-line interface and 21% a web interface.

29% have a plugin or extension system and 14% draw a queue or event bus.

The files their components link to most are main.go (107), server.go (53), manager.go (32), client.go (31) and config.go (25).

Group names that recur: “control plane” (12), “user interfaces” (10), “operations” (7), “platform services” (6) and “server runtime” (6).

## Repositories 1 to 50 of 1,000

1. [avelino/awesome-go](https://gitdiagram.com/avelino/awesome-go) (187k stars): Awesome Go is a curated directory of Go projects, with a Go program that turns the list into a static website. Markdown: https://gitdiagram.com/avelino/awesome-go.md
2. [ollama/ollama](https://gitdiagram.com/ollama/ollama) (185k stars): Ollama is a local-and-cloud open-model runtime: users can run or chat with models through the CLI, call a REST API, or use the desktop app; integrations can also connect through… Markdown: https://gitdiagram.com/ollama/ollama.md
3. [golang/go](https://gitdiagram.com/golang/go) (139k stars): This is the Go language repository: its compiler and command-line tools support building Go programs, while the standard library and runtime provide application capabilities. Markdown: https://gitdiagram.com/golang/go.md
4. [kubernetes/kubernetes](https://gitdiagram.com/kubernetes/kubernetes) (129k stars): Kubernetes manages containerized applications across multiple hosts, supporting deployment, maintenance, and scaling. Markdown: https://gitdiagram.com/kubernetes/kubernetes.md
5. [microsoft/typescript](https://gitdiagram.com/microsoft/typescript) (112k stars): TypeScript is a language compiler and tooling platform: users compile JavaScript/TypeScript projects into JavaScript and receive diagnostics, while editors use its language… Markdown: https://gitdiagram.com/microsoft/typescript.md
6. [juliusbrussee/caveman](https://gitdiagram.com/juliusbrussee/caveman) (108k stars): Caveman reduces tokens in AI coding workflows: an agent’s requests pass through a local proxy, which compresses eligible content before forwarding it to a provider, while… Markdown: https://gitdiagram.com/juliusbrussee/caveman.md
7. [fatedier/frp](https://gitdiagram.com/fatedier/frp) (106k stars): - frp is a Go-based reverse-proxy system split into two long-running binaries: frps (public server) and frpc (private client). Markdown: https://gitdiagram.com/fatedier/frp.md
8. [infiniflow/ragflow](https://gitdiagram.com/infiniflow/ragflow) (93.5k stars): RAGFlow is an open-source RAG engine combining document understanding, retrieval, LLM answering, and agent workflows. Markdown: https://gitdiagram.com/infiniflow/ragflow.md
9. [gohugoio/hugo](https://gitdiagram.com/gohugoio/hugo) (89.7k stars): Hugo is a Go static-site generator: it turns project content, templates, assets, configuration, themes/modules, and data into published static files. Markdown: https://gitdiagram.com/gohugoio/hugo.md
10. [gin-gonic/gin](https://gitdiagram.com/gin-gonic/gin) (89.3k stars): Gin is a Go HTTP framework. Markdown: https://gitdiagram.com/gin-gonic/gin.md
11. [syncthing/syncthing](https://gitdiagram.com/syncthing/syncthing) (81.2k stars): Syncthing is an open-source, peer-to-peer file synchronization program focused on being safe (protecting data), secure (encrypted communications and integrity checks), easy to… Markdown: https://gitdiagram.com/syncthing/syncthing.md
12. [netdata/netdata](https://gitdiagram.com/netdata/netdata) (80.9k stars): Netdata is a real-time, edge-based infrastructure monitoring agent. Markdown: https://gitdiagram.com/netdata/netdata.md
13. [junegunn/fzf](https://gitdiagram.com/junegunn/fzf) (79.1k stars) Markdown: https://gitdiagram.com/junegunn/fzf.md
14. [caddyserver/caddy](https://gitdiagram.com/caddyserver/caddy) (78.1k stars): Caddy is an extensible server platform whose principal workflow is to load JSON or adapt Caddyfile configuration, start configured apps, and serve HTTP(S) requests. Markdown: https://gitdiagram.com/caddyserver/caddy.md
15. [jesseduffield/lazygit](https://gitdiagram.com/jesseduffield/lazygit) (75.2k stars) Markdown: https://gitdiagram.com/jesseduffield/lazygit.md
16. [moby/moby](https://gitdiagram.com/moby/moby) (72.1k stars): Moby is a modular container-engine toolkit: an SDK or HTTP caller submits container, image, build, network, or Swarm operations; routers dispatch them to daemon services, which… Markdown: https://gitdiagram.com/moby/moby.md
17. [docker/docker](https://gitdiagram.com/docker/docker) (71.6k stars): API Server/Daemon: Highlight the “dockerd” components (found in cmd/dockerd and daemon directories) which act as the central orchestrator. Markdown: https://gitdiagram.com/docker/docker.md
18. [nektos/act](https://gitdiagram.com/nektos/act) (69.6k stars): Act is a command-line application that lets developers execute GitHub Actions workflows locally. Markdown: https://gitdiagram.com/nektos/act.md
19. [prometheus/prometheus](https://gitdiagram.com/prometheus/prometheus) (66.3k stars): Prometheus collects time series from configured or discovered targets, stores them locally, evaluates PromQL queries and rules, and exposes results through its HTTP API and web UI. Markdown: https://gitdiagram.com/prometheus/prometheus.md
20. [traefik/traefik](https://gitdiagram.com/traefik/traefik) (65.5k stars): Traefik is a dynamically configured reverse proxy and load balancer: infrastructure providers observe service and route definitions, configuration is updated without restarts… Markdown: https://gitdiagram.com/traefik/traefik.md
21. [usememos/memos](https://gitdiagram.com/usememos/memos) (63.6k stars): Memos is a self-hosted, Markdown-first notes timeline: users create memos, add files, find and revisit them, and choose whether to keep them private or share them. Markdown: https://gitdiagram.com/usememos/memos.md
22. [minio/minio](https://gitdiagram.com/minio/minio) (61.4k stars): MinIO is a self-hosted, S3-compatible object-storage server. Markdown: https://gitdiagram.com/minio/minio.md
23. [pocketbase/pocketbase](https://gitdiagram.com/pocketbase/pocketbase) (60.9k stars): PocketBase is a Go-embeddable, single-binary backend: SQLite persistence, REST-style APIs, auth, file storage, realtime subscriptions, and an embedded admin UI. Markdown: https://gitdiagram.com/pocketbase/pocketbase.md
24. [rclone/rclone](https://gitdiagram.com/rclone/rclone) (60.6k stars): Rclone is a command-line file synchronization and transfer tool that connects local filesystems with a broad range of cloud and network storage providers. Markdown: https://gitdiagram.com/rclone/rclone.md
25. [filosottile/mkcert](https://gitdiagram.com/filosottile/mkcert) (59.7k stars): mkcert is a command-line tool for creating locally trusted development certificates. Markdown: https://gitdiagram.com/filosottile/mkcert.md
26. [go-gitea/gitea](https://gitdiagram.com/go-gitea/gitea) (58.1k stars): Gitea is a self-hosted, all-in-one development service. Markdown: https://gitdiagram.com/go-gitea/gitea.md
27. [router-for-me/cliproxyapi](https://gitdiagram.com/router-for-me/cliproxyapi) (54.2k stars): CLIProxyAPI is a multi-provider proxy that exposes OpenAI-, Gemini-, and Claude-compatible APIs for CLI clients. Markdown: https://gitdiagram.com/router-for-me/cliproxyapi.md
28. [wagoodman/dive](https://gitdiagram.com/wagoodman/dive) (53.7k stars): As the top-level component that users interact with Markdown: https://gitdiagram.com/wagoodman/dive.md
29. [jesseduffield/lazydocker](https://gitdiagram.com/jesseduffield/lazydocker) (53k stars): Lazydocker is a terminal UI for managing Docker and Docker Compose. Markdown: https://gitdiagram.com/jesseduffield/lazydocker.md
30. [etcd-io/etcd](https://gitdiagram.com/etcd-io/etcd) (52.3k stars): etcd is a distributed, Raft-backed key-value store. Markdown: https://gitdiagram.com/etcd-io/etcd.md
31. [coreos/etcd](https://gitdiagram.com/coreos/etcd) (52.3k stars): etcd is a highly available distributed key-value store. Markdown: https://gitdiagram.com/coreos/etcd.md
32. [multica-ai/multica](https://gitdiagram.com/multica-ai/multica) (51.4k stars): Multica is a collaborative workspace for assigning issues to AI coding agents, monitoring their runs, and reviewing completed work. Markdown: https://gitdiagram.com/multica-ai/multica.md
33. [ethereum/go-ethereum](https://gitdiagram.com/ethereum/go-ethereum) (51.4k stars): Go Ethereum is an Ethereum execution-layer client and protocol implementation. Markdown: https://gitdiagram.com/ethereum/go-ethereum.md
34. [hashicorp/terraform](https://gitdiagram.com/hashicorp/terraform) (49.8k stars): Terraform is an infrastructure-as-code CLI: users describe infrastructure, Terraform plans changes using a dependency graph, and then applies those changes through provider… Markdown: https://gitdiagram.com/hashicorp/terraform.md
35. [alistgo/alist](https://gitdiagram.com/alistgo/alist) (49.2k stars): The project is a full-stack file list and file sharing application that supports managing and interacting with multiple storage backends (such as local storage, cloud storage… Markdown: https://gitdiagram.com/alistgo/alist.md
36. [quantumnous/new-api](https://gitdiagram.com/quantumnous/new-api) (49k stars): New API is a self-hosted AI gateway: a client sends a model request through its API, the gateway selects a configured upstream channel, adapts the request and response, and… Markdown: https://gitdiagram.com/quantumnous/new-api.md
37. [mhsanaei/3x-ui](https://gitdiagram.com/mhsanaei/3x-ui) (47.7k stars): 3X-UI is a web control panel for configuring and monitoring Xray servers, clients, and proxy/VPN services across one or more nodes. Markdown: https://gitdiagram.com/mhsanaei/3x-ui.md
38. [gogs/gogs](https://gitdiagram.com/gogs/gogs) (47.6k stars): User Interface & Frontend: Include the public assets (CSS, JavaScript, images) and templates (located in the “public” and “templates” directories) that render the web pages such… Markdown: https://gitdiagram.com/gogs/gogs.md
39. [alibaba/open-code-review](https://gitdiagram.com/alibaba/open-code-review) (47.4k stars): OpenCodeReview is an AI code-review product exposed through a CLI and editor integrations. Markdown: https://gitdiagram.com/alibaba/open-code-review.md
40. [v2ray/v2ray-core](https://gitdiagram.com/v2ray/v2ray-core) (47k stars): V2Ray-core is a modular, Go-based network proxy engine. Markdown: https://gitdiagram.com/v2ray/v2ray-core.md
41. [cli/cli](https://gitdiagram.com/cli/cli) (46.4k stars): GitHub CLI (gh) lets users operate on GitHub from a terminal alongside their local Git repositories. Markdown: https://gitdiagram.com/cli/cli.md
42. [milvus-io/milvus](https://gitdiagram.com/milvus-io/milvus) (46.3k stars): Milvus is a distributed vector database for storing and searching vector and scalar data. Markdown: https://gitdiagram.com/milvus-io/milvus.md
43. [wei-shaw/sub2api](https://gitdiagram.com/wei-shaw/sub2api) (45.6k stars): Sub2API is an AI API gateway platform for distributing subscription quota. Markdown: https://gitdiagram.com/wei-shaw/sub2api.md
44. [juanfont/headscale](https://gitdiagram.com/juanfont/headscale) (45.3k stars): Headscale is a self-hosted Tailscale control server for a private tailnet. Markdown: https://gitdiagram.com/juanfont/headscale.md
45. [charmbracelet/bubbletea](https://gitdiagram.com/charmbracelet/bubbletea) (45.1k stars): Bubble Tea is a Go framework for building stateful terminal applications. Markdown: https://gitdiagram.com/charmbracelet/bubbletea.md
46. [mudler/localai](https://gitdiagram.com/mudler/localai) (44.5k stars): API/HTTP Server: Based on the “core/http” directory (plus the “main.go”, “core/application”, and “core/cli”). Markdown: https://gitdiagram.com/mudler/localai.md
47. [danielmiessler/fabric](https://gitdiagram.com/danielmiessler/fabric) (44k stars): Fabric is an AI-augmentation framework centered on reusable task patterns. Markdown: https://gitdiagram.com/danielmiessler/fabric.md
48. [astaxie/build-web-application-with-golang](https://gitdiagram.com/astaxie/build-web-application-with-golang) (43.9k stars): This repository is a multilingual collection of executable Go teaching examples, progressing from language fundamentals to web applications and database access. Markdown: https://gitdiagram.com/astaxie/build-web-application-with-golang.md
49. [spf13/cobra](https://gitdiagram.com/spf13/cobra) (43.5k stars) Markdown: https://gitdiagram.com/spf13/cobra.md
50. [xtls/xray-core](https://gitdiagram.com/xtls/xray-core) (42k stars): Project X (Xray-core) is a configurable network proxy and tunneling core. Markdown: https://gitdiagram.com/xtls/xray-core.md

Next page: https://gitdiagram.com/architecture-examples/go/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
