snapshot thumbnails for bl.ocks.org
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

gistsnap

snapshot thumbnails for bl.ocks.org

Usage

Install:

npm install -g gistsnap

Then, navigate to the directory with your gist and run:

gistsnap

This takes creates a preview.png and thumbnail.png of your index.html, overwriting any existing images.

Options:

--delay <delay> - milliseconds to wait before screenshot
--hidden - start nightmarejs with {show: false}

More scripts

  • gistup is super handy for creating gists from the command line.
  • gistclone clone bl.ocks without waiting for the clucky gist webapp.