cloudflare/workerd

The JavaScript / Wasm runtime that powers Cloudflare Workers

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 20 minutes ago
Added to GitGenius on February 28th, 2026
Created on September 15th, 2022
Open Issues & Pull Requests: 684 (-1)
Number of forks: 721
Total Stargazers: 8,648 (+0)
Total Subscribers: 69 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.2 hours
Mean response time: 61.8 days
90th percentile: 210.4 days
Tracked items: 588

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 84% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "spec-compliance" is answered fastest, typically in about 3 hours, while "bug" waits about 3 days. 60% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 402
New in 7 days: 4
Closed in 7 days: 3
Avg open age: 344 days
Stale 30+ days: 369
Stale 90+ days: 321

Recent activity

Opened in 7 days: 4
Closed in 7 days: 3
Comments in 7 days: 6
Events in 7 days: 15

Top labels

  • bug (94)
  • types (77)
  • feature request (60)
  • wpt-conformance (58)
  • nodejs compat (30)
  • api (20)
  • spec-compliance (18)
  • Durable Objects (8)

Detailed Description

Workerd is Cloudflare's open-source JavaScript and WebAssembly runtime that powers Cloudflare Workers, written in C++ and built on the V8 engine. The project serves three primary use cases: as an application server for self-hosting code designed for Cloudflare Workers, as a local development tool for testing such code, and as a programmable HTTP proxy capable of intercepting, modifying, and routing network requests in both forward and reverse configurations.

The runtime is built around several core design principles that distinguish it from other serverless platforms. It prioritizes server-first architecture rather than CLI or GUI interfaces, relies on web platform standards like the fetch API for built-in functionality, and introduces the concept of nanoservices that function as decoupled, independently-deployable components while maintaining the performance characteristics of local function calls. The homogeneous deployment model allows all nanoservices to run on every machine in a cluster, simplifying load balancing. Workerd uses capability-based bindings for configuration rather than global namespaces, making code more composable and resistant to SSRF attacks. A notable feature is its commitment to backwards compatibility through compatibility dates, allowing developers to pin their workers to past API versions and ensuring that upgrading workerd will never break existing JavaScript code.

The repository shows active development and maintenance patterns.

Building workerd requires Bazel as the build system, with support for Linux, macOS, and Windows platforms. On Linux, the project requires clang 19 or higher with libc++ and LLD. macOS builds need Xcode 16.3, while Windows builds require App Installer and LLVM. The project provides prebuilt binaries distributed through npm, accessible via npx workerd, with system requirements including glibc 2.35 or higher on Linux and macOS 13.5 or higher on macOS.

Configuration uses Cap'n Proto text format, allowing developers to define workers, services, and HTTP bindings declaratively. The project includes comprehensive documentation through inline comments in workerd.capnp and a library of sample configuration files. Integration with Wrangler, Cloudflare's official CLI tool, enables local development workflows where developers can run wrangler dev to test workers locally using workerd.

The documentation explicitly warns that workerd is not a hardened sandbox on its own and should not be used to run untrusted code without additional isolation mechanisms like virtual machines. Cloudflare's hosted Workers service employs multiple layers of defense-in-depth beyond what workerd provides. The project maintains a bug bounty program through HackerOne for security researchers to report vulnerabilities.