Skip to content
Projects

static-web-server/static-web-server has 2,398 GitHub stars and 139 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-06 21:53 UTC. Last push 2026-11-01.

How these counts are measured

A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡

What you can do

  • Built with Rust, memory-safe, fast, and concurrent with low CPU and RAM overhead.
  • Single ~4 MB static binary with zero runtime dependencies (Musl libc). Runs on any Linux distro or Docker container.
  • Fast, asynchronous static file-serving built on Hyper and Tokio.
  • On-the-fly compression (Gzip, Deflate, Brotli, Zstandard) for text-based files via Accept-Encoding.

Measured star growth

in 24h
+1
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Static Web Server

A cross-platform, high-performance and asynchronous web server for static file-serving ⚡

Overview

[!NOTE] This is the upcoming v3, currently in development. For production use, see v2 (LTS).

Static Web Server (SWS) is a small, fast, production-ready web server for static file-serving that prioritizes simplicity and ease of use while delivering high performance and safety, powered by Rust. Built on Hyper and Tokio to deliver efficient and performant asynchronous I/O and HTTP/1-2 support with a low resource footprint.

SWS is available for a variety of platforms like Linux, macOS, Windows, FreeBSD, NetBSD, Android and Docker.

static-web-server running

Features

Documentation

Please refer to The Documentation Website for more details about the API, usage and examples.

Releases

Contributions

Unless you explicitly state otherwise, any contribution you intentionally submitted for inclusion in current work, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.

Feel free to submit a pull request or file an issue.

Community

SWS Community on Discord

License

This work is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

© 2019-present Jose Quintana

Explore related projects