GitDiagram
Browse

Rust project architecture examples

Interactive architecture diagrams of 581 open-source Rust 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 Rust projects here, the median diagram has 21 components. 62% draw a data store (most often a cache, files on disk and SQLite), 59% have a command-line interface and 16% a web interface.

11% have an LLM or AI-model component, 15% speak MCP, 19% have a plugin or extension system and 41% are split into workspace packages (packages/, apps/, crates/ and similar).

The files their components link to most are main.rs (104), mod.rs (94), lib.rs (91), server.rs (33) and app.rs (25).

Group names that recur: “user interfaces” (18), “agent runtime” (11), “platform services” (6) and “runtime” (6).

In the 200 most-starred diagrams
Draws a data store62%
Has a command-line interface59%
Split into workspace packages41%
Has a desktop app22%
Has plugins or extensions19%
Has a web interface16%

Repositories 1–50 of 581

  1. ultraworkers/claw-code★ 195k

    Claw Code is the canonical Rust implementation of the claw CLI agent harness; the Python tree is described as a companion/reference workspace, not the primary runtime.

  2. instructkr/claude-code★ 195k

    Claw Code is a Rust CLI agent harness; the README identifies rust/ as its canonical runtime and src/ as a Python reference workspace.

  3. clash-verge-rev/clash-verge-rev★ 150k

    Clash Verge Rev is a Tauri desktop GUI for the Clash Meta (mihomo) proxy core.

  4. farion1231/cc-switch★ 142k

    CC Switch is a desktop manager for configuring and switching AI coding-agent providers, with shared management of MCP servers, skills, and prompts.

  5. openai/codex★ 133k

    Codex CLI is a locally running coding agent: a user starts a session, the agent works with a model and can use local tools, then presents progress and results in the terminal.

  6. rustdesk/rustdesk★ 128k

    RustDesk is a cross-platform remote desktop application.

  7. rust-lang/rust★ 120k

    Rust’s repository contains the Rust compiler, standard library, documentation generator, and developer tools.

  8. instructkr/claw-code★ 113k

    1. This repo has two distinct layers

  9. tauri-apps/tauri★ 113k

    Tauri is a cross-platform framework for desktop and mobile apps whose frontend runs in a system WebView and communicates with a Rust application backend.

  10. denoland/deno★ 109k

    Deno is a secure-by-default JavaScript, TypeScript, and WebAssembly runtime, with a CLI and substantial developer tooling.

  11. pbakaus/impeccable★ 106k

    Impeccable equips coding agents to steer and review interface design, while also providing deterministic design detection and browser-based iteration.

  12. ruvnet/ruview★ 97.2k

    RuView is a WiFi sensing platform: edge sensors capture CSI, processing turns radio measurements into presence, pose, activity, and vital-sign estimates, and user-facing tools…

  13. ruvnet/wifi-densepose★ 96.9k

    RuView is a WiFi sensing platform: ESP32 nodes capture CSI, which the system processes into presence, pose, activity, and vital-sign estimates for people and room monitoring.

  14. oven-sh/bun★ 96.2k

    Bun is a single-executable JavaScript/TypeScript toolkit: its principal user workflow is invoking bun to run an app or script, with built-in package management, bundling, and…

  15. zed-industries/zed★ 90.9k

    Zed is a high-performance, multiplayer code editor.

  16. astral-sh/uv★ 90.1k

    uv is a Rust-based Python package and project manager.

  17. rtk-ai/rtk★ 83.1k

    RTK is a Rust CLI proxy that rewrites supported shell commands, runs command-specific filters, and returns compact output to an AI agent.

  18. storytold/photocraft★ 75.6k

    PhotoCraft is a native Rust image editor, with CLI, web, and automation interfaces.

  19. unionlabs/union★ 73.7k

    Union is a cross-chain messaging and asset-transfer infrastructure project built around consensus verification and IBC compatibility.

  20. burntsushi/ripgrep★ 69.5k

    ripgrep is a command-line, recursive line-search tool.

  21. openinterpreter/openinterpreter★ 68.4k

    Open Interpreter is a Rust coding-agent CLI that emulates multiple agent harnesses, with a terminal interface and compatibility protocols.

  22. dani-garcia/vaultwarden★ 67.8k

    Vaultwarden is a self-hosted Bitwarden-compatible API server.

  23. ladybirdbrowser/ladybird★ 66.5k

    Ladybird is an independent, multi-process web browser.

  24. alacritty/alacritty★ 65.8k

    Alacritty is a cross-platform, GPU-accelerated terminal emulator.

  25. warpdotdev/warp★ 65.1k

    Warp is an agentic development environment built around a terminal.

  26. rust-lang/rustlings★ 64.3k

    Rustlings is a terminal-based Rust learning tool: learners select an exercise, edit its source, run it, and advance as exercises pass.

  27. openinterpreter/open-interpreter★ 62.9k

    The components in interpreter/terminal_interface form the interactive chat interface in the terminal (with support for conversation rendering, profiles, and special commands such…

  28. sharkdp/bat★ 57.8k

    Input Handler (handles file input, stdin, and Git integration)

  29. starship/starship★ 57.6k

    Starship is a Rust-based, cross-shell prompt renderer.

  30. fuellabs/fuel-core★ 57.2k

    The Fuel Core node executable (bin/fuel-core) which is the primary entry point.

  31. typst/typst★ 56.1k

    Typst is a local markup-based typesetting compiler.

  32. aaif-goose/goose★ 55k

    Goose is a general-purpose, locally run AI agent delivered as a desktop app, CLI, and embeddable API.

  33. lencx/chatgpt★ 54.5k

    A cross-platform desktop wrapper for ChatGPT, built as a Tauri application: a TypeScript/React frontend renders native chrome and application views, while a Rust backend manages…

  34. astral-sh/ruff★ 49.8k

    Ruff is a Rust-based Python linter and formatter.

  35. bevyengine/bevy★ 48.3k

    Bevy is a modular Rust game engine.

  36. tw93/pake★ 47.3k

  37. helix-editor/helix★ 46.3k

    Helix is a terminal modal editor.

  38. juspay/hyperswitch★ 45.3k

    Hyperswitch is a modular payments infrastructure stack.

  39. sharkdp/fd★ 44.6k

    fd is a command-line filesystem search tool.

  40. vercel-labs/agent-browser★ 44.1k

    agent-browser is a Rust browser-automation CLI for AI agents, with typed MCP access and live browser streaming.

  41. parcel-bundler/parcel★ 44k

    Parcel is a zero-configuration web build tool.

  42. herdrdev/herdr★ 43.4k

    Herdr is a terminal-based runtime for coding-agent sessions: a client attaches to a background server, which owns terminal panes and presents their state and layout.

  43. tinyhumansai/openhuman★ 42.2k

    OpenHuman is an agent harness with a desktop interface and a Rust library/runtime.

  44. janhq/jan★ 42.2k

    1. This is a monorepo for Jan, a desktop-first AI application with a local runtime, optional cloud providers, and a documentation site.

  45. menloresearch/jan★ 41.4k

    Core Engine – Represented by the “core” directory.

  46. codewhale-hq/codewhale★ 41.1k

    Codewhale is a local-first coding agent: a user submits a task through the terminal or a headless client, the shared Engine coordinates a model-backed turn and available tools…

  47. pola-rs/polars★ 39.9k

    Polars is a Rust analytical query engine for DataFrames, exposed through Rust and Python APIs.

  48. ajeetdsouza/zoxide★ 39.5k

    zoxide is a cross-platform Rust CLI that replaces/augments shell cd with ranked directory lookup.

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.