Skip to content

bazuker/fileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

Go fileserver

Simple file server that shares access to a directory over HTTP using a selected port.

By default, the current working directory is hosted on port 8080 if no flags were specified.

Installation

Build from the source

go install github.com/bazuker/fileserver@latest

Or check out the pre-built binaries

CLI Usage

fileserver -port=5555 -dir="/users/username/documents/public"

This command will host the directory /users/username/documents/public on the port 5555. Now, you should be able to access it via a web browser at http://localhost:5555/

About

Simple file server that shares access to a directory on a specified port

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages