Skip to content

mlzboy/anywhere

 
 

Repository files navigation

Anywhere

A HTTP static server writern in c

How to

# build `anywhere`
$ make anywhere

# install `anywhere` in /usr/local/bin
# so you can use it anywhere :)
$ make install

# remove binary file and the relevant file
$ make uninstall

Options

anywhere # start a static server with default port 8000, current directory as base path
anywhere -p 8080 # change the port to 8080
anywhere -b /some/path # change base path
anywhere -log # print access log

License

The MIT license.

About

start a static file server anywhere

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.1%
  • Makefile 5.7%
  • C++ 3.7%
  • Shell 0.5%