tldraw/tldraw
Apps
Every workspace under apps/ plus the starter templates under templates/. These are the runnable surfaces of the repo — the things that ship to a domain or to an extension marketplace.
Layout
| App | Path | What it is |
|---|---|---|
| tldraw.com | apps/dotcom/ |
The hosted whiteboard at https://tldraw.com: client + four Cloudflare workers + zero-cache. |
| Examples | apps/examples/ |
The dev host for the SDK. yarn dev runs this at localhost:5420. |
| Docs | apps/docs/ |
The Next.js site at https://tldraw.dev. |
| VS Code extension | apps/vscode/ |
The "tldraw for VS Code" extension. |
| MCP app | apps/mcp-app/ |
Model Context Protocol server. |
| Workers | apps/bemo-worker/, apps/analytics/, apps/analytics-worker/ |
Demo sync, analytics. |
| tldraw-new | apps/tldraw-new/ |
Placeholder for an in-progress app. |
Starter templates
The templates/ directory holds starter projects for npx create-tldraw@latest:
agent— AI agents that read, interpret, and modify the canvas.branching-chat— AI chat with visual branching.chat— canvas-powered AI chat.image-pipeline— image generation and editing flow.nextjs— basic Next.js + tldraw.shader— WebGL shaders that respond to canvas interactions.simple-server-example— minimal Node server backinguseSync.socketio-server-example— same with Socket.IO.sync-cloudflare—useSync+ Cloudflare Durable Object backend.vite— basic Vite + tldraw.vue— Vue host with the React component embedded.workflow— drag-and-drop node builder.
Each template is a fully working project with its own package.json. They are scaffolded by packages/create-tldraw/ (see create-tldraw).
How they fit
graph TB
SDK[packages/tldraw + packages/sync]
SDK --> Examples[apps/examples]
SDK --> Dotcom[apps/dotcom]
SDK --> Docs[apps/docs]
SDK --> VSCode[apps/vscode]
SDK --> MCP[apps/mcp-app]
SDK --> Templates[templates/*]
Dotcom --> Workers[CF Workers + zero-cache]
Templates --> Bemo[apps/bemo-worker]apps/examples is the dev fixture for the SDK. apps/dotcom is the production app. apps/docs is the marketing/docs surface. apps/vscode and apps/mcp-app are alternative hosts for the editor.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.