Spin is a framework for building, deploying, and running fast, secure, and composable cloud microservices with WebAssembly.
This is an early preview of the Spin project. It is still experimental code, and you should expect breaking changes before the first stable release.
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.
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/<version>/spin-<version>-<os-arch>.tar.gz
$ tar xfv spin-<version>-<os-arch>.tar.gz
$ ./spin --help
Alternatively, you could build Spin from source.
After you follow the quickstart document, you can follow the Rust or Go language guides, and the guide on configuring Spin applications.
After you build your application, run it using Spin:
$ spin up
We are delighted that you are interested in making Spin better! Thank you! Please follow the contributing guide.
Join the Spin monthly developer meetings. More info here.