2e350ce3dc511cb0b7429ee50fc734d18544ebf6
Local Page Archiver
This project saves self-contained HTML archives. It opens the input with Playwright, captures the rendered HTML, and inlines external resources as data: URLs.
CLI
npm install
npm run install-browsers
node src/cli.mjs archive "https://example.com/article"
For an existing HTML file:
node src/cli.mjs archive ./page.html
Archives are written to ARCHIVE_PATH, or to a development directory under the system temp directory when ARCHIVE_PATH is not set.
Description
Languages
JavaScript
98.7%
CSS
0.6%
Shell
0.4%
HTML
0.2%