single-file-cli

CLI tool for saving a faithful copy of a complete web page in a single HTML file

AGPL-3.0 License

Stars
468
Committers
9

Bot releases are visible (Hide)

single-file-cli - Latest Release

Published by gildas-lormeau 2 months ago

Added option embedded-image to make compressed files (self-extracting or not) viewable as a PNG image

single-file-cli -

Published by gildas-lormeau 2 months ago

  • fixed self-extracting file format (i.e. -self-extracting-archive)
  • added support of frames when saving raw HTML pages (i.e. --save-raw-page)
  • added --insert-single-file-comment option
single-file-cli -

Published by gildas-lormeau 3 months ago

Fixed Invalid InterceptionId error intermittent error

single-file-cli - v2.0.51

Published by gildas-lormeau 3 months ago

What's Changed

New Contributors

single-file-cli -

Published by gildas-lormeau 3 months ago

  • Added --infobar-template and --open-infobar options
  • Fixed replacement of special characters when using %date-custom, %date-locale, %time-locale, and %datetime-locale functions in the infobar template
  • Upgraded Deno to version 1.45.5
  • Minor fixes
single-file-cli -

Published by gildas-lormeau 3 months ago

  • Added --output-json option to save the page as a JSON file. The JSON data contains request and response headers.
  • Fixed --dump-content option
single-file-cli -

Published by gildas-lormeau 3 months ago

  • Fixed issues related to CSS: support of @container, CSS worklets and nested rules
  • Added new template function %datetime-custom (see the help page of the extension for more info)
  • Upgraded Deno to version 1.45.3
single-file-cli -

Published by gildas-lormeau 3 months ago

  • Added option --error-traces-disabled(true by default) to remove stack traces in the error messages
  • Fixed regression related to the use of the --crawl-rewrite-rule option or when trying to capture an empty URL
single-file-cli - v2.0.46

Published by gildas-lormeau 3 months ago

  • fixed path resolution (see #106)
  • fixed error when pressing Ctrl-C in Node.js
single-file-cli -

Published by gildas-lormeau 4 months ago

Fixed Error: Process exited with code null when running the code with Node.js (see #91)

single-file-cli -

Published by gildas-lormeau 4 months ago

  • Improved data fetching implementation
  • Added support of "srcdoc" attribute in frames
  • Updated Deno to version 1.44.4
single-file-cli -

Published by gildas-lormeau 5 months ago

Fixed issue where Chromium sub-processes would not be stopped when interrupting the program in some cases (e.g. when pressing Ctrl-C)

single-file-cli - v2.0.41

Published by gildas-lormeau 5 months ago

What's Changed

New Contributors

single-file-cli - v2.0.40

Published by gildas-lormeau 5 months ago

What's Changed

New Contributors

single-file-cli -

Published by gildas-lormeau 5 months ago

  • Fixed option --browser-mobile-emulation
  • Added new options:
  • --browser-device-width
  • --browser-device-height
  • --browser-device-scale-factor
  • --accept-language
  • --platform
  • Upgraded Deno
single-file-cli -

Published by gildas-lormeau 5 months ago

Fixed issue related to parsing of options (see #87)

single-file-cli -

Published by gildas-lormeau 5 months ago

  • Improved support of (first-level) frames in self-extracting files by using blob URIs and avoid managing data URIs that are too large
  • Updated zip.js
  • Updated Deno
single-file-cli -

Published by gildas-lormeau 6 months ago

  • Fixed an issue with the support of very long web pages (see #85)
  • Fixed --browser-wait-delay option
single-file-cli -

Published by gildas-lormeau 6 months ago

  • Improved the implementation of --embed-screenshot (see previous version) in order to make the screenshot after loading deferred content.
  • Fixed issue where the browser would not be closed on errors when running single-file in Node.js
single-file-cli -

Published by gildas-lormeau 6 months ago

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