A simple HTTP server to share files over WiFi via QRCode
-
You can download compressed version from releases
wget https://github.com/prdpx7/go-fileserver/releases/download/v0.1/fs-server-2020.07.25.tar.gz tar -xzf fs-server-2020.07.25.tar.gz chmod +x fs-server && sudo cp fs-server /usr/local/bin/fs-server
-
Or download the binary directly
wget https://github.com/prdpx7/go-fileserver/releases/download/v0.1/fs-server chmod +x fs-server && sudo cp fs-server /usr/local/bin/fs-server
-
Or you can clone from GitHub and build the binary yourself
git clone https://github.com/prdpx7/go-fileserver --depth=1 cd go-fileserver/fs-server # requires go 1.14 go build # make binary executable chmod +x ./fs-server # may require root permission cp fs-server /usr/local/bin/fs-server
fs-server - A simple HTTP Server to share files on a network.
Usage: fs-server [OPTIONS] <dir-path>
Options:
-h | --help - show this message
Example:
fs-server - serve files from current directory
fs-server /home/user/documents/ - serve files from given directory
- Inspired from http-server project
- MIT