Y2Z / monolith

⬛️ CLI tool for saving complete web pages as a single HTML file

Home Page:https://crates.io/crates/monolith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aggregate multiple html files?

patrykcyran opened this issue · comments

I have a folder which holds multiple html files. Can this tool be used to aggregated them all into 1 file?
I tried various combinations of monolith command and none of them works.

It would likely crash the browser even if it was doable... what's the total combined size of all those HTML files?

Well, I wanted to combine files of cucumber report that are generated locally, size is about 1MB as I remember. As I see, this isn't the most popular usage

I think you could "monolithify" them one-by-one, and then do cat *.html > one-big-file.html... then when you open it in the browser, it should render all that as one page, with multiple <html> tags in it... not exactly W3C-compliant, but that could be what you're looking for.