Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2024 (3)
20082026
  1. 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,…
  2. …also offer a CLI powered by Puppeteer. [1] [0]: https://github.com/gildas-lormeau/singlefile [1]: https://github.com/gildas-lormeau/single-file-cli
  3. …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.
  4. You can have a look at the last 2 examples here [1]. [1] https://github.com/gildas-lormeau/single-file-cli?tab=readme...
  5. …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
  6. 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…
  7. 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.
  8. …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…
  9. You can run SingleFile from the command line actually :) See https://github.com/gildas-lormeau/single-file-cli