Skip to content

foxygoat/servedir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command servedir

CI Godoc Slack chat

Simple HTTP server inspired by python -mSimpleHTTPServer.

Serves files from given directory on specified or next free port.

Install and run with

> go install foxygo.at/servedir@latest
> servedir
Starting HTTP server at http://localhost:52537

There are options for port, listen interface and directory, see servedir --help.

Development

Tooling is bootstrapped with Hermit, activate it with . ./bin/activate-hermit. Run make to view help available make targets.