Update readme

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2024-11-07 14:30:50 +01:00
parent 1a5cee437c
commit 91fee3387a
Signed by: lilith
SSH key fingerprint: SHA256:LAjgsAMyT3LO2JVtr6fQ4N3RTYoRRlIm5wAKsbDife4

View file

@ -1,12 +1,8 @@
[![Build Status](https://github.com/gdamjan/http-server-rs/workflows/build%20test%20lint/badge.svg)](https://github.com/gdamjan/http-server-rs/actions/)
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:
@ -24,17 +20,8 @@ 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.~ will see.
## Release builds
```
cargo build --release
strip --strip-unneeded ./target/release/http-server
```
## See also:
* https://github.com/svenstaro/miniserve
```