a025ca2ec403297883d9758b6e10bc7c6f3a7df1
http-rs
Simple webserver, designed to be minimal and just work.
./http-rs PORT HTMLFILE
./http-rs 8080 ./dir/
Docker
This can be run within a docker container. And tbh its very simple! You should use MUSL, and alpine for this. example dockerfile:
FROM alpine:3.19 # use alpine, its minimal in size
WORKDIR /app # workdir = app
COPY http-rs ./target/x86_64-unknown-linux-musl/release/http-rs # copy the binary!
COPY app/ /app/ # copy your HTML containing folder to app or some dir
EXPOSE 8080
CMD ["http-rs", "8080", "/app"] # run the app , PORT:8080;DIR:/app
Contributers:
Currently there only is 1 Contributer, myself, that is because the repository is privated (as of 16/03/2026)
Releases
1
Languages
Rust
85.5%
HTML
14.5%