Serves static files in response to HTTP GET and HEAD requests.
wapm install wasmer/static-web-server
Need help using WAPM?Get started here
Static Web Server (or
SWS abbreviated) is a very small and fast production-ready web server suitable to serve static web files or assets.
It is focused on lightness and easy to use principles but keeping high performance and safety powered by The Rust Programming Language.
Written on top of Hyper and Tokio runtime. It provides concurrent and asynchronous networking abilities as well as the latest HTTP/1 - HTTP/2 implementations.
It's cross-platform and available for
ARM64) as well as
For more details about the API, usage and examples please have a look at The Documentation Website.
v1please go to 1.x branch.
v2please take a look at Migrating from
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in current work by you, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.
Feel free to send some Pull request or file an issue.
This work is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
© 2019-present Jose Quintana
Run it in the browser