An open API service indexing awesome lists of open source software.

https://github.com/zhuangqh/anywhere

start a static file server anywhere. HTTP server pattern wrote in C, as a tinyhttp demo
https://github.com/zhuangqh/anywhere

c http-server

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# Anywhere
A HTTP static server writern in c

## How to

```bash
# 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

```bash
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.