# Desktop app architecture examples

Interactive architecture diagrams of 455 open-source repositories with a GitDiagram architecture diagram where the diagram has a desktop app (including Electron and Tauri), 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 desktop apps here, the median diagram has 21 components. 66% draw a data store (most often SQLite and files on disk), 30% have a command-line interface and 22% a web interface.

14% have an LLM or AI-model component, 16% speak MCP, 28% have a plugin or extension system and 26% are split into workspace packages (packages/, apps/, crates/ and similar).

The files their components link to most are index.ts (28), App.tsx (27), main.ts (18), main.rs (17) and mod.rs (16).

Group names that recur: “user interfaces” (19), “desktop runtime” (10), “desktop interface” (9), “agent runtime” (7) and “desktop experience” (7).

By language: TypeScript 32%, Rust 14%, Python 12%, C++ 8% and JavaScript 6%.

## Repositories 1 to 50 of 455

1. [deepseek-ai/deepseek-harness](https://gitdiagram.com/deepseek-ai/deepseek-harness) (277k stars, TypeScript): DeepSeek Harness is a plugin-oriented agent harness with a local Web UI and Desktop host. Markdown: https://gitdiagram.com/deepseek-ai/deepseek-harness.md
2. [anomalyco/opencode](https://gitdiagram.com/anomalyco/opencode) (225k stars, TypeScript): OpenCode is an open-source AI coding agent with terminal and desktop interfaces. Markdown: https://gitdiagram.com/anomalyco/opencode.md
3. [ollama/ollama](https://gitdiagram.com/ollama/ollama) (185k stars, Go): Ollama is a local-and-cloud open-model runtime: users can run or chat with models through the CLI, call a REST API, or use the desktop app; integrations can also connect through… Markdown: https://gitdiagram.com/ollama/ollama.md
4. [genymobile/scrcpy](https://gitdiagram.com/genymobile/scrcpy) (152k stars, C): scrcpy is a desktop application for mirroring Android video and audio and controlling the device over USB or TCP/IP; OTG supports physical-input simulation without debugging. Markdown: https://gitdiagram.com/genymobile/scrcpy.md
5. [clash-verge-rev/clash-verge-rev](https://gitdiagram.com/clash-verge-rev/clash-verge-rev) (150k stars, Rust): Clash Verge Rev is a Tauri desktop GUI for the Clash Meta (mihomo) proxy core. Markdown: https://gitdiagram.com/clash-verge-rev/clash-verge-rev.md
6. [farion1231/cc-switch](https://gitdiagram.com/farion1231/cc-switch) (142k stars, Rust): CC Switch is a desktop manager for configuring and switching AI coding-agent providers, with shared management of MCP servers, skills, and prompts. Markdown: https://gitdiagram.com/farion1231/cc-switch.md
7. [electron/electron](https://gitdiagram.com/electron/electron) (123k stars, C++): Electron is a cross-platform desktop application framework built on Node.js and Chromium. Markdown: https://gitdiagram.com/electron/electron.md
8. [tauri-apps/tauri](https://gitdiagram.com/tauri-apps/tauri) (113k stars, Rust): 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. Markdown: https://gitdiagram.com/tauri-apps/tauri.md
9. [debpalash/voicestudio](https://gitdiagram.com/debpalash/voicestudio) (100k stars, Python): VoiceStudio is an on-device AI voice studio, exposed through a desktop app and backend, with support for local models and API/MCP automation. Markdown: https://gitdiagram.com/debpalash/voicestudio.md
10. [hacksider/deep-live-cam](https://gitdiagram.com/hacksider/deep-live-cam) (96.8k stars, Python): Deep-Live-Cam is a desktop face-swapping application for live camera feeds and image/video targets. Markdown: https://gitdiagram.com/hacksider/deep-live-cam.md
11. [opencut-app/opencut](https://gitdiagram.com/opencut-app/opencut) (90.6k stars, TypeScript): OpenCut is a ground-up rewrite of a free video editor, but the sampled repository is an early scaffold: the web has routing and an editor route, the desktop launches a shell with… Markdown: https://gitdiagram.com/opencut-app/opencut.md
12. [lobehub/lobehub](https://gitdiagram.com/lobehub/lobehub) (82.8k stars, TypeScript): LobeHub is a workspace for building and operating AI agents, with chat and team collaboration as central user workflows. Markdown: https://gitdiagram.com/lobehub/lobehub.md
13. [stablyai/orca](https://gitdiagram.com/stablyai/orca) (81.6k stars, TypeScript): Orca is a cross-platform AI-agent orchestration desktop app with a mobile companion. Markdown: https://gitdiagram.com/stablyai/orca.md
14. [nomic-ai/gpt4all](https://gitdiagram.com/nomic-ai/gpt4all) (77.4k stars, C++): 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
15. [unslothai/unsloth](https://gitdiagram.com/unslothai/unsloth) (76.9k stars, Python): Unsloth is a desktop/web product for running and training local models, with Unsloth Studio as its backend-and-frontend application. Markdown: https://gitdiagram.com/unslothai/unsloth.md
16. [storytold/photocraft](https://gitdiagram.com/storytold/photocraft) (75.6k stars, Rust): PhotoCraft is a native Rust image editor, with CLI, web, and automation interfaces. Markdown: https://gitdiagram.com/storytold/photocraft.md
17. [eugeny/tabby](https://gitdiagram.com/eugeny/tabby) (75.3k stars, TypeScript): Tabby is a cross-platform terminal emulator and connection client. Markdown: https://gitdiagram.com/eugeny/tabby.md
18. [obsproject/obs-studio](https://gitdiagram.com/obsproject/obs-studio) (73.4k stars, C): 1. Repository purpose and top-level shape Markdown: https://gitdiagram.com/obsproject/obs-studio.md
19. [openbb-finance/openbb](https://gitdiagram.com/openbb-finance/openbb) (73.4k stars, Python): Open Data Platform (ODP) connects financial and economic data providers to Python, REST/Workspace, CLI, and MCP consumers. Markdown: https://gitdiagram.com/openbb-finance/openbb.md
20. [code-yeongyu/oh-my-opencode](https://gitdiagram.com/code-yeongyu/oh-my-opencode) (70k stars, TypeScript): OmO is a multi-model agent harness for turning a user’s task into completed work. Markdown: https://gitdiagram.com/code-yeongyu/oh-my-opencode.md
21. [code-yeongyu/oh-my-openagent](https://gitdiagram.com/code-yeongyu/oh-my-openagent) (69.6k stars, TypeScript): OmO is an AI coding and research agent harness: a user describes work, and the agent can plan, delegate, use tools, and verify results. Markdown: https://gitdiagram.com/code-yeongyu/oh-my-openagent.md
22. [zhulinsen/daily_stock_analysis](https://gitdiagram.com/zhulinsen/daily_stock_analysis) (65.7k stars, Python): Daily Stock Analysis is a multi-market AI stock-research and decision-support product, delivered through a web/desktop workspace, API, and chat bots. Markdown: https://gitdiagram.com/zhulinsen/daily_stock_analysis.md
23. [marktext/marktext](https://gitdiagram.com/marktext/marktext) (62.7k stars, TypeScript): MarkText is a cross-platform Markdown editor. Markdown: https://gitdiagram.com/marktext/marktext.md
24. [twentyhq/twenty](https://gitdiagram.com/twentyhq/twenty) (58.1k stars, TypeScript): Twenty is an open-source, extensible CRM. Markdown: https://gitdiagram.com/twentyhq/twenty.md
25. [hkuds/deeptutor](https://gitdiagram.com/hkuds/deeptutor) (57.3k stars, Python): DeepTutor is a lifelong personalized tutoring product, exposed through a web client and desktop app. Markdown: https://gitdiagram.com/hkuds/deeptutor.md
26. [laurent22/joplin](https://gitdiagram.com/laurent22/joplin) (56.5k stars, TypeScript): Joplin is an offline-first notes and to-do application with desktop, CLI, and browser clipper interfaces. Markdown: https://gitdiagram.com/laurent22/joplin.md
27. [agalwood/motrix](https://gitdiagram.com/agalwood/motrix) (55.9k stars, TypeScript): Motrix is a desktop and headless download manager. Markdown: https://gitdiagram.com/agalwood/motrix.md
28. [aaif-goose/goose](https://gitdiagram.com/aaif-goose/goose) (55k stars, Rust): Goose is a general-purpose, locally run AI agent delivered as a desktop app, CLI, and embeddable API. Markdown: https://gitdiagram.com/aaif-goose/goose.md
29. [jamiepine/voicebox](https://gitdiagram.com/jamiepine/voicebox) (54.7k stars, Python): Voicebox is a local-first AI voice studio: multi-engine TTS/voice cloning, Whisper transcription and dictation, audio effects, stories, and REST/MCP integrations. Markdown: https://gitdiagram.com/jamiepine/voicebox.md
30. [lencx/chatgpt](https://gitdiagram.com/lencx/chatgpt) (54.5k stars, Rust): 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… Markdown: https://gitdiagram.com/lencx/chatgpt.md
31. [lyswhut/lx-music-desktop](https://gitdiagram.com/lyswhut/lx-music-desktop) (54.1k stars, TypeScript): LX Music is an Electron/Vue desktop music application. Markdown: https://gitdiagram.com/lyswhut/lx-music-desktop.md
32. [dbeaver/dbeaver](https://gitdiagram.com/dbeaver/dbeaver) (51.9k stars, Java): DBeaver is a Java/Eclipse desktop database client. Markdown: https://gitdiagram.com/dbeaver/dbeaver.md
33. [multica-ai/multica](https://gitdiagram.com/multica-ai/multica) (51.4k stars, Go): Multica is a collaborative workspace for assigning issues to AI coding agents, monitoring their runs, and reviewing completed work. Markdown: https://gitdiagram.com/multica-ai/multica.md
34. [moeru-ai/airi](https://gitdiagram.com/moeru-ai/airi) (50.9k stars, TypeScript): AIRI is a multi-platform, LLM-powered virtual-character project. Markdown: https://gitdiagram.com/moeru-ai/airi.md
35. [upscayl/upscayl](https://gitdiagram.com/upscayl/upscayl) (49.9k stars, TypeScript): Upscayl is a desktop AI image-upscaling application. Markdown: https://gitdiagram.com/upscayl/upscayl.md
36. [pingdotgg/t3code](https://gitdiagram.com/pingdotgg/t3code) (49k stars, TypeScript): T3 Code is a multi-client control surface for coding agents running on user machines: desktop, web, and iOS/Android clients connect users to server-managed environments and agent… Markdown: https://gitdiagram.com/pingdotgg/t3code.md
37. [oobabooga/textgen](https://gitdiagram.com/oobabooga/textgen) (47.7k stars, Python): TextGen is a local-first desktop/web runtime for loading and serving LLMs, with chat, free-form generation, multimodal inputs, tools, LoRA training, image generation, and… Markdown: https://gitdiagram.com/oobabooga/textgen.md
38. [tashfeenahmed/freellmapi](https://gitdiagram.com/tashfeenahmed/freellmapi) (47.2k stars, TypeScript): FreeLLMAPI aggregates free and custom model providers behind an OpenAI-compatible API, with a router selecting available models and tracking per-key limits. Markdown: https://gitdiagram.com/tashfeenahmed/freellmapi.md
39. [rocketchat/rocket.chat](https://gitdiagram.com/rocketchat/rocket.chat) (46.1k stars, TypeScript): Rocket.Chat is a secure team-communications platform. Markdown: https://gitdiagram.com/rocketchat/rocket.chat.md
40. [zhayujie/cowagent](https://gitdiagram.com/zhayujie/cowagent) (46.1k stars, Python): CowAgent is a Python-based, extensible AI-agent runtime: it receives multimodal messages, plans and executes tool-using tasks, maintains memory/knowledge, and replies through the… Markdown: https://gitdiagram.com/zhayujie/cowagent.md
41. [vnpy/vnpy](https://gitdiagram.com/vnpy/vnpy) (46k stars, Python): VeighNa is a Python quantitative-trading framework with a desktop trading platform and an AI-oriented research workflow. Markdown: https://gitdiagram.com/vnpy/vnpy.md
42. [siyuan-note/siyuan](https://gitdiagram.com/siyuan-note/siyuan) (45.3k stars, TypeScript): SiYuan is a privacy-first personal knowledge-management system centered on block-based Markdown WYSIWYG documents, references, assets, databases, search, export, sync, plugins… Markdown: https://gitdiagram.com/siyuan-note/siyuan.md
43. [omacom/omarchy](https://gitdiagram.com/omacom/omarchy) (44.2k stars, Shell): Omarchy is a Linux distribution whose shell provides interactive desktop workflows through a configurable bar, menus, panels, notifications, and supporting tools. Markdown: https://gitdiagram.com/omacom/omarchy.md
44. [tinyhumansai/openhuman](https://gitdiagram.com/tinyhumansai/openhuman) (42.2k stars, Rust): OpenHuman is an agent harness with a desktop interface and a Rust library/runtime. Markdown: https://gitdiagram.com/tinyhumansai/openhuman.md
45. [janhq/jan](https://gitdiagram.com/janhq/jan) (42.2k stars, Rust): 1. This is a monorepo for Jan, a desktop-first AI application with a local runtime, optional cloud providers, and a documentation site. Markdown: https://gitdiagram.com/janhq/jan.md
46. [posthog/posthog](https://gitdiagram.com/posthog/posthog) (40.3k stars, Python): PostHog is a product-data platform: it collects analytics, replay, logs, and other business context, then lets people and agents explore and act on that context. Markdown: https://gitdiagram.com/posthog/posthog.md
47. [sharex/sharex](https://gitdiagram.com/sharex/sharex) (39.7k stars, C#): ShareX is a Windows capture, editing, automation, and sharing application. Markdown: https://gitdiagram.com/sharex/sharex.md
48. [aseprite/aseprite](https://gitdiagram.com/aseprite/aseprite) (39.5k stars, C++): Aseprite is a C++ desktop application for creating animated pixel-art sprites. Markdown: https://gitdiagram.com/aseprite/aseprite.md
49. [zuodaotech/everyone-can-use-english](https://gitdiagram.com/zuodaotech/everyone-can-use-english) (39.4k stars, TypeScript): Enjoy is an AI-assisted language-learning application, with a desktop renderer for media, reading, conversation, vocabulary, courses, and pronunciation practice. Markdown: https://gitdiagram.com/zuodaotech/everyone-can-use-english.md
50. [siddharthvaddem/openscreen](https://gitdiagram.com/siddharthvaddem/openscreen) (39k stars, TypeScript): 1. OpenScreen is an Electron desktop application with a clear split between the main process, the renderer/UI, and an optional native capture layer. Markdown: https://gitdiagram.com/siddharthvaddem/openscreen.md

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