Hacker News new | ask | show | jobs
by bccdee 1275 days ago
I wish there were a convention for sharing whole websites. Even a zip file containing an index.html plus images, css, other pages, etc. would be fine if browsers just supported it.
1 comments

The SingleFile browser extension can export a webpage into one HTML with all images, fonts, etc that are needed embedded in the HTML.
Yeah but that works through base64 data urls, which are clumsy. Epubs are zips of separate resources and that works great. We should have an equivalent for webpages and other similar documents—a digital-first competitor to pdfs. Or maybe just broader compatibility for epubs, such as first-class browser support.
You might prefer SingleFileZ, see https://github.com/gildas-lormeau/SingleFileZ