MedulaDesign / HTMLprototyper

Simple live HTML prototyping tool. You edit on Firebug or Chrome DevTools, this script will save it to disk. Ideal for live prototyping with clients.
MIT License
0 stars 0 forks source link

HTMLprototyper

Simple live HTML prototyping tool. You edit on Firebug or Chrome DevTools, this script will save it to disk. Ideal for live prototyping with clients.

Live demo

You can see HTMLprototyper in action here: http://medula.cl/HTMLprototyper/projects/9aa6fb0dec2c55faa8f28c55d9c641851898f65f/

Feel free to break it, find bugs or do what you want of it. The demo is restarted each hour.

Requirements

PHP 5.3 or higher

Installation

Just clone this repo to a folder or download it as ZIP and extract it.

By default we include a sample project inside, where you can create your new projects. Just browse to <HTMLprototyper-folder>/projects/9aa6fb0dec2c55faa8f28c55d9c641851898f65f and play around to get familiarized, it's very simple to use!.

The only important configuration to set is your email on config.php file.

How to use it

We already told you that it's really easy to use. But, if you are that person which read all the manuals, this is the HTMLprotyper bar:

Configuration

Configuration is located in config.php file, and it's a simple array with the following options:

Install a new version of Foundation

We include Foundation 5.0.3, but if you need to install another version, you only need to download it, create a folder inside foundation/ with the name of the version you need, and copy the files inside. Finally, you need to edit your config file and change the version of Foundation which HTMLprototyper will use when you create new projects.

Very simple, don't you think?

About templates

Every time you create a new file in your project, a modal window will pop-up with a list of available templates. There are 14 different choices, one is a simple blank page, and the remaining 13 are templates borrowed from Foundation.

Obviously you can create your own templates, or delete those you don't need. To create a new one, we recommend to take empty.html as a base template. Just copy it, rename it and edit it. If you wanna to create your own from scratch, you must add jQuery and HTMLprototyper JavaScript files to it:

<script src="https://github.com/MedulaDesign/HTMLprototyper/raw/master/./../assets/js/jquery-2.1.0.min.js"></script>
<script src="https://github.com/MedulaDesign/HTMLprototyper/raw/master/./../assets/js/HTMLprototyper.js"></script>

HTMLprototyper only recognize .html file extension as templates.