Socket
Socket
Sign inDemoInstall

drupal-shoot

Package Overview
Dependencies
245
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    drupal-shoot

> Takes screenshots of a Drupal website based on nodes and views pages.


Version published
0
Maintainers
1
Install size
14.3 MB
Created
Weekly downloads
 

Readme

Source

Drupal-shoot Build Status

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.

FAQs

Last updated on 05 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc