Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aerth/servest
Small, Simple HTTP Fileserver
https://github.com/aerth/servest
Last synced: about 2 months ago
JSON representation
Small, Simple HTTP Fileserver
- Host: GitHub
- URL: https://github.com/aerth/servest
- Owner: aerth
- License: mit
- Created: 2016-03-22T12:26:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T20:13:19.000Z (about 3 years ago)
- Last Synced: 2024-06-29T03:34:27.109Z (3 months ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# servest
Lightweight and easy-to-configure http fileserver
With no arguments, binds to 0.0.0.0, finds a port from 8000 to 8999, and serves current directory
See Makefile for build customization, such as default directory and default bind address
```
Usage of ./servest:
-d string
Directory to serve (current working dir if empty)
-i string
Interface to listen on (default "0.0.0.0")
-log
Enable http request logging
-maxport int
Maximum port to try binding to (default 8999)
-minport int
Minimum port to try binding to (default 8000)
-p int
Port to listen on (default: 0, look for free port)
-version
Show version information and exit
```TODO:
* pidfile option?
* logfile option?
* daemonize option?