StaticMe

Introduction

StaticMe is simple server for serving static content built on top of thin.

News

Version 0.4.0 has been released

The new version fixes the incompatibilities with ::Rack::File in new rack 1.6.4.

Version 0.3.0 has been released

This version introduces an automatic webpage reload functionality.

Staticme serves path /staticme/autoreload.js as a script src to provide the autoreload functionality.

Simply add a script tag to the bottom of any webpage:

Staticme will handle all fs evenes in the directory and broadcast 'em with “fs_event” through the websocket transport.

Installation

gem install staticme

Usage

Options:

Starting up

In terminal:

cd my_project_folder
staticme
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:8080, CTRL+C to stop

In browser open page 127.0.0.1:8080