I’v recently been using Monolith[0] and I find it’s creation of a single html file much more convenient. It’s also written in Rust so I’m sure that will make the source code a bit more accessible for some.
[0] https://github.com/chowderman/hyperfiler
* disclaimer: I created HyperFiler