Hstatic
An HTTP server for you static files
Hstatic is a simple HTTP server for your static files. It's designed for launching it from anywhere in your filesystem tree. It features a nice directory listing and automatic publishing of your index.html files
Features
- Directory listing
- Automatic redirect to index.html
- Port selection with -p cli option
- Remembers the last port used in the published directory
- Checks for other instances running on the same (path, port)
Installation
Install it with:
$ gem install hstatic
Usage
cd /my/public/files/path
hstatic
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request