Open-source architecture examples
Real architecture diagrams of open-source projects on GitHub, grouped by language and by kind of project. Each hub lists up to 1,000 repositories, most stars first, and opens with what the most-starred ones have in common: how many components they draw, how often they keep a data store, ship a CLI or a web UI, and which files they are built around.
By language
Go project architecture examples1,000 diagrams
Most starred: avelino/awesome-go, ollama/ollama, golang/go
Python project architecture examples1,000 diagrams
Most starred: public-apis/public-apis, ebookfoundation/free-programming-books, donnemartin/system-design-primer
TypeScript project architecture examples1,000 diagrams
Most starred: freecodecamp/freecodecamp, morluto/rea, openclaw/openclaw
JavaScript project architecture examples934 diagrams
Most starred: affaan-m/ecc, react/react, facebook/react
C++ project architecture examples693 diagrams
Most starred: tensorflow/tensorflow, ggml-org/llama.cpp, react/react-native
Rust project architecture examples581 diagrams
Most starred: ultraworkers/claw-code, instructkr/claude-code, clash-verge-rev/clash-verge-rev
Java project architecture examples465 diagrams
Most starred: iluwatar/java-design-patterns, nationalsecurityagency/ghidra, macrozheng/mall
C project architecture examples440 diagrams
Most starred: torvalds/linux, genymobile/scrcpy, microsoft/powertoys
C# project architecture examples359 diagrams
Most starred: 2dust/v2rayn, shadowsocks/shadowsocks-windows, jellyfin/jellyfin
PHP project architecture examples221 diagrams
Most starred: danielmiessler/seclists, coollabsio/coolify, nextcloud/server
Shell project architecture examples214 diagrams
Most starred: mattpocock/skills, obra/superpowers, ohmyzsh/ohmyzsh
Swift project architecture examples198 diagrams
Most starred: jaywcjlove/awesome-mac, apple/swift, swiftlang/swift
Kotlin project architecture examples185 diagrams
Most starred: base/chains, topjohnwu/magisk, jetbrains/kotlin
Ruby project architecture examples101 diagrams
Most starred: rails/rails, maybe-finance/maybe, jekyll/jekyll
Dart project architecture examples70 diagrams
Most starred: flutter/flutter, localsend/localsend, appflowy-io/appflowy
Vue project architecture examples69 diagrams
Most starred: panjiachen/vue-element-admin, elemefe/element, bailicangdu/vue2-elm
Lua project architecture examples50 diagrams
Most starred: kong/kong, nvim-lua/kickstart.nvim, koreader/koreader
By kind of project
AI agent architecture examples244 diagrams
Most starred: openclaw/openclaw, nousresearch/hermes-agent, anomalyco/opencode
MCP server and client architecture examples399 diagrams
Most starred: public-apis/public-apis, morluto/rea, n8n-io/n8n
CLI tool architecture examples1,000 diagrams
Most starred: codecrafters-io/build-your-own-x, public-apis/public-apis, morluto/rea
Web app architecture examples663 diagrams
Most starred: kamranahmedse/developer-roadmap, affaan-m/ecc, deepseek-ai/deepseek-harness
Desktop app architecture examples455 diagrams
Most starred: deepseek-ai/deepseek-harness, anomalyco/opencode, ollama/ollama
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. Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.