Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregate multiple html files? #393

Open
patrykcyran opened this issue Jun 28, 2024 · 3 comments
Open

Aggregate multiple html files? #393

patrykcyran opened this issue Jun 28, 2024 · 3 comments

Comments

@patrykcyran
Copy link

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.

@snshn
Copy link
Member

snshn commented Jun 28, 2024

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

@patrykcyran
Copy link
Author

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

@snshn
Copy link
Member

snshn commented Jun 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants