No description
Find a file
Дамјан Георгиевски d0516ecb21 test a simplified travis.yml
2018-10-20 16:31:39 +02:00
src update for a change after actix-web 0.7.8 2018-10-20 15:04:13 +02:00
.gitignore initial idea commited 2018-07-04 13:57:42 +02:00
.travis.yml test a simplified travis.yml 2018-10-20 16:31:39 +02:00
Cargo.toml use system alocator instead of jmalloc 2018-08-03 15:41:00 +02:00
LICENSE initial idea commited 2018-07-04 13:57:42 +02:00
README.md improve wording 2018-07-22 06:00:48 +02:00

Build Status

A simple http server like python -m http.server but:

  • written in rust with actix, should be faster
  • allow concurrency
  • download whole directories in .tar format
  • fancier directory listing
  • maybe announce itself on mDNS (avahi)
USAGE:
    http-server [OPTIONS] [PORT]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --bind <ADDRESS>       Specify alternate bind address [default: 0.0.0.0]
        --chdir <DIRECTORY>    Specify directory to server [default: .]

ARGS:
    <PORT>    Specify alternate port [default: 8000]

FAQ

  • Q: why .tar and not .zip? A: you can't stream a zip file efficiently, it needs to seek and write to the beggining of a file.

Release builds

cargo build --release
strip --strip-unneeded ./target/release/http-server