README.md

February 16, 2026 · View on GitHub

epicflare logo

A starter and reference for building full-stack web applications on Cloudflare Workers

Build Status TypeScript Bun Cloudflare Workers Remix


epicflare ships a Remix-powered UI, server routing, and OAuth-protected MCP endpoints so you can build both a user-facing app and tooling APIs on the same Worker.

Quick Start

bunx create-epicflare

This will clone the template, install dependencies, run the guided setup, and start the dev server.

See docs/getting-started.md for the full setup paths and expectations.

Tech Stack

LayerTechnology
RuntimeCloudflare Workers
UI FrameworkRemix 3 (alpha)
Package ManagerBun
DatabaseCloudflare D1
Session/OAuthCloudflare KV
MCP StateDurable Objects
E2E TestingPlaywright
Bundleresbuild

How It Works

Request → worker/index.ts

              ├─→ OAuth handlers
              ├─→ MCP endpoints
              ├─→ Static assets (public/)
              └─→ Server router → Remix components
  • worker/index.ts is the entrypoint for Cloudflare Workers
  • OAuth requests are handled first, then MCP requests, then static assets
  • Non-asset requests fall through to the server handler and router
  • Client assets are bundled into public/ and served via the ASSETS binding

Documentation

DocumentDescription
docs/getting-started.mdSetup, environment variables, deploy
docs/environment-variables.mdAdding new env vars
docs/cloudflare-offerings.mdOptional Cloudflare integrations
docs/agents/setup.mdLocal development and verification

Built with ❤️ by Epic Web