Image missing.
Gwtar: A static efficient single-file HTML format

created: Feb. 15, 2026, 3:37 p.m. | updated: Feb. 16, 2026, 2:48 p.m.

A Gwtar is a classic fully-inlined HTML file, which is then processed into a self-extracting concatenated file of an HTML + JavaScript header followed by a tarball of the original HTML and assets. An ordinary ‘save as page HTML’ browser command doesn’t work because “Web Page, HTML Only” leaves out most of a web page; even “Web Page, Complete” is inadequate because a lot of assets are dynamic and only appear when you interact with the page—especially images. It also achieves another nice property: the snapshot is a single file, just a simple single .html file, which makes life so much easier in terms of organizing and hosting. Hence, a SingleFile archive is static, and a single file, but it is not efficient: viewing it requires downloading unnecessary assets. So, we could either host a regular SingleFile archive, which is static, single, and inefficient; or a deconstructed archive, which is static, multiple, and efficient, but not all 3 properties.

3 weeks, 5 days ago: Hacker News