I need to regularly send html pages to a client as standalone .html files with no external dependencies. The original pages are done with node.js and express and they contains several librairies such as High Charts. I have done the preparation manually until now, this includes:
The result is a single .html file that can be opened without an internet connection and looks just like the original.
Is there any tool to do this automatically? If not, maybe I'll code it myself in Python. Do you have any recommendation around that?
Thanks
If you use Microsoft Edge browser, do the following: ctrl+s then select html only on the drop-down menu. you will get one html file without any extra folders.
html file that can be opened without an internet connection and looks just like the original.
Choose File > Save As and choose HTML from the drop-down list. Give the filename an extension of . html, specify the file location, and click Save.
Monolith is a CLI tool for saving complete web pages as a single HTML file
See https://github.com/Y2Z/monolith
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With