monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Aggregate multiple html files?

Open patrykcyran opened this issue 1 year ago • 3 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.

patrykcyran avatar Jun 28 '24 14:06 patrykcyran

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

snshn avatar Jun 28 '24 14:06 snshn

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

patrykcyran avatar Jun 28 '24 16:06 patrykcyran

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.

snshn avatar Jun 28 '24 16:06 snshn