monolith Plugin
Save complete web pages as a single HTML file with all CSS, images, and JavaScript embedded.
Commands
Save Web Pages
monolith save url— Save web page from URL to filemonolith save stdin— Save from stdin input
Usage Examples
- "Save a web page to an HTML file"
- "Archive a page for offline reading"
- "Download a page with all assets embedded"
Installation
cargo install monolith
# or
brew install monolith
Examples
# Save a web page
monolith https://example.com -o example.html
# Save from stdin
cat page.html | monolith - -b https://example.com > page-with-assets.html
# Save with custom base URL
monolith https://example.com -b https://example.com -o output.html
Common Options
-o— Output file (use "-" for stdout)-b— Custom base URL-a— Exclude audio-c— Exclude CSS-i— Remove images-j— Exclude JavaScript-I— Isolate document-m— Output in MHTML format-q— Quiet mode-t— Network timeout