Simplest local files server. Serve files in a indicated address. Run as below:
sh
serve localhost:8000 example.html
This program has the following inputs:
sh
serve address file_to_serve [other_files...]
First, if you don't have [rust] installed, install it. After installation follow the steps:
You can install it directly using [crates.io] by running the commands below:
sh
cargo install serve-files
or, install from source code by running:
sh
git clone https://github.com/dreisss/serve-files.git
cd serve-files
cargo install --path .
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.