serve static files

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

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