Bash · cmd · macOS · Linux · Windows
http-master
http-master 10.0.0 · static HTTP/HTTPS server for any folder Need PHP, Node.js apps or a database? → ServerMaster Folder /Users/me/Sites/portfolio Port 8080 Access this computer only HTTPS certificate ready [1] Start HTTP [2] Start HTTPS [3] Choose folder [4] Change port [5] Toggle access [6] Generate certificate [7] Install dependencies [8] Check for updates [9] Open ServerMaster [0] Quit
macOS · Linux
curl -fsSL https://raw.githubusercontent.com/adm1nsys/http-master/main/install.sh | bashWindows 10 / 11
http-master open the menu
http-master --serve [DIR] start right away (Ctrl+C to stop)
--port N port (default 8080 or the last one used)
--https serve over HTTPS (a certificate is generated if needed)
--network listen on all interfaces, not just this computer
http-master --gen-cert create a new self-signed certificate
http-master --install-deps install Node.js, http-server and openssl if missing
http-master --check-update look for a newer release
http-master --version | --help
Add --yes to answer prompts with yes.
ServerMaster