# C++ project architecture examples

Interactive architecture diagrams of 693 open-source C++ 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 C++ projects here, the median diagram has 21 components. 44% draw a data store (most often files on disk), 18% have a command-line interface and 8% a web interface.

26% have a plugin or extension system.

The files their components link to most are main.cpp (44), CMakeLists.txt (17), server.cpp (9), application.cpp (7) and main.cc (7).

Group names that recur: “user interfaces” (16) and “rendering” (6).

## Repositories 1 to 50 of 693

1. [tensorflow/tensorflow](https://gitdiagram.com/tensorflow/tensorflow) (201k stars): TensorFlow is an end-to-end machine-learning platform with Python and C++ APIs and deployment-oriented runtimes. Markdown: https://gitdiagram.com/tensorflow/tensorflow.md
2. [ggml-org/llama.cpp](https://gitdiagram.com/ggml-org/llama.cpp) (133k stars): llama.cpp is a C/C++ runtime for local and cloud LLM and VLM inference. Markdown: https://gitdiagram.com/ggml-org/llama.cpp.md
3. [react/react-native](https://gitdiagram.com/react/react-native) (127k stars): React Native lets app developers write React-based JavaScript that is rendered through platform-native UI, with native modules exposing platform capabilities. Markdown: https://gitdiagram.com/react/react-native.md
4. [facebook/react-native](https://gitdiagram.com/facebook/react-native) (126k stars) Markdown: https://gitdiagram.com/facebook/react-native.md
5. [electron/electron](https://gitdiagram.com/electron/electron) (123k stars): Electron is a cross-platform desktop application framework built on Node.js and Chromium. Markdown: https://gitdiagram.com/electron/electron.md
6. [godotengine/godot](https://gitdiagram.com/godotengine/godot) (119k stars): Godot is a cross-platform 2D/3D game engine and editor. Markdown: https://gitdiagram.com/godotengine/godot.md
7. [microsoft/terminal](https://gitdiagram.com/microsoft/terminal) (105k stars): This repository contains Windows Terminal, the Windows console host, and shared console/terminal infrastructure. Markdown: https://gitdiagram.com/microsoft/terminal.md
8. [ggerganov/llama.cpp](https://gitdiagram.com/ggerganov/llama.cpp) (99.8k stars): Multiple backend implementations (Metal, CUDA, Vulkan, OpenCL, etc.) Markdown: https://gitdiagram.com/ggerganov/llama.cpp.md
9. [opencv/opencv](https://gitdiagram.com/opencv/opencv) (91.4k stars): OpenCV is a computer-vision and AI library: developers use its APIs to build image-processing, calibration, feature, geometry, and neural-network workflows. Markdown: https://gitdiagram.com/opencv/opencv.md
10. [bitcoin/bitcoin](https://gitdiagram.com/bitcoin/bitcoin) (90.4k stars): Bitcoin Core is a full node that connects to the Bitcoin peer-to-peer network and downloads and fully validates blocks and transactions; it also includes a wallet and an optional… Markdown: https://gitdiagram.com/bitcoin/bitcoin.md
11. [nomic-ai/gpt4all](https://gitdiagram.com/nomic-ai/gpt4all) (77.4k stars): GPT4All is a local-first LLM platform: a native inference backend, desktop chat application, Python/TypeScript bindings, and a separate training workspace. Markdown: https://gitdiagram.com/nomic-ai/gpt4all.md
12. [tesseract-ocr/tesseract](https://gitdiagram.com/tesseract-ocr/tesseract) (77.3k stars): Tesseract is an OCR engine exposed as both a command-line program and a C/C++ library. Markdown: https://gitdiagram.com/tesseract-ocr/tesseract.md
13. [ocornut/imgui](https://gitdiagram.com/ocornut/imgui) (76.3k stars): Dear ImGui is a platform-agnostic immediate-mode C++ GUI library. Markdown: https://gitdiagram.com/ocornut/imgui.md
14. [protocolbuffers/protobuf](https://gitdiagram.com/protocolbuffers/protobuf) (72.1k stars): Protocol Buffers provides a schema-driven compiler and language-specific runtimes for serializing structured data. Markdown: https://gitdiagram.com/protocolbuffers/protobuf.md
15. [ggml-org/whisper.cpp](https://gitdiagram.com/ggml-org/whisper.cpp) (54k stars): whisper.cpp is an offline speech-recognition inference library, with a C/C++ API and bindings for several languages. Markdown: https://gitdiagram.com/ggml-org/whisper.cpp.md
16. [werwolv/imhex](https://gitdiagram.com/werwolv/imhex) (53.3k stars): - ImHex is a cross-platform hex editor with a plugin-based architecture. Markdown: https://gitdiagram.com/werwolv/imhex.md
17. [clickhouse/clickhouse](https://gitdiagram.com/clickhouse/clickhouse) (50.1k stars): ClickHouse is a column-oriented database for real-time analytical queries. Markdown: https://gitdiagram.com/clickhouse/clickhouse.md
18. [x64dbg/x64dbg](https://gitdiagram.com/x64dbg/x64dbg) (49.7k stars): x64dbg is a Windows binary debugger for malware analysis and reverse engineering. Markdown: https://gitdiagram.com/x64dbg/x64dbg.md
19. [nlohmann/json](https://gitdiagram.com/nlohmann/json) (49.3k stars): The project is a widely used C++ library distributed as a single header (json.hpp) for JSON parsing, serialization, and conversion. Markdown: https://gitdiagram.com/nlohmann/json.md
20. [boykopovar/anyps5](https://gitdiagram.com/boykopovar/anyps5) (49.1k stars): AnyPS5 ports executables to native Linux and Windows formats, then supplies system-library implementations for dynamic linking rather than using a separate emulation process. Markdown: https://gitdiagram.com/boykopovar/anyps5.md
21. [ggerganov/whisper.cpp](https://gitdiagram.com/ggerganov/whisper.cpp) (48.1k stars) Markdown: https://gitdiagram.com/ggerganov/whisper.cpp.md
22. [zhongyang219/trafficmonitor](https://gitdiagram.com/zhongyang219/trafficmonitor) (46.4k stars): TrafficMonitor is a Windows desktop network and system monitor. Markdown: https://gitdiagram.com/zhongyang219/trafficmonitor.md
23. [grpc/grpc](https://gitdiagram.com/grpc/grpc) (45.3k stars): gRPC is a cross-language RPC framework with a shared C++ core. Markdown: https://gitdiagram.com/grpc/grpc.md
24. [zen-browser/desktop](https://gitdiagram.com/zen-browser/desktop) (44.8k stars): Zen is a Firefox-based desktop browser focused on productivity. Markdown: https://gitdiagram.com/zen-browser/desktop.md
25. [light-city/cplusplusthings](https://gitdiagram.com/light-city/cplusplusthings) (43k stars): This is a monorepo‐style learning repository (“C++ 那些事”) containing code samples, markdown documentation, and build files. Markdown: https://gitdiagram.com/light-city/cplusplusthings.md
26. [duckdb/duckdb](https://gitdiagram.com/duckdb/duckdb) (42k stars): DuckDB is an embedded analytical database. Markdown: https://gitdiagram.com/duckdb/duckdb.md
27. [lizardbyte/sunshine](https://gitdiagram.com/lizardbyte/sunshine) (41.4k stars): Sunshine is a self-hosted Moonlight game-streaming host. Markdown: https://gitdiagram.com/lizardbyte/sunshine.md
28. [aria2/aria2](https://gitdiagram.com/aria2/aria2) (40.7k stars): aria2 is a C++11 command-line downloader with a library mode. Markdown: https://gitdiagram.com/aria2/aria2.md
29. [facebookresearch/faiss](https://gitdiagram.com/facebookresearch/faiss) (39.5k stars): Core Library (CPU): Represented by the “faiss” directory containing the core modules (e.g., Index, Clustering, Quantizers, Inverted Lists, etc.). Markdown: https://gitdiagram.com/facebookresearch/faiss.md
30. [aseprite/aseprite](https://gitdiagram.com/aseprite/aseprite) (39.5k stars): Aseprite is a C++ desktop application for creating animated pixel-art sprites. Markdown: https://gitdiagram.com/aseprite/aseprite.md
31. [google/leveldb](https://gitdiagram.com/google/leveldb) (39.5k stars): LevelDB is an embedded, ordered key-value storage library. Markdown: https://gitdiagram.com/google/leveldb.md
32. [qbittorrent/qbittorrent](https://gitdiagram.com/qbittorrent/qbittorrent) (38.6k stars): 1. Repository purpose and runtime shape Markdown: https://gitdiagram.com/qbittorrent/qbittorrent.md
33. [google/googletest](https://gitdiagram.com/google/googletest) (38.4k stars): GoogleTest is not a full-stack app but an open-source C++ testing and mocking framework. Markdown: https://gitdiagram.com/google/googletest.md
34. [niko1221/strata](https://gitdiagram.com/niko1221/strata) (38.4k stars): Strata is a local-AI desktop and terminal product: users choose or import a model, run it on their own hardware, and interact through chat or compatible coding tools. Markdown: https://gitdiagram.com/niko1221/strata.md
35. [huihut/interview](https://gitdiagram.com/huihut/interview) (38.3k stars): This repository is an educational C/C++ reference collection, not a single application: it provides standalone algorithm and data-structure examples, worked problem solutions… Markdown: https://gitdiagram.com/huihut/interview.md
36. [microsoft/bitnet](https://gitdiagram.com/microsoft/bitnet) (36.8k stars) Markdown: https://gitdiagram.com/microsoft/bitnet.md
37. [hyprwm/hyprland](https://gitdiagram.com/hyprwm/hyprland) (34.8k stars): Recognize that this is a Wayland compositor; its main purpose is to manage windows (tiling, floating, fullscreen, etc.), provide extensive effects (blur, animations), and offer a… Markdown: https://gitdiagram.com/hyprwm/hyprland.md
38. [thealgorithms/c-plus-plus](https://gitdiagram.com/thealgorithms/c-plus-plus) (34.7k stars): The Algorithms – C++ is a learning-oriented collection of standalone C++17 implementations spanning computer science, mathematics, statistics, data science, and engineering. Markdown: https://gitdiagram.com/thealgorithms/c-plus-plus.md
39. [bvlc/caffe](https://gitdiagram.com/bvlc/caffe) (34.6k stars): Caffe is a modular deep-learning framework for defining, training, evaluating, and running neural networks. Markdown: https://gitdiagram.com/bvlc/caffe.md
40. [cmu-perceptual-computing-lab/openpose](https://gitdiagram.com/cmu-perceptual-computing-lab/openpose) (34.5k stars): OpenPose is a C++ real-time human keypoint-estimation library: multi-person 2D body/foot, hand, and face inference, with optional tracking, calibration, and multi-camera 3D… Markdown: https://gitdiagram.com/cmu-perceptual-computing-lab/openpose.md
41. [google-ai-edge/mediapipe](https://gitdiagram.com/google-ai-edge/mediapipe) (34.4k stars): This is an open-source on-device machine‐learning pipeline framework. Markdown: https://gitdiagram.com/google-ai-edge/mediapipe.md
42. [shadps4-emu/shadps4](https://gitdiagram.com/shadps4-emu/shadps4) (34.1k stars): shadPS4 is a cross-platform PlayStation 4 emulator. Markdown: https://gitdiagram.com/shadps4-emu/shadps4.md
43. [freecad/freecad](https://gitdiagram.com/freecad/freecad) (33.9k stars): FreeCAD is a cross-platform parametric 3D modeler. Markdown: https://gitdiagram.com/freecad/freecad.md
44. [carbon-language/carbon-lang](https://gitdiagram.com/carbon-language/carbon-lang) (33.9k stars): Carbon is an experimental successor-to-C++ language with a compiler and toolchain. Markdown: https://gitdiagram.com/carbon-language/carbon-lang.md
45. [serenityos/serenity](https://gitdiagram.com/serenityos/serenity) (33.9k stars): SerenityOS is a graphical Unix-like operating system. Markdown: https://gitdiagram.com/serenityos/serenity.md
46. [telegramdesktop/tdesktop](https://gitdiagram.com/telegramdesktop/tdesktop) (33.5k stars): Telegram Desktop is the official desktop client for Telegram, using the Telegram API and MTProto. Markdown: https://gitdiagram.com/telegramdesktop/tdesktop.md
47. [valvesoftware/proton](https://gitdiagram.com/valvesoftware/proton) (33k stars): Proton lets Windows-exclusive games run on Linux using Wine. Markdown: https://gitdiagram.com/valvesoftware/proton.md
48. [fincept-corporation/finceptterminal](https://gitdiagram.com/fincept-corporation/finceptterminal) (32.7k stars): Fincept Terminal is a native Qt financial-research desktop application with embedded Python analytics. Markdown: https://gitdiagram.com/fincept-corporation/finceptterminal.md
49. [meta/rocksdb](https://gitdiagram.com/meta/rocksdb) (32.2k stars): RocksDB is a persistent key-value database library built around an LSM design. Markdown: https://gitdiagram.com/meta/rocksdb.md
50. [facebook/rocksdb](https://gitdiagram.com/facebook/rocksdb) (32.2k stars): RocksDB is an embeddable persistent key-value store built around an LSM design. Markdown: https://gitdiagram.com/facebook/rocksdb.md

Next page: https://gitdiagram.com/architecture-examples/cpp/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.
