http-server-rs

Simple and configurable command-line HTTP server written in Rust

brewmacoslinux
Try with needOr install directly
Source

About

Simple and configurable command-line HTTP server

Commands

http-server-rs

Examples

Start HTTP server on default port 8080 in current directory$ http-server-rs
Serve files on custom port 3000$ http-server-rs --port 3000
Serve specific directory with custom port and host$ http-server-rs --dir /path/to/files --port 5000 --host 127.0.0.1