A tiny CLI tool to start a local file server.
|
|
6 years ago | |
|---|---|---|
| util | 6 years ago | |
| .gitignore | 6 years ago | |
| LICENSE | 6 years ago | |
| README.md | 6 years ago | |
| go.mod | 6 years ago | |
| main.go | 6 years ago |
FS Go is a tiny CLI tool in order to spawn a local file server.
In order to build the executable run the following command:
$ go build
Starting the server is easy:
$ ./fs-go -port 8080 -dir .
$ /opt/fs-go/fs-go -addr 0.0.0.0:8081 -dir .
Only two parameters are needed:
.)8080)If you only want to use this CLI tool as a binary then you can do that easily:
$ go install
Now you can use:
$ fs-go
From anywhere in your system.