Skip to content

schmich/fsws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fsws

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.

Gem Version Dependency Status



Alternatives include python -m SimpleHTTPServer, nginx, and Apache.

Usage

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

License

Copyright © 2014 Chris Schmich
MIT License. See LICENSE for details.