Command-line static HTTP server build upon Python HTTPServer
from standard library.
No additional dependencies required.
One-file bundled executable can be downloaded from the Releases section.
Tested on Windows 10/11, Ubuntu 22.04.
bphs [-h] [-p PORT] [-d PATH] [-l] [--cors]
-h, --help show help message and exit
-p PORT, --port PORT port to use [8080]
-d PATH, --dir PATH directory to serve [current directory]
-l, --listing enable directory listing
--cors enable CORS headers