/fileserver

A very simple HTTP file server that will serve all files within the directory specified

Primary LanguageGo

fileserver

The simplest http file server you can think of.

Overview

If you start the program it will start an HTTP file server using localhost:8090 serving from the working directory.

Maturity

It uses the underlying go http.FileServer so it is ready to go. I quickly created this as it is a very useful utility to have when you must provide a valid URL to some resource.

Installation

simply run go get github.com/landonia/fileserver

go run using go run fileserver.go -addr=:8090 -dir=.

install by go install {GO_PATH}/github.com/landonia/fileserver/fileserver.go

once installed fileserver -addr=:8090 -dir=.

About

fileserver was written by Landon Wainwright | GitHub.