a Http File Server based on Iris
./hfs
this will start a http file server on 8090 for current directory.
command line parameters
-dir // specify root file directory, default: ./
-port // specify http file server port, default: 8090
-showHidden // show hidden files or directories, default: false
-tls // enable tls, default: false
-certFile // cert file path
-keyFile // key file path
-tmplName // custom template file name (should be in ./template directory)
-v // show version
place your custom favicon.ico
into the same directory of hfs
executable file.
- copy the
template
directory of the source code and place it into the same directory ofhfs
executable file. - edit the
dirlist.tmpl
to change the view.