Skip to content

Shirei

Small, sharp tools for stateful systems on Cloudflare Workers.

Durability

Alarm-backed operation execution with persistence, retries, concurrency controls, and typed results.

Read the guide →

DO Transforms

Compose typed caller and callee behavior around Durable Object and Worker RPC calls.

Read the guide →

Client-side DO

Typesafe WebSocket RPC, subscriptions, optimistic state, and TanStack DB synchronization.

Read the guide →

Big Marge

A registry-delivered Durable Object runtime and browser client that demonstrate the full install path.

Read the guide →

Shirei packages stay close to Cloudflare primitives. Use only the layer you need:

  1. Big Marge scaffolds a complete runtime and client through the Workers Registry.
  2. Client-side DO connects browser state to a Durable Object over typesafe WebSocket RPC.
  3. DO Transforms adds cross-cutting behavior to native RPC without changing domain methods.
  4. Durability persists background operations and resumes them through Durable Object alarms.

These packages are under active development. The documentation follows the current package branches and calls out delivery guarantees and platform limits rather than hiding them.