Cloudflare-native livechat infrastructure

EnvDesk

A static-first, edge-run livechat platform for technical teams that need fast conversations today and a clean CRM path tomorrow.

Static first Astro pages, CDN-first delivery, minimal hydration.
Realtime edge Workers and one Durable Object per active conversation.
Zero bloat Vanilla widget runtime with limited CSS preset injection.

Edge architecture

Realtime support without dragging a conventional backend behind it.

EnvDesk keeps request validation at the Worker boundary, isolates active chats in conversation Durable Objects, and stores durable product data in tenant-scoped D1 tables.

Cloudflare Pages Static landing and Svelte dashboard assets.
Workers API Auth, routing, validation, rate limits, and WebSocket upgrades.
Durable Objects One active room per conversation for ordered fan-out.
D1 and Drizzle Type-safe tenant records for organizations, messages, and CRM data.
KV presence Eventually consistent agent presence and routing hints.
Analytics Engine High-volume widget loads, pings, and latency telemetry.

Operator workflow

A live inbox built to become a CRM, not a dead-end chat box.

The first product surface focuses on active conversations, visitor context, assignment, and clean tenant boundaries. CRM depth arrives through the same data model.

01

Conversation inbox

Operators see active, pending, and closed conversations with realtime state patched from edge events.

02

Customer context

Visitor records, notes, tags, and history stay organization-scoped from the first schema.

03

Routing foundation

Agent presence, team rules, and assignment metadata prepare the path for CRM automation.

Embeddable widget

A tiny customer-side script with a controlled styling surface.

The widget loads asynchronously, keeps runtime dependencies out, isolates styles with Shadow DOM, and accepts only safe branding presets through CSS variables.

widget.envdesk.com loader.js
<script
  async
  src="https://widget.envdesk.com/loader.js"
  data-envdesk-key="pub_live_example"
></script>

Freemium funnel

Built for adoption before billing.

EnvDesk starts with rate limits, origin validation, and abuse controls instead of paywalls. The goal is a technical user base that can embed the widget quickly and grow into CRM workflows over time.

Start the conversation