Socket
Socket
Sign inDemoInstall

capture-my-evolution

Package Overview
Dependencies
146
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    capture-my-evolution


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

capture-my-evolution

Screenshot

Capture the history of your web project

Installation

  1. Make sure you have Node.js installed
  2. Make sure you have Google Chrome installed
npm install -g capture-my-evolution

Getting started

Run the following command inside a Git repository.

# Will traverse your Git history, run `npm ci && npm run start` and take a screenshot
capture-my-evolution --port <PORT>

The output of the screenshots can be found in screenshots-folder (per default). Most probably you want to run a custom command in order to start your website. This tool does not care what technologies you're using, as long as the website is somehow accessible over HTTP.

Example using yarn:

capture-my-evolution -c "yarn && yarn build" -p <PORT>

Options

capture-my-evolution --help        
Usage: capture-my-evolution [options]

Options:
  -V, --version                                output the version number
  --path <path>                                The path where the project is located (default: "$PWD")
  -p, --port <port>                            The port of your website
  -h, --host <host>                            The host of your webiste (default: "0.0.0.0")
  --protocol <protocol>                        The protocol your webiste (default: "http")
  -c, --command <command>                      The command to start your website (default: "npm ci && npm run start")
  -t, --tmp <tmp>                              Temporary folder (default: "/tmp/my-history-daecf5bc-1647-4e04-8bf9-05138871d3f2")
  -s, --screenshot <screenshot>                Screenshot directory (default: "$PWD/screenshots")
  --last <last>                                Last amount of commits
  --filter-commit-msg <filter-commit-message>  Filter commit message
  --start-index <start-index>                  Which index it should start with for the image prefix (default: "0")
  --log-level <log-level>                      The log level (default: "info")
  --every-nth <every-nth>                      Only check for every nth commit
  -w, --width <width>                          Width of the screenshot (default: "1440")
  -h, --height <height>                        Height of the screenshot (default: "1080")
  --from <from>                                From which SHA to start
  --help                   

FAQs

Last updated on 17 Oct 2022

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