Open-Source Wikis

/

tldraw

/

Apps

/

Workers and analytics apps

tldraw/tldraw

Workers and analytics apps

Smaller workspaces under apps/ that don't merit their own page but ship to production.

apps/bemo-worker

Path: apps/bemo-worker/.

The demo sync server backing useSyncDemo() from @tldraw/sync. Anyone can connect to a public room without authentication. Built on Cloudflare Workers + Durable Objects. Source under apps/bemo-worker/src/, config in wrangler.toml. Deployed via .github/workflows/deploy-bemo.yml.

bemo is referenced from the root yarn dev script — the demo worker is started alongside the SDK so the useSyncDemo examples just work locally.

apps/analytics

Path: apps/analytics/.

The analytics frontend or library code shared by the dotcom client and other surfaces.

apps/analytics-worker

Path: apps/analytics-worker/.

The Cloudflare Worker that ingests analytics events. Deployed by .github/workflows/deploy-analytics.yml.

apps/tldraw-new

Path: apps/tldraw-new/.

A small placeholder workspace; appears to be staging ground for an upcoming app. Two files only as of this commit. Treat as in-progress.

How they fit

graph LR
    Templates[templates/*] -->|useSyncDemo| Bemo[apps/bemo-worker]
    Examples[apps/examples] -->|useSyncDemo| Bemo
    Client[apps/dotcom/client] -->|events| AnalyticsWorker[apps/analytics-worker]
    Client -->|library| Analytics[apps/analytics]

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Workers and analytics apps – tldraw wiki | Factory