#serverless

app land-cli

A tiny serverless platform for WebAssembly

1 unstable release

0.0.4 Jun 22, 2023

#615 in WebAssembly

Apache-2.0

1MB
6K SLoC

Rust 4K SLoC // 0.0% comments JSX 1.5K SLoC // 0.0% comments JavaScript 242 SLoC // 0.0% comments Bitbake 10 SLoC // 0.7% comments Shell 8 SLoC

Runtime.land

runtime.land is a serverless platform for running webassembly (wasm) functions. It supports multiple languages, and is designed to be easy to use, and easy to deploy. It provides:

  • land-cli: a command line interface for deploying and managing functions
  • land-runtime: a runner for executing functions
  • land-server: a server for managing functions

This is an experimental project, and is not ready for production use.

Quick Start

Install

TODO

Develop

TODO

Deploy

TODO

Self Hosting

TODO

Auto Generated Code

use sea-orm to create model:

sea-orm-cli generate entity -u=mysql://root:@localhost/land-serverless -o crates/core/src/model

use protoc to generate grpc-web code:

# install protobuf and grpc-web codegen
brew install protobuf
npm install -g protoc-gen-js protoc-gen-grpc-web
# genrate grpc-web code
protoc -I crates/rpc --js_out=import_style=commonjs:web/src/api --grpc-web_out=import_style=commonjs,mode=grpcweb:web/src/api crates/rpc/proto/land-rpc.proto

Feedback

We'd also love to hear from you. Feel free to open an issue on GitHub with your questions, feedback, or suggestions!

Dependencies

~91MB
~2M SLoC