Find a file
2017-02-20 04:06:48 -05:00
bin Make it possible to require and use monolith as a node module 2017-02-20 03:19:34 -05:00
modules first commit 2017-02-20 02:51:24 -05:00
.gitignore Initial commit 2017-02-20 02:47:35 -05:00
compactor.js Make it possible to require and use monolith as a node module 2017-02-20 03:19:34 -05:00
functions.js Add user-agent to the request headers to be less shady 2017-02-20 04:06:48 -05:00
LICENSE Initial commit 2017-02-20 02:47:35 -05:00
options.js Add user-agent to the request headers to be less shady 2017-02-20 04:06:48 -05:00
package.json Make it possible to require and use monolith as a node module 2017-02-20 03:19:34 -05:00
README.md spice up the readme even more 2017-02-20 03:28:18 -05:00

monolith

A data hoarder's dream come true: bundle any web page into a stand-alone HTML file.
You can finally replace that gazillion of open tabs with a gazillion of
huge .html files stored somewhere on your precious little drive.

Unlike conventional "Save page as …", monolith saves the target
document and embeds JavaScript, CSS and image assets all at once,
resulting in a single HTML5 document that is a joy to store and share.

Works both on remote and local targets.

If compared to saving websites with wget -mpk, monolith embeds all assets
as data-URIs and therefore would display the page exactly the same at any time,
not depending on the Internet connection.

However, keep in mind that monolith is not aware of your browser's session.

Installation

$ sudo npm install -g git@github.com:Y2Z/monolith.git

Usage

$ monolith https://github.com > github.html

Options

  • -u: output the result as one big data-URI
  • -q: be quiet

License

GPLv3