Comment Comment by maxloh I find SingleFile [0] to be a much more robust version of this.It strips out all the JavaScript too, but also packs everything into a single HTML file that is easy to transfer. Binary assets (like web fonts and images) are packed as base64 strings.They also offer a CLI powered by Puppeteer. [1][0]: https://github.com/gildas-lormeau/singlefile[1]: https://github.com/gildas-lormeau/single-file-cli parent maxloh 4 months ago
It strips out all the JavaScript too, but also packs everything into a single HTML file that is easy to transfer. Binary assets (like web fonts and images) are packed as base64 strings.
They also offer a CLI powered by Puppeteer. [1]
[0]: https://github.com/gildas-lormeau/singlefile
[1]: https://github.com/gildas-lormeau/single-file-cli