README: the layout table gives each part's language in its own column
1 file+36−350/1 viewed
| 126 | 126 | ||
| 127 | 127 | ## Layout | |
| 128 | 128 | ||
| 129 | − | | Path | What it is | | |
| 130 | − | | --- | --- | | |
| 131 | − | | `apps/web` | The site: server-rendered React on a Worker. Holds no data. | | |
| 132 | − | | `apps/docs` | The documentation site, with the API explorer. | | |
| 133 | − | | `apps/api` | REST API and MCP server. Rust. | | |
| 134 | − | | `services/identity` | Accounts, workspaces, sessions, keys and tokens. Rust. | | |
| 135 | − | | `services/repos` | Repository registry, contents, forks, diffs, landing, git over HTTPS. Rust. | | |
| 136 | − | | `services/work` | Issues, pull requests, reviews, check runs and sessions. Rust. | | |
| 137 | − | | `services/events` | The event bus and its log. Rust. | | |
| 138 | − | | `services/search` | Site-wide search and Explore. Rust. | | |
| 139 | − | | `services/billing` | Usage, the price book, limits, invoices and payments. Rust. | | |
| 140 | − | | `services/actions` | GitHub Actions workflows, runs, caches and self-hosted runners. Rust. | | |
| 141 | − | | `services/security` | Push protection findings, history scanning and dependency upkeep. Rust. | | |
| 142 | − | | `services/integrations` | Model providers, alerts, trackers and the GitHub App. Rust. | | |
| 143 | − | | `services/webhooks` | Webhook deliveries. Rust. | | |
| 144 | − | | `services/runner` | Starts sandboxes: for g1t agents, workflow jobs and the merge queue. TypeScript. | | |
| 145 | − | | `services/projects` | Projects and the dependencies between them. TypeScript. | | |
| 146 | − | | `services/deployments` | Builds, previews and production on `g1t.page`. TypeScript. | | |
| 147 | − | | `services/pages` | Serves every app deployed on `g1t.page`, and custom domains. TypeScript. | | |
| 148 | − | | `services/models` | The model proxy at `models.g1t.sh`. TypeScript. | | |
| 149 | − | | `services/context` | The context hub: catalog, search and scorecards. TypeScript. | | |
| 150 | − | | `services/og` | Social cards at `og.g1t.sh`: a PNG per page, showing only what anyone may see. TypeScript. | | |
| 151 | − | | `apps/status` | `status.g1t.sh`. TypeScript. | | |
| 152 | − | | `apps/sudo` | g1t's own staff console. | | |
| 153 | − | | `crates/runner` | The program inside a sandbox: runs an agent, a workflow job or a merge queue build, and reports back. Rust. | | |
| 154 | − | | `crates/contracts` | Types and service interfaces for the Rust services. | | |
| 155 | − | | `crates/kit` | Plumbing shared by Rust services on Workers. | | |
| 156 | − | | `crates/actions` | Reads workflows and evaluates their expressions. Rust. | | |
| 157 | − | | `crates/scan` | Secret and lockfile scanning, shared by services. Rust. | | |
| 158 | − | | `crates/secrets` | Secrets at rest and signatures. Rust. | | |
| 159 | − | | `crates/sshd` | Git over SSH, bridged to Artifacts. Not deployed yet. | | |
| 160 | − | | `packages/contracts` | The same interfaces for TypeScript callers. | | |
| 161 | − | | `packages/theme` | Design tokens and the logo, shared by the site and the docs. | | |
| 162 | − | | `deploy` | `stack.jsonc`, every deployable part and its resources; `self-host`, the Docker Compose version. | | |
| 129 | + | | Path | What it is | Language | | |
| 130 | + | | --- | --- | --- | | |
| 131 | + | | `apps/web` | The site: server-rendered React on a Worker. Holds no data. | TypeScript | | |
| 132 | + | | `apps/docs` | The documentation site, with the API explorer. | TypeScript | | |
| 133 | + | | `apps/api` | REST API and MCP server. | Rust | | |
| 134 | + | | `services/identity` | Accounts, workspaces, sessions, keys and tokens. | Rust | | |
| 135 | + | | `services/repos` | Repository registry, contents, forks, diffs, landing, git over HTTPS. | Rust | | |
| 136 | + | | `services/work` | Issues, pull requests, reviews, check runs and sessions. | Rust | | |
| 137 | + | | `services/events` | The event bus and its log. | Rust | | |
| 138 | + | | `services/search` | Site-wide search and Explore. | Rust | | |
| 139 | + | | `services/billing` | Usage, the price book, limits, invoices and payments. | Rust | | |
| 140 | + | | `services/actions` | GitHub Actions workflows, runs, caches and self-hosted runners. | Rust | | |
| 141 | + | | `services/security` | Push protection findings, history scanning and dependency upkeep. | Rust | | |
| 142 | + | | `services/integrations` | Model providers, alerts, trackers and the GitHub App. | Rust | | |
| 143 | + | | `services/webhooks` | Webhook deliveries. | Rust | | |
| 144 | + | | `services/runner` | Starts sandboxes: for g1t agents, workflow jobs and the merge queue. | TypeScript | | |
| 145 | + | | `services/projects` | Projects and the dependencies between them. | TypeScript | | |
| 146 | + | | `services/deployments` | Builds, previews and production on `g1t.page`. | TypeScript | | |
| 147 | + | | `services/pages` | Serves every app deployed on `g1t.page`, and custom domains. | TypeScript | | |
| 148 | + | | `services/models` | The model proxy at `models.g1t.sh`. | TypeScript | | |
| 149 | + | | `services/context` | The context hub: catalog, search and scorecards. | TypeScript | | |
| 150 | + | | `services/og` | Social cards at `og.g1t.sh`: a PNG per page, showing only what anyone may see. | TypeScript | | |
| 151 | + | | `apps/status` | The status page at `status.g1t.sh`. | TypeScript | | |
| 152 | + | | `apps/sudo` | g1t's own staff console. | TypeScript | | |
| 153 | + | | `crates/runner` | The program inside a sandbox: runs an agent, a workflow job or a merge queue build, and reports back. | Rust | | |
| 154 | + | | `crates/contracts` | Types and service interfaces for the Rust services. | Rust | | |
| 155 | + | | `crates/kit` | Plumbing shared by Rust services on Workers. | Rust | | |
| 156 | + | | `crates/actions` | Reads workflows and evaluates their expressions. | Rust | | |
| 157 | + | | `crates/scan` | Secret and lockfile scanning, shared by services. | Rust | | |
| 158 | + | | `crates/secrets` | Secrets at rest and signatures. | Rust | | |
| 159 | + | | `crates/sshd` | Git over SSH, bridged to Artifacts. Not deployed yet. | Rust | | |
| 160 | + | | `packages/contracts` | The same interfaces for TypeScript callers. | TypeScript | | |
| 161 | + | | `packages/theme` | Design tokens and the logo, shared by the site and the docs. | CSS | | |
| 162 | + | | `deploy` | `stack.jsonc`, every deployable part and its resources; `self-host`, the Docker Compose version. | JSON, Docker Compose | | |
| 163 | 163 | ||
| 164 | 164 | Each service is its own Worker, and each one that keeps data has its own | |
| 165 | 165 | database. They call each other through service bindings and react to each | |
| 166 | 166 | other through events. The core services (accounts, repositories, work, | |
| 167 | 167 | events, billing, Actions, security and the API) are written in Rust; the | |
| 168 | − | rest are the web apps and the Workers marked TypeScript above. | |
| 168 | + | web apps and the rest of the Workers in TypeScript. The Language column | |
| 169 | + | says which, part by part. | |
| 169 | 170 | ||
| 170 | 171 | ## Run your own | |
| 171 | 172 |