A task board that proves the whole stack works.
An open-source TanStack Start foundation for Cloudflare Workers: auth, data, files, realtime, jobs, AI, and an MCP server in one Worker you fork and own.
Every primitive powers a real feature
Each feature below runs in production on core.tanbase.dev, wired to the same Worker. The chips name the binding, secret, route, or config key it uses.
One Workersrc/server.ts
Server rendering, static assets, the cron handler, the queue consumer, the Workflow, and the Durable Object ship in one deploy.
- Projects and tasksD1 with Drizzle
DB - Accounts and sessionsBetter Auth on D1
DB - Bot checks on sign-up and sign-inTurnstile
TURNSTILE_SECRET_KEY - Abuse limits on auth and AIRate Limiting
AUTH_LIMITERAI_LIMITER - Task attachmentsR2
FILES - Live board across devicesDurable Objects with WebSocket Hibernation
BOARD - Due-date remindersCron Triggers and Queues
EMAIL_QUEUE - Verification and reminder emailEmail Service
EMAIL - Task breakdown into subtasksWorkflows
BREAKDOWN - Subtask suggestionsWorkers AI through AI Gateway
AI - Task tools for Claude and other agentsMCP server with OAuth 2.1
/mcp - Link preview images drawn on the WorkerWorkers Caching
exports.OgImage - Structured request logsWorkers Logs
observability
Sized for one $5 plan
The target: the public demo runs on Workers Paid at $5 a month, with its usage inside the included allowances. Static assets and egress are free.
| Workers | 10M requests and 30M CPU ms a month |
|---|---|
| D1 | 25B rows read and 50M written a month, 5 GB stored |
| Durable Objects | 1M requests and 400K GB-s a month |
| R2Free tier on every plan | 10 GB stored, 1M Class A and 10M Class B operations a month |
| Queues | 1M operations a month |
| Workers AIFree tier on every plan | 10,000 Neurons a day |
| Email Service | 3,000 emails a month |
What could push it past $5
- Workers AI beyond the free daily Neurons
- Abuse of the public demo: sign-ups, uploads, and AI calls
Guardrails running now
- Turnstile and per-IP rate limits on auth
- A per-user daily AI quota and burst limit
- A 10 MB upload cap with a file type allowlist
Deploy your own
Clone the repository and run the guided installer with a Cloudflare account on Workers Paid. It provisions D1, R2, and Queues in your account, generates the auth secret, deploys the Worker, and runs production smoke checks.
Needs Node.js 22.13 or later, pnpm 10.11.1, and a Cloudflare account.
git clone https://github.com/tanfust/tanbase-core.gitcd tanbase-corepnpm install --frozen-lockfilepnpm run setup