Awesome
<div align="center"> <a href="https://wasmer.io" target="_blank"> <picture> <source srcset="https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/logo-white.png" media="(prefers-color-scheme: dark)"> <img width="300" src="https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/logo.png" alt="Wasmer logo"> </picture> </a> <p> <a href="https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild"> <img src="https://github.com/wasmerio/wasmer/actions/workflows/build.yml/badge.svg?event=push" alt="Build Status"> </a> <a href="https://github.com/wasmerio/wasmer/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/wasmerio/wasmer.svg" alt="License"> </a> <a href="https://docs.wasmer.io"> <img src="https://img.shields.io/static/v1?label=Docs&message=docs.wasmer.io&color=blue" alt="Wasmer Docs"> </a> <a href="https://discord.gg/rWkMNStrEW"> <img src="https://img.shields.io/discord/1110300506942881873" alt="Wasmer on Discord"> </a> </p> </div> <br />Wasmer is a blazing fast and secure WebAssembly runtime that enables incredibly lightweight containers to run anywhere: from Desktop to the Cloud, Edge and your browser.
- Secure by default. No file, network, or environment access, unless explicitly enabled.
- Pluggable. supports WASIX, WASI and Emscripten out of the box.
- Incredibly Fast. Run WebAssembly at near-native speeds.
- Embeddable anywhere via Wasmer SDKs
Install Wasmer
curl https://get.wasmer.io -sSfL | sh
<details>
<summary>Other installation options (Powershell, Brew, Cargo, ...)</summary>
Wasmer can be installed from various package managers. Choose the one that fits best for your environment:
- Powershell (Windows)
iwr https://win.wasmer.io -useb | iex
-
<a href="https://formulae.brew.sh/formula/wasmer">Homebrew</a> (macOS, Linux)
brew install wasmer
-
<a href="https://github.com/ScoopInstaller/Main/blob/master/bucket/wasmer.json">Scoop</a> (Windows)
scoop install wasmer
-
<a href="https://chocolatey.org/packages/wasmer">Chocolatey</a> (Windows)
choco install wasmer
-
<a href="https://crates.io/crates/cargo-binstall/">Cargo binstall</a>
cargo binstall wasmer-cli
-
<a href="https://crates.io/crates/wasmer-cli/">Cargo</a>
Note: All the available features are described in the
wasmer-cli
crate docscargo install wasmer-cli
</details>Looking for more installation options? See the
wasmer-install
repository to learn more!
Note: You can also try Wasmer online in wasmer.sh
Quickstart
You can start by running Cowsay:
$ wasmer run cowsay "hello world"
_____________
< hello world >
-------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
There are many more available packages, such as
wasmer/python
orquickjs
. Create your own package, or explore packages from the community: https://wasmer.io/explore
Here is what you can do next:
Wasmer SDK
You can use the Wasmer runtime embedded in different languages with the Wasmer SDK:
Language | Package | Documentation | |
---|---|---|---|
Rust | wasmer Rust crate | Learn | |
C | wasm.h header | Learn | |
C++ | wasm.hh header | Learn | |
C# | WasmerSharp NuGet package | Learn | |
D | wasmer Dub package | Learn | |
Zig | wasmer Zig package | Learn | |
Python | wasmer PyPI package | Learn | |
Javascript | @wasmerio NPM packages | Learn | |
Go | wasmer Go package | Learn | |
PHP | wasm PECL package | Learn | |
Ruby | wasmer Ruby Gem | Learn | |
Java | wasmer/wasmer-jni Bintray package | Learn | |
R | no published package | Learn | |
Postgres | no published package | Learn | |
Swift | no published package | ||
Dart | wasm pub package | ||
Crystal | no published package | Learn | |
Lisp | no published package | ||
Julia | no published package | ||
V | no published package | ||
OCaml | wasmer OCaml package |
Develop
We have different guides to help you develop Wasmer:
Contribute
We appreciate your help! 💜
We recommend reading the following guide on how to contribute into a complex project successfully: https://mitchellh.com/writing/contributing-to-complex-projects
Check our docs on how to build Wasmer from source or test your changes.
<!-- ## Bounties For some issues we offer paid bounties. You'll get paid automatically as soon as your PR solving the issue is merged! <a href="https://console.algora.io/org/wasmerio/bounties?status=open"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://console.algora.io/api/og/wasmerio/bounties.png?p=0&status=open&theme=dark"> <img alt="Bounties of wasmerio" src="https://console.algora.io/api/og/wasmerio/bounties.png?p=0&status=open&theme=light"> </picture> </a> -->Community
Wasmer has an amazing community of developers and contributors. Welcome, please join us! 👋
README also in: 🇨🇳 ä¸ æ–‡ -Chinese • 🇩🇪 Deutsch-German • 🇪🇸 Español-Spanish • 🇫🇷 Français-French • 🇯🇵 日本 語 -Japanese • 🇰🇷 í•œêµì–´ -Korean.