9869be2045
Signed-off-by: Radu Matei <radu.matei@fermyon.com> |
||
---|---|---|
.cargo | ||
.devcontainer | ||
.github/workflows | ||
.vscode | ||
crates | ||
docs | ||
sdk/rust | ||
src | ||
templates/spin-http | ||
tests | ||
wit/ephemeral | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
Makefile | ||
build.rs | ||
readme.md |
readme.md
Spin
Spin is a framework for building, deploying, and running fast, secure, and composable cloud microservices with WebAssembly.
What is Spin?
Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly. It aims to be the easiest way to get started with WebAssembly microservices, and takes advantage of the latest developments in the WebAssembly component model and Wasmtime runtime.
Spin offers a simple CLI that helps you create, distribute, and execute applications, and in the next sections we will learn more about Spin applications and how to get started.
Getting started
See the quickstart document for a detailed guide on configuring Spin and writing your first Spin application, but in short:
$ wget https://github.com/fermyon/spin/releases/download/canary/spin-canary-<os-arch>.tar.gz
$ tar xfv spin-canary-<os-arch>.tar.gz
$ ./spin --help
After you follow the quickstart document, you can follow the guide on writing HTTP applications with Spin and the guide on configuring Spin applications.
After you built your application, run it using Spin, pointing to the Spin application configuration file:
$ spin up --file spin.toml
Contributing
We are delighted that you are interested in making Spin better! Thank you! Please follow the contributing guide.