Worker Cloud is an open-source platform that provides a set of APIs and tools for building and deploying web and mobile applications. It aims to make it easier for developers to create and manage the backend infrastructure for their applications, such as databases, user management, storage, and more.
Worker Cloud includes a range of features, including:
- A set of APIs for building web and mobile applications
- A user management system for authentication and authorization
- A database for storing and querying data
- A file storage system for storing and serving files
- A serverless function platform for running custom logic
- A hosting platform for deploying and hosting applications
Worker Code is built on top of modern technologies such as Docker, Kubernetes, and WebAssembly (WASM) and can be run on-premises or in the cloud. It is designed to be easy to use and to allow developers to focus on building their applications rather than worrying about the underlying infrastructure.
Once initialized with a WebAssembly intepreter and a wasm binary, the runtime and library can start executing functions in the wasm guest. The host and guest operate over the waPC communication protocol to satisfy bindings for compiled languages. This protocol takes an operation name and input data, serializes it, and calls the receiving waPC method in the wasm guest.
If you have rust (cargo) installed, you can build and install the wkr runtime with:
cargo install wkr-runtime
We also provide pre-built binaries for Windows, Linux and macOS on the
[releases page][5], that you can include in your PATH
.
And as always, you can also clone this repository and build it locally. The only dependency is [a rust compiler][7]:
# Clone the repository
git clone https://github.com/wkr-solutions/wkr.git
# Jump into the cloned folder
cd wkr
# Build and install wkr
cargo install --path .
After installation, you can use the wkr
binary to run WASM modules.
To learn how to build modules, check out language-specific bindings:
We develop wkr in the open. We're Apache licensed and designed to run easily in local dev. You can deploy our core software to production, but it takes a little elbow grease and a fair amount of infrastructure. If you want to give this a try, let us know and we can help (and we would love related pull requests!).
Our commercial offering is built on top of this library, with additional code for managing certificates, distributed caching, and multi-tenant isolation. Over time we expect to extract many of these features, document them, and include them in our open source releases.