Skip to content

Rockz-one/serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@rockz/serve

Http file server with compression. Double click files and folders for the zip version. Feel free to leave suggestions on github

Install

npm install -g @rockz/serve

Usage

serve  # serve all subfolders from working directory

Uninstall

npm remove -g @rockz/serve

CLI

Usage: serve [options]

Serve files with a nice ui. Single click to navigate, double click for a zip

Usage: serve [options]

Serve files with a nice ui. single click to navigate, double click for a zip

Options:
  -p, --port <int>
  -f, --forward [domain]  domain of ssh forwarding server (ex. localhost.run, rockz.one)
  -d, --domain <domain>   domain of desired url
  -k, --key <path>        private key path for forwarding agent
  -h, --help              display help for command

webpage tested with https://www.webpagetest.org/

About

Serve a directory of files using compression with one command

Resources

Stars

Watchers

Forks