Monolith

Monolith

by snshn

Save any webpage as a single, portable HTML file with all assets embedded. Perfect for offline archiving, research, and creating dependency-free demos.

724 runs
99 users
Try This Actor

Opens on Apify.com

About Monolith

Ever find a perfect webpage you just need to save, but it's a mess of broken CSS and missing images? Monolith fixes that. It's my go-to for archiving any webpage into one, clean, standalone HTML file. Think of it as a digital snapshot that actually works offline—everything, the styling, the images, even the fonts, gets bundled right in. I use it all the time. If I'm researching and need a permanent, cite-able copy of a source, I run it through Monolith. When I'm building a demo and want to embed a live-looking UI mockup without hosting dependencies, this does the trick. It's also a lifesaver for compliance or legal teams who need immutable records of web content. The beauty is its simplicity; it's a straightforward wrapper around the excellent open-source Monolith library, so you get a reliable, battle-tested tool without the fuss. You just feed it a URL, and it gives you back a single .html file. Open that file on any device, anywhere, and the page renders exactly as it did online. No more "this site can't be reached" errors in your archives. For developers, researchers, or anyone who hates broken links, it’s an essential utility.

What does this actor do?

Monolith is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Monolith Actor

This Actor runs the Monolith Project on the Apify platform. It crawls a given webpage and bundles all its resources (HTML, CSS, images, fonts) into a single, self-contained HTML file. You don't need to install or run Monolith locally.

Key Features

  • Single-File Output: Downloads a webpage and all its dependencies, saving them into one portable HTML file.
  • Serverless Execution: Runs on Apify's infrastructure, requiring no local setup.
  • Multiple URLs: Process a list of URLs in a single run.
  • Structured Output: Results are saved to a dataset with direct download links.

How to Use

You can run the Actor in three ways:

1. Apify Console

  1. Go to the Actor page.
  2. Click "Run".
  3. In the input form, provide the URL(s) you want to bundle.
  4. The run will save the HTML files to the key-value store and log the results to the dataset.

2. Apify CLI

apify call netmilk/monolith --input='{ "urls": ["https://news.ycombinator.com/"] }'

3. Apify API

curl --request POST \
  --url "https://api.apify.com/v2/acts/netmilk~monolith/run" \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --data '{ "urls": ["https://news.ycombinator.com/"] }'

Input

The Actor accepts a JSON object with a urls array.

Field Type Required Description
urls array Yes List of URLs to process.
urls[] string Yes A single URL.

Example Input:

{
  "urls": ["https://news.ycombinator.com/"]
}

Output

The main output is a dataset where each record corresponds to a processed URL.

Field Type Description
url string The original URL that was processed.
kvsUrl string The direct Apify API link to download the bundled HTML file from the key-value store.
status number The exit code from the Monolith process (0 typically indicates success).

Example Dataset Item:

{
  "url": "https://news.ycombinator.com/",
  "kvsUrl": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/FILENAME",
  "status": 0
}

Performance & Resources

  • Memory: Requires a minimum of 4096 MB (4 GB) RAM.
  • Time: Takes approximately 30 seconds for a complex page like bbc.co.uk.

For more details on the underlying tool, see the Monolith Project documentation. For issues with the Actor itself, use the Actor page detail on Apify.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Monolith now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
snshn
Pricing
Paid
Total Runs
724
Active Users
99
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support