SingleFile: Save a complete web page into a single HTML file

ref: Hacker News

GitHub repo:

  • SingleFile:
    • a Web Extension (and a CLI tool) compatible with Chrome, Firefox (Desktop and Mobile), Microsoft Edge, Vivaldi, Brave, Waterfox, Yandex browser, and Opera. It helps you to save a complete web page into a single HTML file
    • The HTLM file then can be opened in any web browser
    • Images are stored as data URIs
    • SingleFile also includes an annotation editor to remove ads and/or other unwanted html visual elements while keeping the style, without installing any additional extension. Further, the editor also allows to save the page as it appears in the reader mode 1
  • SingleFileZ:
    • 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
    • The HTML file then can be opened in any web browser which has installed SingleFileZ extension with the activated option "Allow access to file URLs"
    • Images are stored as entries in a zip file

Demo video:

My personal config for SingleFile plugin

  • File name
    • template
      • my modified value: {date-iso} - {page-title}[50ch] ({time-locale}).html
      • default value: {page-title} ({date-locale} {time-locale}).html

Footnotes

  1. SingleFile uses the Firefox implementation for the reader mode, see Readability.js˄


Backlinks