Architecture of pingdotgg/t3code
pingdotgg/t3code is 29,226 source files holding 174,769 symbols across 13 modules, written mainly in TypeScript, JavaScript, Astro. The largest module is .repos, with 19,025 files, and 261 files are entry points into the dependency graph.
How t3code fits together
Input comes in through the clients: the desktop app, the web app, and the iOS and Android apps, which sit in the apps directory. The apps directory holds the deployable programs, and the packages directory holds shared libraries such as provider-acp and client-runtime. apps/server/src/orchestration-v2/Orchestrator.ts is a hotspot file on the server side, and ProjectionStore.ts sits beside it in the same orchestration-v2 directory. packages/provider-acp/src/server/adapter.ts is the server file in the provider-acp package that connects agents which speak ACP. packages/client-runtime/src/t3ToolSummary.ts is a hotspot file in the shared client code, and apps/mobile/src/features/issues/IssueRouteScreen.tsx is a hotspot screen in the mobile app. The server runs the agents on your machine, and every client shows the same threads.
Largest modules
- .repos: 19,025 files and 2,439,840 lines of code
- apps: 5,404 files and 1,439,926 lines of code
- packages: 1,374 files and 475,111 lines of code
- scripts: 226 files and 38,383 lines of code
- infra: 160 files and 32,930 lines of code
- oxlint-plugin-t3code: 69 files and 6,518 lines of code
- native: 53 files and 7,050 lines of code
- evals: 24 files and 15,976 lines of code
Languages
By file count: TypeScript 25,716 files, JavaScript 145 files, Astro 129 files, Kotlin 64 files, C++ 60 files, Vue 52 files.
Documentation
Repowise documents t3code in 8,526 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