# Open-source architecture examples

Architecture diagrams of open-source GitHub projects, grouped by language and by kind of project, most-starred first, with what the most-starred ones have in common.

## By language

- [Go project architecture examples](https://gitdiagram.com/architecture-examples/go) (1,000 diagrams; Markdown: https://gitdiagram.com/architecture-examples/go.md)
- [Python project architecture examples](https://gitdiagram.com/architecture-examples/python) (1,000 diagrams; Markdown: https://gitdiagram.com/architecture-examples/python.md)
- [TypeScript project architecture examples](https://gitdiagram.com/architecture-examples/typescript) (1,000 diagrams; Markdown: https://gitdiagram.com/architecture-examples/typescript.md)
- [JavaScript project architecture examples](https://gitdiagram.com/architecture-examples/javascript) (934 diagrams; Markdown: https://gitdiagram.com/architecture-examples/javascript.md)
- [C++ project architecture examples](https://gitdiagram.com/architecture-examples/cpp) (693 diagrams; Markdown: https://gitdiagram.com/architecture-examples/cpp.md)
- [Rust project architecture examples](https://gitdiagram.com/architecture-examples/rust) (581 diagrams; Markdown: https://gitdiagram.com/architecture-examples/rust.md)
- [Java project architecture examples](https://gitdiagram.com/architecture-examples/java) (465 diagrams; Markdown: https://gitdiagram.com/architecture-examples/java.md)
- [C project architecture examples](https://gitdiagram.com/architecture-examples/c) (440 diagrams; Markdown: https://gitdiagram.com/architecture-examples/c.md)
- [C# project architecture examples](https://gitdiagram.com/architecture-examples/csharp) (359 diagrams; Markdown: https://gitdiagram.com/architecture-examples/csharp.md)
- [PHP project architecture examples](https://gitdiagram.com/architecture-examples/php) (221 diagrams; Markdown: https://gitdiagram.com/architecture-examples/php.md)
- [Shell project architecture examples](https://gitdiagram.com/architecture-examples/shell) (214 diagrams; Markdown: https://gitdiagram.com/architecture-examples/shell.md)
- [Swift project architecture examples](https://gitdiagram.com/architecture-examples/swift) (198 diagrams; Markdown: https://gitdiagram.com/architecture-examples/swift.md)
- [Kotlin project architecture examples](https://gitdiagram.com/architecture-examples/kotlin) (185 diagrams; Markdown: https://gitdiagram.com/architecture-examples/kotlin.md)
- [Ruby project architecture examples](https://gitdiagram.com/architecture-examples/ruby) (101 diagrams; Markdown: https://gitdiagram.com/architecture-examples/ruby.md)
- [Dart project architecture examples](https://gitdiagram.com/architecture-examples/dart) (70 diagrams; Markdown: https://gitdiagram.com/architecture-examples/dart.md)
- [Vue project architecture examples](https://gitdiagram.com/architecture-examples/vue) (69 diagrams; Markdown: https://gitdiagram.com/architecture-examples/vue.md)
- [Lua project architecture examples](https://gitdiagram.com/architecture-examples/lua) (50 diagrams; Markdown: https://gitdiagram.com/architecture-examples/lua.md)

## By kind of project

- [AI agent architecture examples](https://gitdiagram.com/architecture-examples/ai-agents) (244 diagrams; Markdown: https://gitdiagram.com/architecture-examples/ai-agents.md)
- [MCP server and client architecture examples](https://gitdiagram.com/architecture-examples/mcp) (399 diagrams; Markdown: https://gitdiagram.com/architecture-examples/mcp.md)
- [CLI tool architecture examples](https://gitdiagram.com/architecture-examples/cli-tools) (1,000 diagrams; Markdown: https://gitdiagram.com/architecture-examples/cli-tools.md)
- [Web app architecture examples](https://gitdiagram.com/architecture-examples/web-apps) (663 diagrams; Markdown: https://gitdiagram.com/architecture-examples/web-apps.md)
- [Desktop app architecture examples](https://gitdiagram.com/architecture-examples/desktop-apps) (455 diagrams; Markdown: https://gitdiagram.com/architecture-examples/desktop-apps.md)

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.
