Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schmich/fsws
Ruby file system web server. Replaced by https://github.com/schmich/sfs
https://github.com/schmich/fsws
development devtools http ruby server static-site web web-server webserver
Last synced: 3 months ago
JSON representation
Ruby file system web server. Replaced by https://github.com/schmich/sfs
- Host: GitHub
- URL: https://github.com/schmich/fsws
- Owner: schmich
- License: mit
- Created: 2014-09-04T08:31:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-10T21:33:48.000Z (about 10 years ago)
- Last Synced: 2024-04-25T18:22:11.743Z (9 months ago)
- Topics: development, devtools, http, ruby, server, static-site, web, web-server, webserver
- Language: Ruby
- Homepage:
- Size: 4 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this 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](https://badge.fury.io/rb/fsws.svg)](http://rubygems.org/gems/fsws)
[![Dependency Status](https://gemnasium.com/schmich/fsws.svg)](https://gemnasium.com/schmich/fsws)
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](LICENSE) for details.