static-web-server/static-web-server
A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡ observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 98
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 47
- age_days: 2557
- days_rel: 33
- days_push: 13
- n_releases_24m: 16
Adoption not part of the score
2337 stars · 131 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Static Web Server (SWS) is a cross-platform, high-performance asynchronous web server for serving static files, built in Rust on Hyper and Tokio. It ships as a single ~4MB dependency-free binary with HTTP/1-2, TLS, compression, caching, and security features configurable via CLI flags, environment variables, or TOML.
Use cases
- serve a static website from a folder with zero configuration
- host a single-page app with URL rewrites for SPA routing
- run a lightweight file server in a Docker container
- serve static assets over HTTPS with HTTP/2 and TLS
- password-protect a directory with basic authentication
- serve pre-compressed gzip, brotli, or zstd files
- local development server for static site builds
When to choose
- you need a fast, memory-safe static file server with a tiny footprint and no runtime dependencies
- you want modern static hosting features like HTTP/2, TLS, compression, caching headers, and security headers out of the box
- you deploy to containers or minimal distros and want a single portable binary
- you prefer configuration via CLI flags, env vars, or a simple TOML file
When to avoid
- you need dynamic server-side processing, proxies, or application logic (use nginx, Caddy, or a full web framework)
- you need a large plugin/module ecosystem or advanced reverse-proxy and load-balancing features
- you want a GUI-managed server or automatic certificate provisioning like Caddy's ACME defaults
Facets
application · maturity active
http-server cli caching compression security web-development backend self-hosted developer-tools windows bsd rust cross-platform cli static-file-server http2 tls single-binary spa-routing directory-listing basic-auth brotli zstd linux macos docker
6 sources
- readme: https://github.com/static-web-server/static-web-server · fetched 2026-08-28 · 124c28c5ca1d
- homepage: https://static-web-server.net · fetched 2026-08-29 · 50bff6a626e0
- site_page: https://static-web-server.net/v3/features/http1 · fetched 2026-08-29 · 3faa9bca2cd3
- site_page: https://static-web-server.net/v3/download-install · fetched 2026-08-29 · 65af950c00d9
- registry_crates: https://crates.io/api/v1/crates/static-web-server · fetched 2026-08-29 · e795422516be
- site_page: https://static-web-server.net/v3 · fetched 2026-08-29 · 7d2db54c2117
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| static-web-server/static-web-server | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="static-web-server/static-web-server")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem