Skip to content

A simple CLI in Node.js for capturing website screenshots quickly and repeatably

License

Notifications You must be signed in to change notification settings

keegandonley/sitecap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiteCap

forthebadge
npm version license issues

Simple CLI for capturing screenshots of websites in a straightforward and repeatable way.

Setup

npm install -g sitecap

Usage

  Options:

    -V, --version          output the version number
    -s, --site <site>      The website to capture
    -W, --width <width>    The viewport width
    -H, --height <height>  The viewport height
    -o, --output <output>  The output file name
    -r, --retina           Render in retina resolution
    -i, --interactive      Open an interactive browser before saving
    -v, --verbose          Turn on verbose output
    -p, --pdf              Output as a pdf file
    -h, --help             output usage information

Basic usage:

sitecap --site https://keegandonley.com

Dimensions:

sitecap --site https://keegandonley.com --width 1000 --height 300

Interactive:

Launch the browser and interact with the site before capturing the screenshot

sitecap --site https://keegandonley.com --interactive

About

A simple CLI in Node.js for capturing website screenshots quickly and repeatably

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published