Architecture of pingdotgg/t3code
pingdotgg/t3code is 28,344 source files holding 161,206 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 repository is split into top-level directories, and the largest by file count are .repos, apps, packages and infra. The apps directory holds the applications, including apps/mobile for the mobile app. The Adapters directory under apps/server/src/orchestration-v2 holds adapter code, and ClaudeAdapterV2.test.ts there covers the Claude adapter. apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx lays out the workspace in the mobile app. packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts holds the GitLab pull request command-line code for the source control integration package. docs/internals/overview.md is the starting point for reading the source, and docs/ holds the full documentation.
Largest modules
- .repos: 19,024 files and 2,372,116 lines of code
- apps: 4,864 files and 1,190,563 lines of code
- packages: 1,218 files and 342,411 lines of code
- infra: 158 files and 32,424 lines of code
- scripts: 112 files and 28,569 lines of code
- oxlint-plugin-t3code: 66 files and 6,029 lines of code
- native: 51 files and 6,929 lines of code
- evals: 21 files and 14,281 lines of code
Languages
By file count: TypeScript 24,917 files, JavaScript 134 files, Astro 129 files, C++ 58 files, Kotlin 56 files, Vue 52 files.
Documentation
Repowise documents t3code in 8,377 pages generated from the source, 61 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.