An open API service indexing awesome lists of open source software.

https://github.com/paxa/httpit

HTTP sever for directory index with extra features
https://github.com/paxa/httpit

Last synced: 3 months ago
JSON representation

HTTP sever for directory index with extra features

Awesome Lists containing this project

README

          

# Make static web server from any folder

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

## Usage

```bash
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](https://f.cloud.github.com/assets/26019/1807805/598cf174-6d16-11e3-9553-494ff5a8f337.png)

## 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/...")