github gildas-lormeau/single-file-cli v2.0.34

latest releases: v2.6.1, v2.6.0, v2.5.0...
2 years 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

Don't miss a new single-file-cli release

NewReleases is sending notifications on new releases.