monolith
$ monolith Community Low Riskmonolith fetches a web page (or reads local HTML) and embeds all CSS, images, and fonts as data URIs into a single self-contained HTML5 document (-o page.html or stdout). Unlike headless-browser archivers, it runs as a fast native binary without Chromium.
brew install monolith Pure offline asset-inlining binary in Rust; produces self-contained HTML artifacts that MCP servers do not generate.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Fully non-interactive with -s (--silent) and -o output path, though it has no JSON output mode since its product is bundled HTML.
- Supports
-s,-o,-j,-i,-c, and stdin HTML
Read-only HTTP fetches with local HTML output only; supports -j (--no-js), -I (--isolate), and -t timeouts.
- Supports
-jscript stripping and-Iisolation flags
Tiny single Rust binary distributed via Homebrew, Cargo, and GitHub Releases across macOS, Linux, and Windows.
- Available via
brew install monolithandcargo install monolith
Fast native asset bundler with fine-grained flags to strip JS, CSS, audio, video, or frames, though cannot render client-side SPAs.
- Inlines CSS, images, and fonts into single HTML without Chromium
Maintained community Rust utility (Y2Z/monolith) dedicated to the public domain (CC0-1.0).
- CC0-1.0
Y2Z/monolithrepository
Concise README and --help covering all asset flags.
- README documents all
-j,-c,-f,-oflags
Security, Auth & Guardrails
Accepts optional cookie files (-C cookies.txt) per run; stores no persistent credentials.
Free, CC0-1.0 public-domain Rust binary.
# monolith Agent Rules - Always pass `-o <file>.html` (or redirect stdout) and `-s` (`--silent`) to avoid huge HTML dumps in agent context. - Pass `-j` (`--no-js`) unless scripts are required in the archived snapshot.
Agent-Ready Command Recipes
Safe Read-Only Queries
monolith --help
Prints available asset-filtering, cookie, and timeout flags without making network requests.
Controlled Writes & Previews
monolith -s -j https://example.com -o page.html
Runs silently (-s), strips JavaScript (-j), and writes the bundled HTML document to page.html.
Strengths for Agents
- + Zero browser dependency—fast single Rust binary creates portable offline HTML snapshots.
- + Supports
-j(--no-js) and-I(--isolate) to sanitize archived pages.
Caveats & Pitfalls
- ! Does not execute JavaScript, so client-rendered SPAs capture only initial HTML shells.
- ! No JSON status output; bundled HTML files can be large on image-heavy pages.