Project

fsws

0.0
No commit activity in last 3 years
No release in over 3 years
A simple Ruby-based file system web server for serving static files out of a directory.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.3

Runtime

~> 2.4
~> 1.5
~> 0.19
 Project Readme

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.