monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Downloading assets from a page

Open noghartt opened this issue 1 year ago • 1 comments

Is it possible to, further download the .html of the page, to download the assets of a given site too? For example: the .png and .jpeg and target it locally instead of targeting the CDN href?

noghartt avatar Nov 05 '24 01:11 noghartt

Hello Guilherme,

currently, some saved pages are already exceeding what certain browsers can open, just due to their sheer size (100MB+). Including more stuff into them is super dangerous. It'll likely be something that will be solved by extending monolith to also be a fully-fledged library (crate), making it possible to archive things recursively (assets, linked pages, other sites, etc). It'll be either this tool, or something that uses monolith as its core, but takes care of saving and serving content the way it happens with HAR files; except it won't be a JSON file, rather a filesystem-based structure, a directory full of .html pages and linked (downloadable) assets. It'll be super cool.

snshn avatar Dec 02 '24 22:12 snshn