This is file server writen by golang and reactjs.
file-server -port 8000 -root /your/code/root
file-server
-port=8000: Which port to listen
-private=false: Only listen on lookback interface, otherwise listen on all interface
-root=".": the HTTP File Server's root directory
- Support QRCode code generate
- All assets package to Standalone binary
- Different file type different icon
- Support show or hide hidden files
Suggest install node through nvm
npm install -g webpack
npm install
make prod
Your need to know what is react, and golang. In develop mode, Support react hot reload
npm install
make dev
Open another terminal
go build && ./file-server