#http-file #web-server #index #directory

app file-server

Static HTTP file server for web developers

5 stable releases

1.3.0 Dec 9, 2019
1.2.0 Dec 5, 2019
1.1.0 Dec 4, 2019
1.0.1 Nov 28, 2019

#32 in #http-file

21 downloads per month

MIT license

18KB
330 lines

file-server

Static HTTP file server for web developers.

Installing

Make sure you first install Cargo, then run the following command in your terminal:

cargo install file-server

Basic Usage

To start the server, run the following command in your terminal at the root directory of your project (your index.html file will likely be there):

file-server -p <PORT>

For example:

file-server -p 8080

Dependencies

~27MB
~574K SLoC