Skip to content

Web Extension for Firefox/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file

License

Notifications You must be signed in to change notification settings

lyne408/SingleFileZ

This branch is 709 commits behind gildas-lormeau/SingleFileZ:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

213d39e · Feb 10, 2022
Feb 3, 2022
Feb 3, 2022
Feb 28, 2021
Feb 10, 2022
Sep 23, 2019
Feb 5, 2022
Feb 10, 2022
Feb 26, 2021
Nov 25, 2020
May 16, 2019
Sep 23, 2021
Feb 28, 2021
Jan 30, 2020
Feb 10, 2022
Nov 15, 2021
Aug 29, 2021
Sep 25, 2021
Sep 25, 2021

Repository files navigation

SingleFileZ

SingleFileZ is a fork of SingleFile that allows you to save a webpage as a self-extracting HTML file. This HTML file is also a valid ZIP file which contains the resources (images, fonts, stylesheets and frames) of the saved page. This ZIP file can be unzipped on the filesystem in order, for example, to view the page in a browser that would not support pages saved with SingleFileZ.

Demo

Examples

Here is an example of page produced by SingleFileZ: https://gildas-lormeau.github.io. Here is the same example but protected by a password (thisisapage): https://gildas-lormeau.github.io/private.

Other examples of files can be found here: https://github.com/gildas-lormeau/SingleFileZ/tree/master/examples

Download

SingleFileZ is available on Firefox and Microsoft Edge. You can download the extension here:

It is not recommended to use SingleFileZ on Chrome because it will stop working starting January 2023 (see gildas-lormeau#105). You can however download it from here: https://chrome.google.com/webstore/detail/singlefilez/offkdfbbigofcgdokjemgjpdockaafjg.

To open saved pages from the filesystem in a Chromium-based browser, SingleFileZ must be installed and the option "Allow access to file URLs" must be enabled in the details page of the extension (e.g. chrome://extensions/?id=offkdfbbigofcgdokjemgjpdockaafjg). Otherwise, the browser must be started with the switch --allow-file-access-from-files.

To open saved pages from the filesystem in Safari, the option "Disable Local File Restrictions" must be selected in the "Develop" menu

Notes

  • JavaScript must be enabled to view saved pages.

Command Line Interface

You can save web pages to HTML from the command line interface. See here for more info: https://github.com/gildas-lormeau/SingleFileZ/blob/master/cli/README.MD.

FAQ

cf. https://github.com/gildas-lormeau/SingleFileZ/blob/master/faq.md

Icons

About

Web Extension for Firefox/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.5%
  • HTML 8.4%
  • CSS 2.8%
  • Other 0.3%