Skip to content

Introduction

OpenFlare is a self-hosted platform for running Cloudflare Workers–style applications on infrastructure you control. It runs the unmodified open-source workerd runtime (the same runtime Cloudflare open-sources) and adds what workerd alone does not provide: a control plane, a web console, signed deployments, and implementations of the platform bindings (KV, R2, D1, Queues, Durable Objects, Workflows, Cron, Hyperdrive, static assets and more).

You install it with Docker Compose on a single host, open the console, create a worker, and get a hostname that serves it.

  • A web console for creating and deploying workers, managing hostnames, variables and secrets, KV, R2, D1, queues, Durable Objects and workflows, reading logs, and viewing usage. See The console.
  • A management API (/api/v1) that does everything the console does. See Management API.
  • A runtime cell that actually serves your workers: one workerd process per tenant, per-tenant isolation, and binding backends (Redis for KV, an S3-compatible object store for R2, SQLite-based storage for D1 and Durable Objects).
  • Signed deployments. The control plane publishes a signed snapshot (“desired state”) and cells verify the signature before applying anything. See Architecture.
  • Optional public TLS edge. A Traefik edge with automatic wildcard certificates through Cloudflare DNS-01. See One-click install.
  • Optional git-push deployment from GitHub, and an optional in-console updater for release upgrades.

OpenFlare runs the real workerd, so JavaScript runtime APIs behave as they do on Cloudflare. The platform-level pieces around the runtime (bindings, routing, storage, scheduling) are OpenFlare’s own implementations, and they match Cloudflare to different degrees:

  • Drop-in: same API and configuration; the only difference is where the data lives.
  • Partial: runs, with documented differences.
  • Unsupported: the configuration key is rejected at deploy time with a typed error (VRT_CONFIG_UNSUPPORTED_FIELD) rather than silently ignored.

You can deploy projects that use wrangler configuration; OpenFlare normalizes it into a deployment manifest. Resource identifiers are minted by the platform: Cloudflare ids you put in a wrangler file (database_id, bucket_name, and so on) are treated as display names only.

Feature Status Main differences from Cloudflare
Workers (modules and service-worker syntax) Runs on real workerd Compatibility date and flags pass through to workerd.
KV Drop-in Backed by Redis in the Docker deployment. cacheTtl is accepted but there is no edge cache tier.
R2 Partial Objects, ranges, multipart, checksums. Conditional writes depend on the S3 backend. jurisdiction and storage_class are rejected.
D1 Partial SQLite on vrt-sql, single writer. Optional read-only follower. Time Travel is an offline restore command.
Durable Objects Partial SQLite and KV storage, alarms, RPC, WebSockets. No hibernation; transferred_classes is rejected in wrangler config.
Queues Partial Producers, consumers, retries, delay, concurrency, dead-letter queues. No pull consumer.
Cron Triggers Drop-in Five-field cron expressions; at-most-once delivery per worker, version and scheduled time.
Workflows Partial Cloudflare engine running as a Durable Object; limits.steps capped at 100,000.
Cache API Partial Per-host, in-memory, not persistent.
Service bindings Partial Worker-to-worker fetch and RPC, named entrypoints, JSON props; same tenant only.
Hyperdrive Partial PostgreSQL only; credentials never enter the isolate.
Rate limiting Partial Fixed-window counter per process; approximate, not shared across hosts.
Static assets Partial All four html_handling modes, not_found_handling, run_worker_first; 20,000 files and 25 MiB per file by default.
WebSockets Partial HTTP/1.1 upgrades only; 300 s idle timeout and 4 h maximum session by default.
Vars and secrets Partial Non-string vars arrive JSON-encoded in the standalone runtime; the control plane keeps typed JSON vars.
Tail Workers Partial Same tenant, best effort.
Worker loaders Partial Native WorkerLoader; live workers per loader are quota-bounded.
Vectorize, Analytics Engine, send_email, K2, Flagship, Images, Browser, Secrets Store Partial Each has documented gaps.
Workers AI, AI Search, Pipelines, mTLS certificates, dispatch namespaces (Workers for Platforms), Containers Unsupported Rejected at deploy.

For the complete, authoritative matrix, see Compatibility. For numeric limits, see Limits. For per-binding setup, see Bindings.

  • Not a global edge network. One vrt-host is one ingress. There is no anycast, no edge cache tier and no Smart Placement (placement is ignored).
  • Not a hostile multi-tenant boundary. The security model is a single trusted owner: run one control plane per trust domain, and keep management endpoints on a private network. Teams and member roles in the console control who can do what inside one installation; they do not make the installation safe to hand to mutually untrusting strangers.
  • Not a scale-out cluster (yet). The Docker deployment is one host running one cell. Kubernetes/k3s support is coming soon and is not covered by this documentation.
  • Not a drop-in for every Cloudflare product. Anything in the Unsupported row above fails at deploy time. Idle workers are frozen rather than kept warm, so the first request after a long idle period pays a wake-up cost.

OpenFlare is for people who want to self-host Workers on a VPS, a homelab or an internal server: individuals and single teams who can run Docker and, for a public install, manage a domain on Cloudflare DNS. If you only want to evaluate it on a laptop, the Quickstart runs everything on loopback in a few minutes.

Train Version Notes
Stable 0.7.4 Prebuilt release images and the one-command all-in-one stack.
Release candidate 0.8.0-rc.3 Prerelease. Adds the one-click install.sh installer, Cloudflare DNS-01 wildcard TLS, git-push deployment, and the in-console updater.

Release images are published for linux/amd64 only. On arm64 hosts (Apple Silicon, ARM servers) you must run them under emulation or build for your own architecture.

  1. Architecture: how the pieces fit together and how a deploy flows end to end.
  2. Quickstart: run the whole platform on one Docker host and deploy a first worker.
  3. Deploy with Docker: choose between the loopback development setup and a public TLS install.
  4. Deploy a worker and Bindings: what to build once it is running.