← back

fork/static-web-server

git clone https://git.julia.blue/fork/static-web-server

Julia RyanAllow external symlinks4414610

allow-symlink
11 folders14 files
languages

files

.cargo/
.github/
benches/
contrib/grafana/
docker/
docs/
fuzz/
scripts/
src/
systemd/
tests/
.cirrus.yml2.8 KiB
.dockerignore126 B
.gitignore376 B
.mdformat.toml402 B
CHANGELOG.md156.8 KiB
CONTRIBUTING.md1.7 KiB
Cargo.lock80.5 KiB
Cargo.toml5.0 KiB
LICENSE-APACHE10.6 KiB
LICENSE-MIT1.1 KiB
Makefile9.0 KiB
README.md8.1 KiB
SECURITY.md2.0 KiB
build.rs123 B
<div> <div align="center"> <a href="https://static-web-server.net" title="static-web-server website"> <img src="https://static-web-server.net/assets/sws.svg" height="100" width="100" /></a> </div> <h1 align="center">Static Web Server</h1> <h4 align="center"> A cross-platform, high-performance and asynchronous web server for static files-serving ⚡ </h4> <div align="center"> <a href="https://github.com/static-web-server/static-web-server/actions/workflows/devel.yml" title="devel ci"><img src="https://github.com/static-web-server/static-web-server/actions/workflows/devel.yml/badge.svg?branch=master"></a> <a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image Version (tag latest semver)"><img src="https://img.shields.io/docker/v/joseluisq/static-web-server/2"></a> <a href="https://hub.docker.com/r/joseluisq/static-web-server/tags" title="Docker Image Size (tag)"><img src="https://img.shields.io/docker/image-size/joseluisq/static-web-server/2"></a> <a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image"><img src="https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg"></a> <a href="https://crates.io/crates/static-web-server" title="static-web-server crate"><img src="https://img.shields.io/crates/v/static-web-server.svg"></a> <a href="https://docs.rs/static-web-server" title="static-web-server crate docs"><img src="https://img.shields.io/docsrs/static-web-server/latest?label=docs.rs"></a> <a href="https://github.com/static-web-server/static-web-server/blob/master/LICENSE-APACHE" title="static-web-server license"><img src="https://img.shields.io/crates/l/static-web-server"></a> <a href="https://discord.gg/VWvtZeWAA7" title="Static Web Server Community on Discord"> <img src="https://img.shields.io/discord/1086203405225164842?logo=discord&label=discord"> </a> </div> </div>

Overview

Static Web Server (or SWS abbreviated) is a tiny and fast production-ready web server suitable to serve static web files or assets.

It is focused on lightness and easy-to-use principles while 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 and the latest HTTP/1 - HTTP/2 implementations.

Cross-platform and available for Linux, macOS, Windows, FreeBSD, NetBSD, Android, Docker and Wasm (via Wasmer).

static-web-server running

Features

Documentation

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

Releases

Benchmarks

<img title="SWS - Benchmarks April 2023" src="https://raw.githubusercontent.com/static-web-server/benchmarks/master/data/2023-04/benchmark-2023-04.png" width="860">

For more details see benchmarks repository

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