wasmerio / wasmer
🚀 Fast, secure, lightweight containers based on WebAssembly
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing wasmerio/wasmer in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
PreviewWasmer 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 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-clicrate docscargo install wasmer-cli
</details>Looking for more installation options? See the
wasmer-installrepository to learn more!
Note: You can also try Wasmer online in wasmer.sh
Quickstart
[!Tip]
As part of our commitment to open source, we want to reward all GitHub users. In addition to the free tier, you can get up to $200 in Wasmer Edge credits for your open-source contributions - Claim here.
You can start by running Cowsay:
$ wasmer run cowsay "hello world"
_____________
< hello world >
-------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
There are many more available packages, such as
wasmer/pythonorquickjs. 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 | |
| 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.