# Zig project architecture examples

Interactive architecture diagrams of 56 open-source Zig 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.

## Repositories 1 to 50 of 56

1. [ghostty-org/ghostty](https://gitdiagram.com/ghostty-org/ghostty) (62.9k stars): Ghostty is a native terminal emulator and an embeddable C/Zig library. Markdown: https://gitdiagram.com/ghostty-org/ghostty.md
2. [ziglang/zig](https://gitdiagram.com/ziglang/zig) (43.3k stars): This is the Zig compiler/toolchain repository, with compiler sources, target support, runtime libraries, and bundled LLVM-family components. Markdown: https://gitdiagram.com/ziglang/zig.md
3. [lightpanda-io/browser](https://gitdiagram.com/lightpanda-io/browser) (35.4k stars): 1. Purpose and principal workflow. Lightpanda is a Zig-built headless browser for web automation and AI agents. Markdown: https://gitdiagram.com/lightpanda-io/browser.md
4. [tigerbeetle/tigerbeetle](https://gitdiagram.com/tigerbeetle/tigerbeetle) (15.5k stars): Core Storage Engine and Transaction Processing: Represented by files in src/tigerbeetle (e.g., main.zig, cli.zig, libtb_client.zig) and components related to the Log-Structured… Markdown: https://gitdiagram.com/tigerbeetle/tigerbeetle.md
5. [blackboardsh/electrobun](https://gitdiagram.com/blackboardsh/electrobun) (10.9k stars) Markdown: https://gitdiagram.com/blackboardsh/electrobun.md
6. [fairyglade/ly](https://gitdiagram.com/fairyglade/ly) (7.6k stars): Ly is a lightweight terminal display manager: a user chooses an account and desktop session, authenticates, and starts a graphical session. Markdown: https://gitdiagram.com/fairyglade/ly.md
7. [nilsirl/dockerc](https://gitdiagram.com/nilsirl/dockerc) (4.9k stars): Project Type: A command-line tool written in Zig. Markdown: https://gitdiagram.com/nilsirl/dockerc.md
8. [hexops/mach](https://gitdiagram.com/hexops/mach) (4.7k stars): Wayland and X11 subsystems for Linux Markdown: https://gitdiagram.com/hexops/mach.md
9. [riverwm/river](https://gitdiagram.com/riverwm/river) (4.3k stars): River is a Wayland compositor that deliberately delegates window-management policy to a separate process. Markdown: https://gitdiagram.com/riverwm/river.md
10. [mitchellh/libxev](https://gitdiagram.com/mitchellh/libxev) (3.4k stars) Markdown: https://gitdiagram.com/mitchellh/libxev.md
11. [zml/zml](https://gitdiagram.com/zml/zml) (3.3k stars) Markdown: https://gitdiagram.com/zml/zml.md
12. [vercel-labs/fx](https://gitdiagram.com/vercel-labs/fx) (3.1k stars): fx is a native, model-agnostic coding-agent CLI, also embeddable through libfx and ACP. Markdown: https://gitdiagram.com/vercel-labs/fx.md
13. [zig-gamedev/zig-gamedev](https://gitdiagram.com/zig-gamedev/zig-gamedev) (2.9k stars): zig-gamedev is a development repository centered here on runnable Zig graphics and multimedia sample applications; the README also describes libraries, but none are present in… Markdown: https://gitdiagram.com/zig-gamedev/zig-gamedev.md
14. [vercel-labs/zero-native](https://gitdiagram.com/vercel-labs/zero-native) (2.8k stars): - This is a monorepo for a Zig-based desktop app framework plus its CLI, docs, examples, and publishable npm wrapper. Markdown: https://gitdiagram.com/vercel-labs/zero-native.md
15. [neurocyte/flow](https://gitdiagram.com/neurocyte/flow) (2.4k stars): Flow Control is a Zig programmer’s text editor. Markdown: https://gitdiagram.com/neurocyte/flow.md
16. [zigembeddedgroup/microzig](https://gitdiagram.com/zigembeddedgroup/microzig) (2.3k stars): MicroZig is an in-development Zig embedded-development project; the README points users to its website but documents no concrete workflow. Markdown: https://gitdiagram.com/zigembeddedgroup/microzig.md
17. [rockorager/libvaxis](https://gitdiagram.com/rockorager/libvaxis) (2k stars): libvaxis is a Zig terminal UI library with a low-level terminal API and a higher-level widget framework. Markdown: https://gitdiagram.com/rockorager/libvaxis.md
18. [duty1g/x64dbg-mcp-server](https://gitdiagram.com/duty1g/x64dbg-mcp-server) (2k stars): x64dbg-MCP Server is a native MCP plugin that lets an AI client operate x64dbg through authenticated Streamable HTTP or legacy SSE. Markdown: https://gitdiagram.com/duty1g/x64dbg-mcp-server.md
19. [andrewrk/poop](https://gitdiagram.com/andrewrk/poop) (1.9k stars): This is a specialized command-line tool focused on performance monitoring, specifically using Linux's perf_event_open functionality. It's a standalone executable written in Zig. Markdown: https://gitdiagram.com/andrewrk/poop.md
20. [karlseguin/http.zig](https://gitdiagram.com/karlseguin/http.zig) (1.6k stars): http.zig is a Zig HTTP/1.1 server library. Markdown: https://gitdiagram.com/karlseguin/http.zig.md
21. [kristoff-it/zine](https://gitdiagram.com/kristoff-it/zine) (1.3k stars) Markdown: https://gitdiagram.com/kristoff-it/zine.md
22. [tonybanters/oxwm](https://gitdiagram.com/tonybanters/oxwm) (946 stars) Markdown: https://gitdiagram.com/tonybanters/oxwm.md
23. [ashhart/tensorfold](https://gitdiagram.com/ashhart/tensorfold) (557 stars) Markdown: https://gitdiagram.com/ashhart/tensorfold.md
24. [meszmate/zigzag](https://gitdiagram.com/meszmate/zigzag) (556 stars) Markdown: https://gitdiagram.com/meszmate/zigzag.md
25. [zackradisic/tyvm](https://gitdiagram.com/zackradisic/tyvm) (553 stars) Markdown: https://gitdiagram.com/zackradisic/tyvm.md
26. [syndica/sig](https://gitdiagram.com/syndica/sig) (376 stars) Markdown: https://gitdiagram.com/syndica/sig.md
27. [zantfoundation/z-ant](https://gitdiagram.com/zantfoundation/z-ant) (371 stars) Markdown: https://gitdiagram.com/zantfoundation/z-ant.md
28. [thealgorithms/zig](https://gitdiagram.com/thealgorithms/zig) (362 stars) Markdown: https://gitdiagram.com/thealgorithms/zig.md
29. [justrach/kuri](https://gitdiagram.com/justrach/kuri) (359 stars) Markdown: https://gitdiagram.com/justrach/kuri.md
30. [kassane/zig-esp-idf-sample](https://gitdiagram.com/kassane/zig-esp-idf-sample) (283 stars) Markdown: https://gitdiagram.com/kassane/zig-esp-idf-sample.md
31. [ziglang/zig-spec](https://gitdiagram.com/ziglang/zig-spec) (225 stars) Markdown: https://gitdiagram.com/ziglang/zig-spec.md
32. [sin-ack/zigself](https://gitdiagram.com/sin-ack/zigself) (212 stars) Markdown: https://gitdiagram.com/sin-ack/zigself.md
33. [marco-christiani/zigrad](https://gitdiagram.com/marco-christiani/zigrad) (190 stars) Markdown: https://gitdiagram.com/marco-christiani/zigrad.md
34. [talonfloof/zorroos](https://gitdiagram.com/talonfloof/zorroos) (149 stars) Markdown: https://gitdiagram.com/talonfloof/zorroos.md
35. [rockorager/ourio](https://gitdiagram.com/rockorager/ourio) (142 stars) Markdown: https://gitdiagram.com/rockorager/ourio.md
36. [pig-dot-dev/piglet](https://gitdiagram.com/pig-dot-dev/piglet) (140 stars) Markdown: https://gitdiagram.com/pig-dot-dev/piglet.md
37. [no1msd/seance](https://gitdiagram.com/no1msd/seance) (133 stars) Markdown: https://gitdiagram.com/no1msd/seance.md
38. [jayleaton/deepseek-v41-tensorfold-spark](https://gitdiagram.com/jayleaton/deepseek-v41-tensorfold-spark) (125 stars) Markdown: https://gitdiagram.com/jayleaton/deepseek-v41-tensorfold-spark.md
39. [chrislloyd/git-remote-sqlite](https://gitdiagram.com/chrislloyd/git-remote-sqlite) (120 stars) Markdown: https://gitdiagram.com/chrislloyd/git-remote-sqlite.md
40. [muhammad-fiaz/httpx.zig](https://gitdiagram.com/muhammad-fiaz/httpx.zig) (92 stars) Markdown: https://gitdiagram.com/muhammad-fiaz/httpx.zig.md
41. [blockblaz/zeam](https://gitdiagram.com/blockblaz/zeam) (91 stars) Markdown: https://gitdiagram.com/blockblaz/zeam.md
42. [sinshu/ziggysynth](https://gitdiagram.com/sinshu/ziggysynth) (82 stars) Markdown: https://gitdiagram.com/sinshu/ziggysynth.md
43. [speed2exe/myzql](https://gitdiagram.com/speed2exe/myzql) (76 stars) Markdown: https://gitdiagram.com/speed2exe/myzql.md
44. [mikkelam/fast-cli](https://gitdiagram.com/mikkelam/fast-cli) (74 stars) Markdown: https://gitdiagram.com/mikkelam/fast-cli.md
45. [external-mirrors/phoenix](https://gitdiagram.com/external-mirrors/phoenix) (63 stars) Markdown: https://gitdiagram.com/external-mirrors/phoenix.md
46. [gasinfinity/zitrus](https://gitdiagram.com/gasinfinity/zitrus) (37 stars) Markdown: https://gitdiagram.com/gasinfinity/zitrus.md
47. [raptodb/rapto](https://gitdiagram.com/raptodb/rapto) (36 stars) Markdown: https://gitdiagram.com/raptodb/rapto.md
48. [rcmagic/zigfightinggame](https://gitdiagram.com/rcmagic/zigfightinggame) (33 stars) Markdown: https://gitdiagram.com/rcmagic/zigfightinggame.md
49. [ringtailsoftware/zigtris](https://gitdiagram.com/ringtailsoftware/zigtris) (31 stars) Markdown: https://gitdiagram.com/ringtailsoftware/zigtris.md
50. [g41797/tofu](https://gitdiagram.com/g41797/tofu) (28 stars) Markdown: https://gitdiagram.com/g41797/tofu.md

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