Gildas Lormeau
banner
gildas-lormeau.bsky.social
Gildas Lormeau
@gildas-lormeau.bsky.social
JavaScript expert of my neighborhood. Author of zip.js and SingleFile. Founder of SEO4Ajax.

See more here: https://github.com/gildas-lormeau
Thank you for the kind words!

#HTML #FTW
March 21, 2025 at 4:27 PM
It's now available online, which can be quite handy on Firefox or Safari.

gildas-lormeau.github.io/mhtml-to-htm...
MHTML Viewer
gildas-lormeau.github.io
January 26, 2025 at 11:18 PM
For the record, I've tested it with over a hundred various files gleaned from GitHub and saved by IE (versions 5 to 11), UnMHT, MAF, and of course Chrome Desktop and Chrome Android (i.e. binary encoded data). It should be robust but do not hesitate to report bugs.
January 12, 2025 at 11:23 PM
LOL, no
December 15, 2024 at 6:19 PM
Basically, you've installed a software on your computer...
November 22, 2024 at 12:32 AM
Did you click on the link?

Congratulations! From now on, this URL will work even if you're offline!
And, just in case, you've even got almost 1 hour of the best 80s gaming hits with a BPM > 120! Just click on “||” at the bottom of the page!
November 22, 2024 at 12:31 AM
Did you click on the link?

Congratulations! From now on, this URL will work even if you're offline!
And, just in case, you've even got almost 1 hour of the best 80s gaming hits with a BPM > 120! Just click on “||” at the bottom of the page!
November 22, 2024 at 12:26 AM
You can expect at least 45 minutes to read the full presentation. I really had a lot of fun implementing this file format and I'm happy to share it 😉
November 21, 2024 at 11:06 PM
You're welcome, For your information, this presentation shows the technical challenges behind this polyglot file format.
HTML Meets ZIP Meets PNG: When Files Have More Layers Than an Onion
Learn how to create HTML/ZIP/PNG polyglot files in JavaScript
gildas-lormeau.github.io
November 21, 2024 at 10:46 PM
I'm glad to hear it :) You can even embed a PDF with single-file CLI!

npm install single-file-cli
npx single-file \
--compress-content \
--self-extracting-archive \
--embed-screenshot \
--embed-pdf \
--dump-content \
www.example.com > output.png.zip.pdf.html
GitHub - gildas-lormeau/single-file-cli: CLI tool for saving a faithful copy of a complete web page in a single HTML file (based on SingleFile)
CLI tool for saving a faithful copy of a complete web page in a single HTML file (based on SingleFile) - gildas-lormeau/single-file-cli
github.com
November 21, 2024 at 10:39 PM
I highly recommend you take a look at it, because you won't see it on HN!
November 21, 2024 at 12:31 AM
And a PDF document!
November 20, 2024 at 10:50 PM