Skip to content

Workers for Platforms Example

Maintained
cloudflare/workers-for-platforms-example

A minimal Workers for Platforms example from Cloudflare: users upload their own Workers through a web UI and a dispatch Worker routes requests to them.

View on GitHub
Stars
464
Forks
230
Watchers
464
Open issues
28

Overview

This is a minimal Workers for Platforms project that demonstrates dynamic dispatch. Users create and upload custom Workers through a simple web interface, then reach them via friendly URLs.

What Workers for Platforms is

Workers for Platforms lets your customers build services and customizations powered by Workers, while you keep full control over how their code runs and is billed. Dynamic dispatch namespaces make it possible: a regular fetch handler with a dispatch_namespaces binding becomes a “dispatch Worker” that looks up and calls the right user Worker.

Why use it

  • Create boilerplate functions for your users
  • Handle routing to “user Workers” and sanitize their responses
  • Manage thousands of Workers for your customers from one platform

Similar open-source projects, ranked by shared categories and tags.

All Web Framework projects →