0.0.2 • Published 11 months ago

@deegeemee/tweetshot-cli v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@deegeemee/tweetshot-cli

A Node.js CLI tool to take screenshots of tweets

Installation

npm install -g @deegeemee/tweetshot-cli

Usage

Set env var CHROME_BIN to the path of your Chrome executable, see https://github.com/deegeemee/tweetshot-cli/blob/main/.env.example

Usage: tweetshot-cli [options] <tweetUrl> <outputFile>

Take a screenshot of a tweet

Options:
  -V, --version            output the version number
  -w, --width <width>      Width of the screenshot, must be 220-550 (default: 550)
  -f, --format <format>    Output format, must be one of png, jpeg, or webp (default: "webp")
  -t, --theme <theme>      Theme to use, must be either light or dark (default: "dark")
  -q, --quality <quality>  Output quality, must be between 0 and 100, not applicable for png (default: 100)
  -h, --help               display help for command
0.0.2

11 months ago

0.0.1

11 months ago