A simple Ruby-based file system web server for serving static files from a directory on OSX, Windows, or Linux.
It is intended for use in development for viewing statically-generated sites such as documentation (YARD), blogs (Jekyll), code coverage reports (SimpleCov), profiling reports, etc.
Alternatives include python -m SimpleHTTPServer
, nginx, and Apache.
Start a web server for files in the current directory:
$ gem install fsws
$ fsws
Specify a port:
$ fsws -p 777
Allow external connections:
$ fsws -i 0.0.0.0
Serve files from another directory:
$ fsws -d ../foo
Copyright © 2014 Chris Schmich
MIT License. See LICENSE for details.