serve static files

fnordomat e376f9ece1 turn off logging below severity "error" by default 3 years ago
src e376f9ece1 turn off logging below severity "error" by default 3 years ago
.gitignore d3400afb24 Initial commit 3 years ago
Cargo.toml 1350f1808f New feature: watch for file changes + live reload 3 years ago
LICENSE d3400afb24 Initial commit 3 years ago
README.md e376f9ece1 turn off logging below severity "error" by default 3 years ago

README.md

minimal webserver

Serves static files from memory. Reloads files when they change. Nothing else. Only listens on 127.0.0.1:8080, intended to be used behind a reverse proxy.

Features

  • Serve static files from a directory
  • Watch filesystem for changes (files added, modified or deleted)

Notes

  • The rust async ecosystem is in a constant state of flux. Latest version of hyper uses outdated version of tokio. I'll have to update the dependencies and port the code regularly.

Future work

  • More in-depth security analysis
  • It should be possible to change the configuration (logging, ...) at runtime