/grabejs

customize phantomjs for take snapshot / html shot of website.

Primary LanguageJavaScriptThe UnlicenseUnlicense

grabejs

What's this?

  1. Use phantomjs for grab and render webpage to png.
  2. Use nginx for static image cache. (see config/nginx-sample.conf)
  3. Use imagemagick for resize image.
  4. Use phantomjs for pre-render html.

Usage

Image:

  • normal: http:///shot/
  • thumbnail: http:///shot/_m
  • original: http:///shot/_o original size

HTML:

  • http:///html/

TODO

Save temporate file to another directory.