Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
og-screenshots
Advanced tools
A CLI to take screenshots of websites and generate [open graph images](https://ogp.me) from your own computer. Having a website with a screenshot as an open graph image is a great way to promote your website and attract more visitors.
A CLI to take screenshots of websites and generate open graph images from your own computer. Having a website with a screenshot as an open graph image is a great way to promote your website and attract more visitors.
Notes:
npm i -g og-screenshots
Or you can also directly execute the command:
npx og-screenshots --url "https://example.com"
Usage
$ og-screenshots [input]
Options
--url, -u <type> Input URL (required). Can be a sitemap, RSS feed or a single URL. When using a sitemap or RSS feed, this command will automatically detect the URLs in the feed or sitemap and process them.
--transform, -t Transform origin [Default: false]
--timeout, -T <type> Timeout in milliseconds [Default: 60000]
--extension, -e <type> File extension [Default: webp]
--concurrency, -c <type> Concurrency level [Default: 3]
--quality, -q <type> Image quality [Default: 100]
--max-screenshots, -m <type> Maximum number of screenshots [Default: 0]
--recommended-size, -r <type> Recommended image size [Default: {"width":1200,"height":630}]
--output-dir, -o <type> Output directory [Default: ./public/screenshots]
--window-size, -w <type> Browser window size [Default: 1300,1300]
--chrome-path <type> Path to Chrome [Default: detected Chrome path]
--imagemagick-path <type> Path to ImageMagick [Default: detected ImageMagick path]
--overwrite Overwrite existing files [Default: false]. By default, the command will not take screenshots if the output file already exists.
Examples
$ og-screenshots --url "http://example.com"
Run
npx tsx source/cli.tsx --url "https://example.com"
Affero General Public License v3.0
FAQs
A CLI to take screenshots of websites and generate [open graph images](https://ogp.me) from your own computer. Having a website with a screenshot as an open graph image is a great way to promote your website and attract more visitors.
The npm package og-screenshots receives a total of 1 weekly downloads. As such, og-screenshots popularity was classified as not popular.
We found that og-screenshots demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.