gildas-lormeau/single-file-cli
View on GitHub ↗ ★ 1,679 JavaScript
CLI tool for saving a faithful copy of a complete web page in a single HTML file (based on SingleFile)
9 mentions on Hacker News by 7 people: 0 stories, 9 comments · first 2022-11-17 · latest 2026-06-15
20082026
-
Singlefile supports scoped recursive crawls too: https://github.com/gildas-lormeau/single-file-cli#:~:text=an... I highly recommend reading the singlefile source or https://archiveweb.page/ to see how they handle closed shadow DOMs,…
comment by nikisweeting · 2026-06-15 · in Show HN: Kage – Shadow any website to a single binary for offline viewing -
…also offer a CLI powered by Puppeteer. [1] [0]: https://github.com/gildas-lormeau/singlefile [1]: https://github.com/gildas-lormeau/single-file-cli
comment by maxloh · 2026-06-14 · in Show HN: Kage – Shadow any website to a single binary for offline viewing -
…if I don't want to print it. It's a browser extension, but there's also a command line version ( https://github.com/gildas-lormeau/single-file-cli ) that uses Chrome or Chromium's headless mode.
comment by RiverCrochet · 2025-10-01 · in Ask HN: What is nowadays (opensource) way of converting HTML to PDF? -
You can have a look at the last 2 examples here [1]. [1] https://github.com/gildas-lormeau/single-file-cli?tab=readme...
comment by gildas · 2024-03-25 · in Monolith – CLI tool for saving complete web pages as a single HTML file -
…Note that since version 2, it is now possible to download executable files of the CLI tool [1]. [1] https://github.com/gildas-lormeau/single-file-cli/releases
comment by gildas · 2024-03-24 · in Monolith – CLI tool for saving complete web pages as a single HTML file -
An acquaintance of my second cousin has experimented with SingleFile CLI ( https://github.com/gildas-lormeau/single-file-cli ) and she reports it works great (it is rather heavyweight because it does invoke headless Chromium or even…
comment by tenebrisalietum · 2024-01-16 · in Is Google Getting Worse? A Longitudinal Investigation of SEO Spam in Search [pdf] -
This is amazing, looks like there's a cli version too: https://github.com/gildas-lormeau/single-file-cli Presumably you can roll your own pocket now.
comment by tra3 · 2023-07-09 · in Pocket gets worse the more you use it (2019) -
…on its checksum ( b2sum -l 32 ), so I can have multiple archived copies of the same URL. I use https://github.com/gildas-lormeau/single-file-cli to save the URL. I determine the destination file extension from the MIME type. This gives you…
comment by networked · 2023-05-28 · in Ask HN: How to organize archived webpages locally? -
You can run SingleFile from the command line actually :) See https://github.com/gildas-lormeau/single-file-cli
comment by gildas · 2022-11-17 · in Show HN: SingleFile is finally available on Safari (macOS/iOS)