drupal-shoot
v0.2.7
Published
> Takes screenshots of a Drupal website based on nodes and views pages.
Downloads
3
Readme
Drupal-shoot
Takes screenshots of a Drupal website based on nodes and views pages.
Install
npm install -g drupal-shoot
You also needs PhantomJS installed.
Usage
drupal-shoot -p /Path/to/drupal/root -o /Path/to/screenshots/output/folder
Use the following to find all available flags.
drupal-shoot -h
Or just run the following to get a guided tour in the shooting of Drupal. (:
drupal-shoot
How it works
It's powered by phantom.js and nightmare.js.
It generates screenshots for one node of each type and all views pages.
Currently you must have your mysql settings in settings.local.php
.
Todo
- Posibility to change viewport of screenshots.
- Set mysql credentials from cli.
- Take screenshots of more pages.
- Add Drupal 8 support.