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
- Host: GitHub
- URL: https://github.com/zhuangqh/anywhere
- Owner: zhuangqh
- License: mit
- Created: 2017-02-14T15:11:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T03:33:25.000Z (over 9 years ago)
- Last Synced: 2025-04-12T02:39:12.155Z (about 1 year ago)
- Topics: c, http-server
- Language: C
- Homepage:
- Size: 40 KB
- Stars: 26
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.