CLI tool for saving a faithful copy of a complete web page in a single HTML file
AGPL-3.0 License
Bot releases are hidden (Show)
Published by gildas-lormeau 3 months ago
--infobar-template
and --open-infobar
options%date-custom
, %date-locale
, %time-locale
, and %datetime-locale
functions in the infobar template1.45.5
Published by gildas-lormeau 3 months ago
Ctrl-C
in Node.jsPublished by gildas-lormeau 5 months ago
--browser-mobile-emulation
by @masylum in https://github.com/gildas-lormeau/single-file-cli/pull/95
Published by gildas-lormeau 5 months ago
--browser-server
argument by @m3nadav in https://github.com/gildas-lormeau/single-file-cli/pull/94
--embed-screenshot
(see previous version) in order to make the screenshot after loading deferred content.Added --embed-screenshot
option to embed a screenshot of the page as a PNG file in the compressed file (i.e. when using --compress-content
).
When enabled, the resulting file can be read as a ZIP file or a PNG image. It can be combined with --self-extracting-archive
(and optionally --extract-data-from-page
) to make the resulting file compatible with HTML.
For example, the command below creates an HTML file which can also be read as a ZIP file and as a PNG file (e.g. by renaming the resulting file).
single-file https://github.com/gildas-lormeau/single-file-cli --compress-content --embed-screenshot