• Stars
    star
    137
  • Rank 264,692 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CLI for capturing website screenshots, powered by puppeteer.

site-scan

site-scan easily takes screenshots of websites

CLI for capturing website screenshots, powered by puppeteer.

Installation

To install globally:

$ npm install site-scan -g

Usage

You can use sitescan or just ss:

$ sitescan [options] [url(s)]
$ ss [options] [url(s)]

Options

-h or --help Display help

-p or --path Path to save screenshots to (Defaults to CWD)

-x or --width Custom viewport width (Default: 1920)

-y or --height Custom viewport height (Default 1080)

-f or --full Capture full page screenshot (Default: false)

-t or --transparent Hides default background to allow transparency (Default: false)

-j or --jpeg Capture JPEG screenshot (Default: PNG)

-q or --quality Quality of JPEG screenshot (0-100, Default: 100)

-s or --sleep Time (ms) to wait after load before screenshot (Default: 0)

-n or --name Custom file name. Multiple screenshots will append a number to this name. (Default: website hostname)

-r or --scale Custom browser scaling to use (Default: 1)

-l or --list Loads url(s) from a local file instead of the CLI (must be separated by a space character) (Default: undefined)

Examples

Take a full page screenshot of a website

$ ss youtube.com --full

Take a screenshot of multiple websites as JPEGs

$ ss youtube.com google.com -j

Use a custom resolution

$ ss github.com -x 640 -y 480

Use a text file of space-separated URLs to load from

$ ss -l ./path/to/websites_list.txt

Development

$ git clone https://github.com/christopherwk210/site-scan
$ cd site-scan
$ npm i
$ node ./lib/site-scan.js

More Repositories

1

bamboo

A cross-platform TinyPNG client 🌱🎍
CSS
112
star
2

html-primer

A small CLI utility that quickly generates HTML5 boilerplates
JavaScript
57
star
3

bridge

A handy CloneHero library management tool with a built in Chorus client.
CSS
37
star
4

aseprite-scripts

A collection of Lua scripts I've made to extend Aseprite
Lua
29
star
5

homebridge-mac-display

Control your mac display with HomeBridge
JavaScript
14
star
6

easy-ds

A simple tool to help with GML data structures.
JavaScript
11
star
7

nohzdyve-js

JS port of Nohzdyve
TypeScript
9
star
8

gm-bot

The bot used by the GameMaker Discord server
TypeScript
6
star
9

SimpleParallax

SimpleParallax is a small, simple, easy to use scrolling parallax library.
JavaScript
5
star
10

node-ase

Aseprite file parser implemented in node 🎨
JavaScript
4
star
11

bedrock-typings

TypeScript definitions for the Minecraft Bedrock Edition Scripting API
4
star
12

objShare

A single page web application that makes it easy to share basic GameMaker: Studio objects that only use GML over the internet.
TypeScript
3
star
13

gml-cli

directly execute or compile .gml files
3
star
14

Photism

An experiment in generating sound from prominent colors in pictures.
JavaScript
3
star
15

gms2-organizer

A small app to organize GMS2 project resources
JavaScript
2
star
16

JS-Beautify-Discord-Bot

A Discord bot that cleans up your javascript!
JavaScript
2
star
17

gml-javadoc-gen

Quickly turn GameMaker: Studio script comments into GameMaker Studio 2 compatible JavaDoc comments.
JavaScript
2
star
18

phantasy-star-dungeon-mapper

TypeScript
1
star
19

import-tag

Node script to generate static HTML files from separate, smaller components.
JavaScript
1
star
20

ratiomatic

A handy tray tool for working with ratios, for Mac
JavaScript
1
star
21

tophers-tools-angular

An organized collection of various useful online tools.
CSS
1
star
22

wc3-first-ts-map

TypeScript
1
star
23

generator-parcel

Parcel based web app generator where everything just works
JavaScript
1
star
24

virtual-pet-jam-container-2018

Electron container for the "Trash Bin Monster" game jam game
JavaScript
1
star