Architecture of pingdotgg/t3code
pingdotgg/t3code is 28,663 source files holding 164,215 symbols across 13 modules, written mainly in TypeScript, JavaScript, Astro. The largest module is .repos, with 19,024 files, and 261 files are entry points into the dependency graph.
How t3code fits together
The apps directory holds the client surfaces, a browser, a phone and a desktop window, and each one connects to a server that runs the agents, projects and threads. The packages directory contains the shared provider and source control libraries that the server's orchestration and provider code calls, passing in settings and receiving normalized events or results. Inside apps/server, apps/server/src/orchestration-v2/ProjectionStore.ts is one of the hotspot files in the orchestration code. The infra directory holds the hosted services behind T3 Connect remote access and the shared Vite+ task cache. The scripts directory builds the desktop app, the CLI and the npm launcher, and prepares the brand icons those builds use. The native packages capture a single window's pixels on Linux desktops through Hyprland's socket API or KDE's KWin screenshot service.
Largest modules
- .repos: 19,024 files and 2,372,116 lines of code
- apps: 5,082 files and 1,292,450 lines of code
- packages: 1,270 files and 371,149 lines of code
- infra: 158 files and 32,407 lines of code
- scripts: 122 files and 30,581 lines of code
- oxlint-plugin-t3code: 68 files and 6,113 lines of code
- native: 51 files and 6,929 lines of code
- evals: 24 files and 15,246 lines of code
Languages
By file count: TypeScript 25,191 files, JavaScript 142 files, Astro 129 files, Kotlin 61 files, C++ 58 files, Vue 52 files.
Documentation
Repowise documents t3code in 8,429 pages generated from the source, 60 of them written explanations of the repository and its modules. Module guides include:
- apps: Apps
- apps/web/src/components/chat: Chat
- packages/client-runtime: Client Runtime
- packages/client-runtime/src: Client Runtime Source
- apps/web/src/components: Components
More on t3code: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos