nimhttpd
nimhttpd copied to clipboard
A tiny static file web server written in Nim
NimHTTPd
NimHTTPd is a minimal web server that can be used to serve static files.
Usage
nimhttpd [ -6 -p:port -t:title -a:address ] [ directory ]
Where:
- directory is the directory to serve (default: current directory).
- port is the port to listen to (default: 1337). If the specified port is unavailable, the number will be incremented until an available port is found.
- address is the address to bind to (default: 0.0.0.0).
- title is the title to use when listing the contents of a directory.
- -6 enables IPv6 support
