Self-host self-workerd
0.0.1Self-hosted FaaS platform using Cloudflare workerd runtime
- Stars
- 141
- Ports
- 3000 (Publisher API server), 8080 (Worker HTTP listener (configured in workerd config.capnp))
- Requires
- Node.js
What is self-workerd?
self-workerd is a proof-of-concept Function as a Service platform you can run on your own infrastructure. It uses workerd, the V8-based JavaScript runtime behind Cloudflare Workers, to execute functions in isolated environments. The system has two components: a Publisher (Node.js API server) that receives, validates, and stores function definitions, and Workers that fetch the configuration and run workerd to execute functions. Functions are JavaScript ESModules with a fetch handler. Requests are routed by URL path. You can run it locally with pnpm or deploy via Docker on any container platform. The guide covers Fly.io deployment with auto-scaling. Licensed MIT, version 0.0.1.
Should you self-host self-workerd?
self-workerd scores 36/100 on selfhost.directory (how scoring works) and ranks #6 of 7 in Serverless. It has 141 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is faas (68/100, 26 253 stars). It scores higher overall, so compare the two before you pick. See self-workerd vs faas side by side.
Features
- Auto-scaling supportRequires Fly.io or compatible platform
- Container-based deployment
- Dynamic configuration generation
- Function publishing API
- Isolated function execution
- Path-based Routing
- Persistent function storage
self-workerd README
More in Serverless
trusted-cgiSelf-hosted serverless functions engine via CGI. Single binary, no deps, with scheduling, queues, and token security for hobby projects.
vorkerVorker is a self-hosted serverless platform for running Cloudflare Worker-compatible functions on your own infrastructure using workerd with a web UI.
beamA self-hostable, open-source platform for running serverless AI workloads with GPU inference, code sandboxes, and background task queues.
faasOpenFaaS CE is a self-hosted serverless platform that packages your code as OCI images and runs them as auto-scaling functions on Kubernetes, with a CLI and REST API.
FaastaSelf-hosted FaaS for Rust WASIp3 components in Wasmtime with swappable SQL, KV, and blob storage backends.
open-computeSelf-hosted platform running Cloudflare Workers apps on your hardware via a single Rust binary with 99% API compatibility.
openwhiskSelf-hosted, open-source serverless FaaS platform: Actions run on events via Triggers, with sequences, a package catalog and the wsk CLI. Installs on Kubernetes via Helm.
0 comments