Cloudflare Workers

Example project demonstrating Cloudflare Workers deployment.

Features

  • Cloudflare Workers integration: Deploy Rivet Actors to Cloudflare's edge network using Durable Objects
  • Edge-native execution: Actors run at the edge for low-latency global access
  • Built-in HTTP API: Actors automatically exposed via HTTP endpoints
  • Wrangler CLI integration: Standard Cloudflare tooling for development and deployment

Implementation

This example demonstrates deploying Rivet Actors to Cloudflare Workers:

  • Actor Definition (src/backend/registry.ts): Shows how to set up actors for Cloudflare Workers deployment using Durable Objects

Resources

Read more about Cloudflare Workers integration, actions, and state.