tcorral / html-to-wireframe

Tool to generate wireframes from an url or html file with different sizes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html-to-wireframe

html-to-wireframe was created as a easy-to-use tool to generate wireframes from local or remote html files to do something like Facebook does so that the user can see the structure of your app before load the whole page.

This tool relays on:

To fetch all the viewport sizes available it also uses the JSON version of the database that you can find in:

The tool will generate a png image per each viewport size in 'lib/viewports/index.js' file in portrait and landscape so you will get two images per device.

Installation

Git

$ git clone https://github.com/tcorral/html-to-wireframe.git

Node

Dependencies:

  • node >= 0.10
  • npm >= 2.0.0
$ cd html-to-wireframe
$ npm install

Usage

The usage is very simple, html-to-wireframe uses npm to running it, just execute the following code and wait to get your wireframes in the screenshots folder.

$ npm start --urls=http://url.com,http://other-url.com

Todo

  • Convert this tool to a command line tool
  • Convert this tool to be a npm module.
  • Add arguments to: ** Only get a set of viewports ** Change the path to save the images. ** Change the name or prefix the image files.

About

Tool to generate wireframes from an url or html file with different sizes.

License:MIT License


Languages

Language:JavaScript 100.0%