@binary1702/site-packet
v0.1.2
Published
Turn a public website into a printable website review packet
Downloads
297
Maintainers
Readme
@binary1702/site-packet
Turn any website into a printable review packet.
What it does
- Crawls all internal pages from a starting URL
- Captures full-page PNG screenshots
- Generates Letter-size PDFs with backgrounds
- Creates an index.html linking everything
Usage
npx @binary1702/site-packet https://example.comOptions
# Custom output directory
npx @binary1702/site-packet https://example.com -o ./my-review
# Limit pages captured (default: 100)
npx @binary1702/site-packet https://example.com --limit 20
# Password-protected sites (Vercel previews, staging sites)
npx @binary1702/site-packet https://staging.example.com -p 'your-password'Output
site-packet/
├── index.html
├── pdf/
│ ├── 01-home.pdf
│ ├── 02-about.pdf
│ └── 03-contact.pdf
└── screenshots/
├── 01-home.png
├── 02-about.png
└── 03-contact.pngOpen index.html in a browser to view all captured pages with links to PDFs and screenshots.
Requirements
- Node.js 18+
- Chromium (downloaded automatically on first run)
License
MIT
