HTTP sever for directory index with extra features
Ruby CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
example
views
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
httpit.gemspec

README.md

Make static web server from any folder

Build on sinatra, useful for developing JS applications and doing "psd => xhtml" works

Usage

gem install httpit
cd /folder/for/server
httpit
# or you can set port
httpit 9081

screen shot 2013-12-25 at 10 39 44 am

Features

  • Haml support
  • Sass support
  • MarkDown support

To complile sass file make request for style.sass.css

See example folder

Use cases

  • Develop websites with HAML & SASS but without backend
  • Share files to mobile devices (if we access over Wi-Fi)
  • Try some 3rd-party examples what requires absolute urls (src="/files/...")