Skip to content

start a static file server anywhere. HTTP server pattern wrote in C, as a tinyhttp demo

License

Notifications You must be signed in to change notification settings

zhuangqh/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. HTTP server pattern wrote in C, as a tinyhttp demo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published