Basic-http-server 0.2.0

I've just published version 0.2 of basic-http-server. This is a really simple tool for hosting a directory via HTTP. It's the kind of tool I need periodically when doing development on an EC2 box. It's also very simple, so can be used as a learning resource.

This tool has been undeveloped for a long time, built on old crates, and was kind of buggy. @djc just did a complete rewrite on top of async hyper. Thanks @djc.

4 Likes

For years I've been using thttpd for simple ad-hoc http servers, but it's not included in every linux distro. basic-http-server seems like the perfect replacement, especially since I can compile a static musl binary and keep a copy in my home directory on all my machines.