A self-hostable email service built on Cloudflare Workers, letting you create multiple mailboxes under one domain with sending, attachments and a responsive web UI.
elliothux/open-compute
A self-hosted, Cloudflare Workers-compatible platform packaged as a single Rust binary for running Workers, KV, D1, R2 and more on one machine.
Open-source alternative to:Cloudflare Workers
- Stars
- 1,977
- Forks
- 77
- Open issues
- 18
- Last commit
- 6 hours ago
What is it?
open-compute runs the Cloudflare Workers programming model on a machine you control. It bundles the workerd runtime, a control plane, a scheduler and the product bindings into one `ocd` executable, so you copy it to a host, point it at a data directory and serve traffic. SQLite holds platform metadata and local storage holds object bytes by default; S3-compatible storage is optional.
The project targets standard module workers (`export default { fetch }`) and covers bindings such as KV, R2, D1, Durable Objects, Queues, Cron, Workflows, Cache, Vectorize and AI Search. It exposes a Cloudflare v4 compatible API at `/client/v4`, so the cf CLI and the official SDK can deploy to it, and includes an operator Dashboard. Deployments are immutable and content-addressed, and each instance has its own authority and data directories.
It is a single-node system rather than a multi-region edge network, and some Cloudflare products such as Hyperdrive, Analytics Engine and Workers for Platforms are not yet available. Compatibility is tracked per module, with listed differences from Cloudflare.
Key features
- 01Runs standard module Workers with KV, R2, D1, Durable Objects, Queues and Workflows bindings.
- 02Ships as a single Rust binary that includes the runtime, control plane and scheduler.
- 03Stores platform metadata in SQLite, with local or S3-compatible object storage.
- 04Provides a Cloudflare v4 compatible API so the cf CLI and official SDK can deploy to it.
- 05Includes an operator Dashboard and per-instance data directories.
- 06Supports native extensions exposed to Workers as Service Bindings.
Use cases
- Hosting Cloudflare Workers-style apps on your own server without relying on Cloudflare's network.
- Developing and testing Workers locally against a compatible runtime.
- Running edge-style functions with local data control in an on-premises environment.
Quick start
- 1
Install the release binary for your user
curl -fsSL https://open-compute.dev/install.sh | sh - 2
Create the default user-owned instance and start its service
ocd setup --yes - 3
Check that the instance is running
ocd status - 4
Open the Dashboard
ocd dashboard
Things to know
- open-compute is still at an early stage, so behavior may differ from Cloudflare.
- It supports only macOS and Linux.
- Several bindings are partial or not yet available, such as Workers AI (20%) and Containers (planning).
Topics
FAQ
- What is open-compute?
- A self-hosted, Cloudflare Workers-compatible platform packaged as a single Rust binary for running Workers, KV, D1, R2 and more on one machine. open-compute runs the Cloudflare Workers programming model on a machine you control. It bundles the workerd runtime, a control plane, a scheduler and the product bindings into one `ocd` executable, so you copy it to a host, point it at a data directory and serve traffic. SQLite holds platform metadata and local storage holds object bytes by default; S3-compatible storage is optional.
- Is open-compute free to use? What license does it have?
- open-compute is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is open-compute still maintained?
- Actively maintained. The last commit to open-compute was on Oct 20, 2026.
- What can I use open-compute for?
- Hosting Cloudflare Workers-style apps on your own server without relying on Cloudflare's network. Developing and testing Workers locally against a compatible runtime. Running edge-style functions with local data control in an on-premises environment.
- How do I install open-compute?
- Install the release binary for your user: curl -fsSL https://open-compute.dev/install.sh | sh Create the default user-owned instance and start its service: ocd setup --yes Check that the instance is running: ocd status Open the Dashboard: ocd dashboard
- Where can I get open-compute?
- The source code and installation instructions are on GitHub: https://github.com/elliothux/open-compute
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted team chat running on Cloudflare Workers, with realtime messaging, a two-way Telegram bridge, and server-side encrypted messages and files.
Self-hosted cloud storage server where files and notes are encrypted in the browser before they reach the server.
A git server where each repository is a Durable Object, running on Cloudflare Workers or self-hosted on celld.
A self-hosted, web-based take on the One Sec app: a ten-second breathing page before distracting apps open, plus a daily goals page, running on Cloudflare's free tier.
A bookmark manager built on Cloudflare Workers and D1 that saves links via a bookmarklet or Chrome extension, with no account required.