Skip to content

TechStark/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-server

A simple command-line HTTP server

Usage:

cd path/to/web-folder/
http-server start

Help Doc:

% http-server start --help
Start the HTTP server

Usage:
  http-server start [flags]

Flags:
  -d, --directory string   Path of the web folder
  -f, --file string        Path of a file (for sharing a single file)
  -h, --help               help for start
  -p, --port int           Port number (default 8080)
      --qrcode             Show QR code of server URL
      --upload             Allow uploading files via path /upload

About

A simple command-line HTTP server

Resources

License

Stars

Watchers

Forks

Packages

No packages published