HTTP Static file server written in Go.
- Clone this repository
$ git clone https://github.com/0x113/GO_FS $ cd GO_FS
- Run using either Docker or Golang
- Run with Docker
Open
$ docker build -t gofs . $ docker run -p 5000:8000 -it gofs
localhost:5000
and enjoy. - Run via Makefile
Open
$ make $ ./bin/gofs
localhost:8000
and enjoy.
- Run with Docker
Serve specified directory $ gofs -path="/home/user/files/are/here"
- this will serve specified directory on default port (8000
)
Serve directory on specified port
$ gofs -port="5000"
- this will serve current directory on port 5000
- Error page
- Browse files
- Search files
- Upload files
- Create new folder
- Browse files by type
- Movies
- TV Shows
- Music
- Docs
- QR code