darkhttpd

Lightweight static web server for serving files without CGI support.

brewmacoslinux
Try with needOr install directly
Source

About

Small static webserver without CGI

Commands

darkhttpd

Examples

start a web server on default port 8080$ darkhttpd
serve files from a specific directory$ darkhttpd /path/to/directory
run web server on a custom port$ darkhttpd /var/www --port 3000
serve files and log requests to stdout$ darkhttpd /home/user/public_html --logfile -
start server with no directory listing allowed$ darkhttpd /srv/files --no-listing