Universal Web Server for development purposes. It is similar to python -m SimpleHTTPServer or
php -S 127.0.0.0:8080 commands but requires less typing and tries to detect the stack to serve it accordingly.
uwsto serve a web app located in the current directory- Detect PHP stack and launch
php -Scommand - Detect Rack-based Ruby app and launch
rackupcommand viabundler - Detect NodeJS-based app and launch
yarnornpmcommand - Launch web server to serve a static site or any other directory
Installation using Homebrew:
brew install sibprogrammer/uws/uws
System-wide installation using installer script:
curl -sSL https://bit.ly/install-uws | sudo bash
Install to INSTALL_DIR directory, without sudo:
curl -sSL https://bit.ly/install-uws | INSTALL_DIR=$(pwd) bash
If you have Go toolchain installed, you can use the following command to install uws:
go install github.com/sibprogrammer/uws@latest