[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112676":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},112676,"open-orange","rivet-dev\u002Fopen-orange","rivet-dev","Run Cloudflare Workers and Durable Objects unchanged on AWS, GCP, Azure or your own servers.","https:\u002F\u002Fopenorange.dev",null,"TypeScript",798,35,186,5,0,94,340,24,88.47,"Apache License 2.0",false,"main",[25,26,27,28,29,30,31,32,33,34],"cloudflare","cloudflare-workers","durable-objects","nodejs","rivet","self-hosted","serverless","sqlite","typescript","wrangler","2026-11-23 14:56:51","2026-11-23 20:43:47","\u003Ch1 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fopenorange.dev\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fimages\u002Freadme-logo-dark.svg\">\n      \u003Cimg src=\"docs\u002Fimages\u002Freadme-logo.svg\" width=\"350\" height=\"72\" alt=\"OpenOrange\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cstrong>Run Cloudflare Workers anywhere: AWS, Google Cloud, Azure, or your own servers.\u003C\u002Fstrong>\u003C\u002Fp>\n\n\u003Cp align=\"center\">The same developer experience, without the runtime limits, for a fraction of the bill.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fopenorange.dev\u002Fdocs\u002F\">Docs\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fdeploy\u002F\">Deploy\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fmigrate\u002F\">Migrate\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002F\">Bindings\u003C\u002Fa> ·\n  \u003Ca href=\"examples\u002F\">Examples\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Frivet.dev\u002Fdiscord\">Discord\u003C\u002Fa>\n\u003C\u002Fp>\n\n## What is OpenOrange\n\nOpenOrange runs your existing Cloudflare Workers project on AWS, Google Cloud, Azure or your own servers, with no changes to your code. It's built with four goals:\n\n- **Zero refactoring, zero-downtime migration**: your Workers and Durable Objects run as they are, and your data moves off Cloudflare while your app keeps serving.\n- **The same developer experience**: `wrangler dev` becomes `orange dev`, and everything underneath is open source and self-hostable.\n- **Simpler bills**: you pay for the machines you run on, not Cloudflare's metering or an enterprise contract. Compute is 4.8× cheaper and storage 8.7× cheaper.\n- **Built for scale**: storage is backed by S3, so scaling out is a matter of adding machines.\n\n## Quickstart\n\nYou need a Worker project with a `wrangler.jsonc`, `wrangler.json`, or `wrangler.toml` (or use [`examples\u002Fhello-durable-object`](examples\u002Fhello-durable-object)), Node.js 22 or later, and pnpm. Deploying also needs Docker.\n\n### Use a coding agent\n\nPaste this into your coding agent (Claude Code, Codex, Cursor, …) from your Worker project:\n\n```text\nFirst, add the Rivet MCP (https:\u002F\u002Fmcp.rivet.dev\u002Fmcp) to this agent, and ask me to approve the Rivet sign-in. Then run this project's Cloudflare Worker on Rivet with OpenOrange: ask me where it should run (on my machine, on a Rivet cluster, or on my own Rivet Engine), read https:\u002F\u002Fgithub.com\u002Frivet-dev\u002Fopen-orange\u002Fblob\u002Fmain\u002FREADME.md and follow its quickstart. Do not change my app code.\n```\n\n### Step 1: Install\n\nInstall the `orange` CLI globally, then run it in your Worker project. Your code and your Wrangler configuration do not change.\n\n```sh\npnpm add -g open-orange\n```\n\n### Step 2: Run your Worker\n\nYour Worker answers on `http:\u002F\u002Flocalhost:8787`. Each Durable Object runs as a Rivet Actor with its own SQLite database, kept in `.open-orange\u002F`.\n\n```sh\n$ orange dev\n  Binding       Resource         Runs on\n  env.COUNTER   Durable Object   Rivet Actor · Counter\n\n● Ready in 4.6s\n  Local         http:\u002F\u002F127.0.0.1:8787\n```\n\n### Step 3: Deploy\n\n`orange deploy` builds an image of your Worker and rolls it out to a Rivet cluster, then prints its public URL.\n\n```sh\n$ orange login\n$ orange link --cluster \u003Ccluster-name>\n$ orange deploy\n✓ Deployed my-worker\n  URL     https:\u002F\u002Fapi.example.com\n```\n\nSee the [deploy guide](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fdeploy\u002F), or [self-host it](#self-host).\n\n## Migrate your data without downtime\n\n`orange migrate` moves your Durable Objects off Cloudflare with zero downtime.\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Freleases.rivet.dev\u002Fopenorange\u002Fmigrate.mp4\">\u003Cimg src=\"https:\u002F\u002Freleases.rivet.dev\u002Fopenorange\u002Fmigrate.gif\" width=\"480\" alt=\"The cutover: all traffic moves from Cloudflare to OpenOrange while each Durable Object copies itself\">\u003C\u002Fa>\n\u003C\u002Fp>\n\nSee the [migration guide](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fmigrate\u002F) for every step, rollback, and what cannot move.\n\n## Run it where you want\n\nNext to your database, in the cloud and region you choose.\n\n- **Rivet Cloud**, fully managed: a dedicated cluster on AWS or Google Cloud, in the region you choose. Operated by Rivet.\n- **BYOC**, your cloud and our ops: your AWS, Google Cloud or Azure account. Operated by Rivet over an outbound connection.\n- **Self-hosted**, open source under Apache 2.0: any cloud, Hetzner, on-prem or air-gapped. Operated by you.\n\n### Self-host\n\n1. **Build the Docker image.** `orange deploy --dry-run` writes the build and calls no API. Push the image to a registry your servers can pull from.\n\n   ```sh\n   orange deploy --dry-run --outdir out\n   docker build --platform linux\u002Famd64 -f out\u002FDockerfile -t my-worker out\u002Fcontext\n   ```\n\n2. **Run the Rivet control plane.** Follow Rivet's guide for your platform: [Kubernetes](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Fkubernetes\u002F), [AWS ECS](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Faws-ecs\u002F), [Docker Compose](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Fdocker-compose\u002F), [Hetzner](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Fhetzner\u002F), [Railway](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Frailway\u002F), [Render](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Frender\u002F), [a VM](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fcontrol-plane\u002Fvm\u002F).\n3. **Run your image as worker nodes.** Point each container at the control plane with `RIVET_ENDPOINT`, following Rivet's guide for your platform: [Kubernetes](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Fkubernetes\u002F), [AWS ECS](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Faws-ecs\u002F), [Docker Compose](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Fdocker-compose\u002F), [Hetzner](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Fhetzner\u002F), [Railway](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Frailway\u002F), [Render](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Frender\u002F), [a VM](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fdeploy\u002Fself-host\u002Fnodes\u002Fvm\u002F).\n\nSee [self-hosting](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fdeploy\u002F#self-host) in the deploy guide.\n\n## How pricing compares\n\nCloudflare's meters, priced on raw AWS: Graviton EC2 in us-east-1 with 40% headroom, and S3 in your account. See [the cost model](https:\u002F\u002Fopenorange.dev\u002F#cost).\n\n| | Cloudflare | OpenOrange | |\n|---|---|---|---|\n| Durable Object compute | $0.045 per GB-hour | $0.0094 per GB-hour | 4.8× cheaper |\n| Durable Object storage | $0.20 per GB-month | $0.023 per GB-month | 8.7× cheaper |\n| SQLite writes | $1.00 per million rows | about $0.18 per million | 5.7× cheaper |\n\n## No runtime limits\n\n128 MB is all the memory a Cloudflare Worker gets. OpenOrange runs your Workers and Durable Objects on machines you choose, so the limits are your hardware's.\n\n| Limit | Cloudflare Workers Paid | OpenOrange |\n|---|---|---|\n| Memory per Worker or Durable Object | 128 MB | Up to your machine's memory. The Node.js heap is up to about 4 GB by default, and configurable. |\n| CPU time per request | 30 s default, 5 min max | No cap |\n| Cron, queue and alarm handlers | 15 min wall time | No cap |\n| Open connections per request | 6 at once | OS limits |\n| Storage per Durable Object | 10 GB | No cap |\n| Worker bundle | 64 MiB | No cap |\n| Node.js | `nodejs_compat` subset | Stock Node.js |\n\n## Architecture\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fimages\u002Farchitecture-dark.png\">\n    \u003Cimg src=\"docs\u002Fimages\u002Farchitecture.png\" width=\"760\" alt=\"Your Docker containers, in any cloud, connect out to the Rivet control plane, which keeps state in S3\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n- **Your containers** run your Workers and Durable Objects, in any cloud or on your own servers.\n- **Rivet** places each Durable Object on a container and routes requests to it.\n- **S3** stores each object's SQLite data.\n\nSee [Architecture](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Farchitecture\u002F).\n\n## Supported bindings\n\n| Cloudflare binding | Status | Runs on |\n|---|---|---|\n| [Durable Objects](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fdurable-objects\u002F) | Partial | One Rivet Actor for each object, with its own SQLite database |\n| [KV](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fkv\u002F), [D1](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fd1\u002F), [Rate Limiting](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Frate-limiting\u002F) | Drop-in | Rivet Actors |\n| [Cache](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fcache\u002F) | Partial | One Rivet Actor for each cache name |\n| [Queues](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fqueues\u002F) | Drop-in | One Rivet Actor for each queue |\n| [Workflows](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fworkflows\u002F) | Partial | Cloudflare's own Workflows engine, with one Rivet Actor for each instance |\n| [Cron Triggers](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fcron-triggers\u002F) | Drop-in | A Rivet Actor |\n| [Tail Workers](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Ftail-workers\u002F) | Partial | Rivet Durable Streams |\n| [R2](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fr2\u002F) | Pluggable | A Rivet Actor, or Amazon S3, Google Cloud Storage, Cloudflare R2 or MinIO |\n| [Worker Loader](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fworker-loader\u002F) | Partial | A separate process in an agentOS VM |\n| [Workers AI](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fworkers-ai\u002F) | Pluggable | OpenRouter, OpenAI, or any OpenAI-compatible endpoint |\n| [Send Email](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Femail\u002F) | Pluggable | Amazon SES, or any SMTP server |\n| [Browser Rendering](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fbrowser-rendering\u002F) | Pluggable | Browserbase, or any Chrome DevTools endpoint |\n| [Hyperdrive](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fhyperdrive\u002F) | Drop-in | Your Postgres or MySQL database, with a direct connection |\n| [Sandbox](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fsandbox\u002F) | Pluggable | E2B, Daytona, Freestyle, agentOS, or a local directory |\n| Analytics Engine | Not supported | `writeDataPoint()` drops each data point |\n| Vectorize, Images, Media, Stream, Pipelines, AI Search, mTLS certificates, VPC, and legacy blobs | Not supported | Calls throw |\n\n**Drop-in** runs as on Cloudflare. **Pluggable** runs on a provider you configure. **Partial** runs with known differences, listed on each binding's page. See [binding configuration](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002Fconfiguration\u002F) for every Wrangler key and the variables each provider needs, and [Compatibility](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fcompatibility\u002F) for the test results.\n\n## Questions\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Wait, wasn't Cloudflare supposed to be cheaper?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nFor small, spiky Workers, it often is: the free tier and per-request pricing are hard to beat. The meters add up once Durable Objects stay busy. The same GB-hours on Graviton EC2 cost about a fifth as much, and writes cost a fraction of that.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Is OpenOrange a fork of Cloudflare?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nNo. OpenOrange implements the Workers API on Node.js and maps each Cloudflare service onto Rivet. It uses Wrangler to read your configuration, and it reuses some MIT-licensed Cloudflare code, such as the Workflows engine. It does not run workerd.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Why not just run workerd directly?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nworkerd is Cloudflare's runtime, not its platform. KV, D1, R2, Queues, Workflows and the Cache API are bindings that call services you have to build, and Durable Objects keep their data on one machine with nothing to place, replicate or scale them. See [OpenOrange vs workerd](https:\u002F\u002Fopenorange.dev\u002Fvs-workerd\u002F).\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Do I need to learn Rivet?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nNo. Rivet is the control plane underneath. You use the `orange` CLI and your Wrangler configuration.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>What does it cost?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nOpenOrange is Apache 2.0 and free. Self-host Rivet and your cloud bill is the only bill. Rivet Cloud and BYOC pricing is at [rivet.dev\u002Fpricing](https:\u002F\u002Frivet.dev\u002Fpricing).\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>What happens to the data already in KV, Durable Objects and R2?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n`orange migrate` moves Durable Objects while your app serves, with no downtime. D1 databases are interrupted for a few minutes while they copy. R2 is S3-compatible, so `rclone` or `aws s3 sync` moves buckets.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Does it run at the edge?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nIt runs wherever you deploy it, in as many regions as you want. Most backends talk to one database, and running next to it is faster than running at the edge.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Who maintains OpenOrange?\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n[Rivet](https:\u002F\u002Frivet.dev). OpenOrange is not affiliated with or endorsed by Cloudflare, Inc.\n\n\u003C\u002Fdetails>\n\n## Compare\n\n- [OpenOrange vs Cloudflare Durable Objects](https:\u002F\u002Fopenorange.dev\u002Fvs-durable-objects\u002F): limits, latency, residency, and moving off.\n- [OpenOrange vs workerd](https:\u002F\u002Fopenorange.dev\u002Fvs-workerd\u002F): a runtime for one Worker, versus your whole app in production.\n- [OpenOrange vs celld](https:\u002F\u002Fopenorange.dev\u002Fvs-celld\u002F): runtime limits, live migration, integrations, and support.\n- [OpenOrange vs Rivet](https:\u002F\u002Fopenorange.dev\u002Fvs-rivet\u002F): when to use Rivet directly, and how to combine them.\n- [OpenOrange vs Miniflare](https:\u002F\u002Fopenorange.dev\u002Fvs-miniflare\u002F): a local simulator, versus production.\n\n## Resources\n\n- [Deploy guide](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fdeploy\u002F): Rivet Cloud, self-hosting, variables, secrets, and rollback.\n- [Migration guide](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fmigrate\u002F): how to cut over, how to roll back, and what cannot move.\n- [Bindings](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Fbindings\u002F): one page for each binding and runtime API, with its known differences.\n- [Architecture](https:\u002F\u002Fopenorange.dev\u002Fdocs\u002Farchitecture\u002F): how OpenOrange runs your Worker on Rivet.\n- [Examples](examples\u002F): Workers that you can copy, with no OpenOrange imports.\n- [Real projects](packages\u002Fcloudflare-conformance\u002Freal-projects): open-source Workers run through `orange dev`, with what works and what does not.\n- [Discord](https:\u002F\u002Frivet.dev\u002Fdiscord): questions and support.\n\n## License\n\n[Apache-2.0](LICENSE)\n","OpenOrange 是一个开源运行时兼容层，允许未经修改的 Cloudflare Workers 和 Durable Objects 在 AWS、GCP、Azure 或私有服务器上原样运行。其核心功能包括零代码改造迁移、完整 Wrangler 工具链兼容（如 orange dev \u002F orange deploy）、基于 SQLite 的本地 Durable Object 实例化，以及通过 S3 后端支持横向扩展。技术上采用 TypeScript 编写，依赖 Docker 部署，内置 Rivet Actor 运行时与自托管绑定机制。适用于希望摆脱 Cloudflare 运行时限制与计费模型、需自主可控部署环境的 Serverless 应用迁移场景。",2,"2026-11-24 04:43:48","CREATED_QUERY"]