MCPcopy
hub / github.com/gildas-lormeau/SingleFileZ

github.com/gildas-lormeau/SingleFileZ @v1.0.22 sqlite

repository ↗ · DeepWiki ↗ · release v1.0.22 ↗
3,087 symbols 9,094 edges 72 files 16 documented · 1%
README

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, Chrome and Microsoft Edge. You can download the extension here: - Firefox: https://addons.mozilla.org/firefox/addon/singlefilez - Microsoft Edge: https://microsoftedge.microsoft.com/addons/detail/singlefilez/gofneaifncimeglaecpnanbnmnpfjekk - Chrome: 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

Core symbols most depended-on inside this repo

forEach
called by 422
lib/single-file.js
push
called by 402
lib/single-file.js
set
called by 311
lib/single-file.js
replace
called by 212
lib/single-file.js
remove
called by 207
lib/single-file.js
get
called by 197
lib/single-file.js
push
called by 144
lib/single-file-extension-editor-helper.js
replace
called by 127
lib/single-file-extension-editor-helper.js

Shape

Function 2,062
Method 741
Class 284

Languages

TypeScript100%

Modules by API surface

lib/single-file.js807 symbols
lib/single-file-extension-editor-helper.js478 symbols
lib/single-file-extension-editor.js303 symbols
lib/single-file-zip.js222 symbols
lib/single-file-extension-background.js164 symbols
src/lib/yabson/yabson.js150 symbols
lib/single-file-zip.min.js142 symbols
lib/single-file-z-worker.js93 symbols
lib/single-file-extension.js74 symbols
lib/single-file-extension-bootstrap.js64 symbols
src/ui/content/content-ui-editor-web.js54 symbols
src/ui/content/content-ui.js44 symbols

Dependencies from manifests, versioned

@rollup/plugin-node-resolve15.0.1 · 1×
rollup2.79.1 · 1×
rollup-plugin-terser7.0.2 · 1×
single-filez-cli1.0.29 · 1×
single-filez-core1.0.23 · 1×

For agents

$ claude mcp add SingleFileZ \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact