2 min read
|
Saved February 14, 2026
|
Copied!
Do you care about this?
OpenWorkers is an open-source runtime that allows you to run JavaScript using Cloudflare Workers' programming model on your own servers. It supports various features like KV storage, PostgreSQL, and S3-compatible storage, all while using V8 isolates for sandboxing. The setup is straightforward, requiring only a PostgreSQL database and a Docker Compose file.
If you do, here's more
OpenWorkers is an open-source runtime that lets you run JavaScript in V8 isolates, similar to Cloudflare Workers, but on your own infrastructure. It supports a variety of features, including key-value storage, PostgreSQL databases, and S3/R2-compatible storage. The architecture is straightforward, relying on an nginx proxy to manage traffic to various components, including a dashboard, API, logs, and multiple runners. Each worker has CPU and memory limits, ensuring resource management.
Deployment is user-friendly, requiring just a PostgreSQL database and a Docker Compose file. The setup process involves cloning the repository, configuring environment variables, and running a couple of commands to get everything up and running. The author has been refining this project for about seven years, initially experimenting with other technologies before landing on rusty_v8 to enhance performance and compatibility. The ultimate aim is to provide a seamless development experience without vendor lock-in.
Future updates will include features like execution recording and replay, aimed at improving debugging capabilities. Overall, OpenWorkers offers a compelling alternative for developers looking to leverage Cloudflare Workers' programming model while maintaining control over their infrastructure.
Questions about this article
No questions yet.