# self-workerd

> self-workerd is an open-source, self-hosted FaaS platform on Cloudflare's workerd runtime with a publisher API and isolated worker instances, deployable via Docker.

- **Category:** Serverless
- **Licence:** MIT
- **Latest version:** 0.0.1
- **Open source:** oss
- **Languages:** Typescript, Dockerfile
- **Platforms:** Docker
- **Tags:** Serverless, Edge Computing, Javascript, Typescript, Docker, Self Hosted, Faas, Cloudflare Workers, Workers, Functions, Lambda, Workerd, Edge Functions, Worker, Fly Io, Function As A Service

## Description

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.

## Links

- [Homepage](https://github.com/giuseppelt/self-workerd)
- [Tutorial Blog Post](https://www.breakp.dev/blog/build-your-own-faas)
- [GitHub Repository](https://github.com/giuseppelt/self-workerd)

---
Source: https://selfhost.directory/project/self-workerd