mirror of
https://github.com/Y2Z/monolith
synced 2024-11-05 06:01:10 +00:00
bin | ||
modules | ||
.gitignore | ||
compactor.js | ||
functions.js | ||
LICENSE | ||
options.js | ||
package.json | ||
README.md |
monolith
A data hoarder's dream come true:
bundle any web page into a stand-alone HTML file.
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 easy 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 [local path]/index.html > mysite.html
or
$ monolith https://github.com > github.html
Options
-u
: output the result document as one big data-URI-q
: don't be verbose
License
GPLv3