land-server

Crates.ioland-server
lib.rsland-server
version0.0.4
sourcesrc
created_at2023-06-22 14:20:51.576531
updated_at2023-06-22 14:20:51.576531
descriptionA tiny serverless platform for WebAssembly
homepagehttps://runtime.land
repositoryhttps://github.com/fuxiaohei/runtime.land
max_upload_size
id897445
size2,729,150
FuXiaoHei (fuxiaohei)

documentation

https://runtime.land

README

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!

Commit count: 76

cargo fmt