You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Benjamin Bädorf 235e120b0d Updated 1 year ago
.gitignore Initial commit 2 years ago
README.md Added README 2 years ago
index.js log port to terminal 2 years ago
package-lock.json Updated 1 year ago
package.json Initial commit 2 years ago

README.md

Miniserver

CLI app not unlike php's buildin server, but with the option to proxy a path to a different host.

npm i -g git.benjaminbaedorf.eu/b12f/miniserver to install

miniserver [OPTIONS] [PATH]
  -p --port PORT (default 3000)
  --pp      PROXY_PATH
  --ph      PROXY_HOST
  -v --verbose

PATH reverts to cwd