/spin

Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly

Primary LanguageRustApache License 2.0Apache-2.0

Fermyon Spin

Spin is a framework for building, deploying, and running fast, secure, and composable cloud microservices with WebAssembly.

build status Discord

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.

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/<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

Contributing

We are delighted that you are interested in making Spin better! Thank you! Please follow the contributing guide. And join our Discord server.

Developer Meetings

Join the Spin monthly developer meetings, which will be announced in our Discord server.