I made a tool like this called humble[0] with a CLI interface that base64 encodes and inlines everything in an HTML file, images, audio, video, CSS, JS, favicons, cursors. The file sizes will be large of course (base64 encoding incurs a 34% size penalty), but useful in cases where you want portable single file documents.<p>[0] <a href="https://github.com/assemblylanguage/humble" rel="nofollow">https://github.com/assemblylanguage/humble</a>