Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

site-post-screenshots

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

site-post-screenshots

Create polished social-post screenshots from real websites.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

site-post-screenshots

Create polished social-post screenshots from real websites.

npx site-post-screenshots https://example.com --out ./post-shots

Outputs include:

  • raw desktop and mobile screenshots
  • x-desktop-1600x900.png
  • x-mobile-1600x900.png
  • desktop-1600x1200.png
  • desktop-mobile-1600x900.png

Install

npm install -g site-post-screenshots
site-post-screenshots https://example.com

If Playwright reports that Chromium is missing:

npx playwright install chromium

Aliases:

site-post-shots https://example.com

Options

site-post-screenshots <url> \
  --out ./post-shots \
  --desktop 1440x1000 \
  --mobile 390x844 \
  --delay 1

Useful capture options:

site-post-screenshots https://example.com --selector main
site-post-screenshots https://example.com --hide-selectors ".cookie-banner,.chat-widget"

Publish

Before publishing, check the package:

npm run check
npm pack --dry-run

Then publish from the package root:

npm login
npm publish --access public

If the package name is taken on npm, change name in package.json before publishing.

Keywords

screenshots

FAQs

Package last updated on 18 May 2026

Did you know?

Socket

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