Building blocks for the world of tomorrow
funcd is a lightweight, modular serverless platform in a single binary for Linux. Its Functions, agents and workflows fit together into the systems of tomorrow, from data-driven video generation to the edge that supervises a farm.
curl -fsSL https://funcd.dev/install.sh | shfuncdctl for macOS and Linux · funcd for Linux
Data in, videos out.
Worlds to build
From data-driven video to the edge of a field
The same few blocks assemble into very different worlds. Here are four of them.
The blocks
A few blocks that fit together
Each block does one job. funcd deploys, runs, exposes and monitors all of them from one binary.
Functions
Code in TypeScript or Python, called over HTTP, by an event or on a timer.
Agents
Event-driven code that runs in bursts and keeps its state in platform services.
Workflows
Steps that each run a Function, in order or by their dependencies.
Data services
KV tables, Buckets, SQL databases and Lakes, bound to a Function by name.
Apps
A whole app in one resource, rolled out and rolled back through its revisions.
Sites
A static web app, served from its own Bucket and Route.
One binary
The same platform, from a laptop to the field
One funcd binary holds the API, the controller, the gateway and the runtime that starts the workers. The same manifests run under funcdctl dev on a laptop and on any Linux machine that runs funcd, in a rack or beside the crops.
Laptop
funcdctl dev runs the Functions and an embedded platform on macOS or Linux.
Server
funcd runs on a Linux server as one binary and one systemd unit.
Field
The same binary runs on a small Linux machine at the edge.
- binary for the whole platform
- 1
- binary for the whole platform
- workers while a Function is idle
- 0
- workers while a Function is idle
- languages: TypeScript and Python
- 2
- languages: TypeScript and Python
- open source
- Apache 2.0
- open source
Start building tomorrow
Install funcdctl, then run a first Function on the local machine.
curl -fsSL https://funcd.dev/install.sh | sh