monolith (Y2Z/monolith)

Searching Database…

What is this?Monolith bundles any web page into a single, self-contained HTML5 file by embedding its CSS, images, and JavaScript as data URLs, so the page renders exactly as it did online even without a network connection.
Is this a CLI tool, a GUI app, or a library?It is built as a Rust command-line tool and library; the README documents CLI usage with flags, and the GitHub description also lists it as usable as a library, though no GUI workflow is described in the README.
How do I install and run monolith?You can install it via Cargo, Homebrew, Chocolatey, Scoop, Winget, MacPorts, Snapcraft, Guix, NixPkgs, Pacman, or several other OS package managers, build it from source, or just grab a pre-built binary from the releases.
Do I need anything installed before building it from source?Building from source requires libssl and Cargo; if you just want a binary, pre-built releases for Windows, Linux, and ARM-based devices need nothing extra.
Does it capture pages that load content dynamically with JavaScript?No, monolith has no JavaScript engine, so sites that fetch and render data after the initial page load may need a pre-processing step with a real browser like Chromium before saving.
Which operating systems does it run on?It runs on Windows, macOS, Linux and several BSD variants, with pre-built binaries also provided for ARM-based devices.
How is this different from the browser's 'Save page as' feature?Browser save creates a page plus a folder of separate asset files, while monolith embeds CSS, images, and JavaScript directly as data URLs into one single HTML5 file, making it easier to store and share.
How does it compare to using wget -mpk to mirror a page?Unlike wget, which saves assets as separate files, monolith inlines everything as data URLs so the saved page renders exactly like the original even with no internet connection.
Can I control which domains assets are fetched from?Yes, the -d flag whitelists specific domains for asset retrieval and the -B flag blacklists domains you want to exclude.
Can I save a page as MHTML instead of plain HTML?Yes, the -m flag outputs the result in MHTML format instead of a standard HTML5 file.
What are similar projects?hexyl, hatchzip, ttfx, miller, turbocrypt, just, homebrew-cask, gallery-dl
Creator
Y2Z
Size
5.3 MB
Stars
15.6K
Age
9y
Commits · 90 Days