Hacker GitHub

← All repos

gildas-lormeau/SingleFile

View on GitHub ↗ ★ 22,803 JavaScript

Web Extension for saving a faithful copy of a complete web page in a single HTML file

113 mentions on Hacker News by 66 people: 7 stories, 106 comments · first 2018-07-04 · latest 2026-10-27

Mentions per year 113 mentions · busiest year 2022 (23)
20082026
  1. …feature should be enough, but for more 'save for later' 'bookmark' it, i prefer and very often use https://github.com/gildas-lormeau/SingleFile
    comment by neilmyers1980 · 2026-10-27 · in Websites Should Be Printable
  2. Another very useful project is SingleFile. I was ecstatic when I found out about its existence. https://github.com/gildas-lormeau/SingleFile "SingleFile helps you to save a complete web page into a single HTML file. SingleFile is a Web…
  3. I came here to mention https://github.com/gildas-lormeau/singlefile , I couldn't get it to do what I want so I built my own, for watched domains it pushes a copy of the serialized DOM to a local search database. For structured data, either…
  4. …and images) are packed as base64 strings. They also offer a CLI powered by Puppeteer. [1] [0]: https://github.com/gildas-lormeau/singlefile [1]: https://github.com/gildas-lormeau/single-file-cli
  5. …files, you may consider this obstacle small. [1] https://en.wikipedia.org/wiki/Data_URI_scheme [2] https://github.com/gildas-lormeau/SingleFile
    comment by Agraillo · 2025-12-12 · in An SVG is all you need
  6. …content into a static page. 0: https://chromewebstore.google.com/detail/webrecorder-archive... 1: https://github.com/gildas-lormeau/SingleFile
    comment by Intralexical · 2025-11-12 · in Perkeep – Personal storage system for life
  7. …of SingleFile here. Sorry, this is obviously not normal. Please feel free to report any bugs here https://github.com/gildas-lormeau/SingleFile/issues .
  8. https://github.com/karakeep-app/karakeep https://github.com/gildas-lormeau/SingleFile
    comment by toomuchtodo · 2025-11-12 · in Perkeep – Personal storage system for life
  9. …asset dependencies within a message), similar to what https://github.com/karakeep-app/karakeep and https://github.com/gildas-lormeau/SingleFile do with url bookmarks, and attach it (or otherwise associate it) to the message. Optional of…
  10. …it takes up a lot of disk space. $ du -h ~/archive/webpages 1.1T /home/andrew/archive/webpages https://github.com/gildas-lormeau/SingleFile
  11. If that's all you need, you could try the SingleFile browser extension. Works great on mobile, too. https://github.com/gildas-lormeau/SingleFile
    comment by pablomalo · 2025-05-23 · in Mozilla to shut down Pocket and Fakespot
  12. OP's workflow might be much more efficient with use of https://github.com/gildas-lormeau/SingleFile/ It can handle most of what they describe for things like private/paywalled pages or media enclosures or completely self-contained archives…
  13. Links: - SingleFile: https://github.com/gildas-lormeau/SingleFile - Linkding: https://github.com/sissbruecker/linkding - BeautifulScript4: https://beautiful-soup-4.readthedocs.io/en/latest/ (assumed that was the python library Beautiful…
  14. …snapshot was taken(including all the images, this is pretty easy to do with something like https://github.com/gildas-lormeau/SingleFile ) of the page and is available even if the original page is lost.
    comment by atulvi · 2025-01-27 · in Ask HN: Good Pocket Alternative
  15. …everyone) and zero mention of projects like Archivebox ( https://Archivebox.io ) or Singlefile ( https://github.com/gildas-lormeau/SingleFile/ )
    comment by seltzered_ · 2025-01-23 · in DIY Web Archiving Zine
  16. SingleFile respects your privacy, you can find the privacy policy here [1]. [1] https://github.com/gildas-lormeau/SingleFile/blob/master/pri...
  17. See https://github.com/gildas-lormeau/SingleFile/blob/master/faq...
  18. …to the "save" built into the browsers having said that, this here is an instant "nope" for me https://github.com/gildas-lormeau/SingleFile/blob/master/faq... > By default, SingleFile removes scripts because they can alter the rendering and…
  19. I use https://github.com/gildas-lormeau/SingleFile I set it to tolerate longer processing times, and to open the file after saving so I can sanity check that it got everything. Works great at faithfully saving a page with images as it…
    comment by Modified3019 · 2024-12-21 · in Is stuff online worth saving?
  20. ▲ 122
    Singlefile: A web extension to save a complete web page into a single HTML file
    story by throw0101a · 2024-12-21 · 47 comments
  21. …academic field. Professionals prefer to rely on tools based on the WARC specification instead. [1] https://github.com/gildas-lormeau/SingleFile/blob/master/faq...
    comment by wis · 2024-12-21 · in Is stuff online worth saving?
  22. …the repo. (Ok it's probably closer to archiving than bookmarking... but it's not too far off) [1] https://github.com/gildas-lormeau/SingleFile
    comment by montebicyclelo · 2024-12-21 · in Is stuff online worth saving?
  23. …with this? You might want to try SingleFile, i often use it and it's really good in my opinion: https://github.com/gildas-lormeau/SingleFile https://addons.mozilla.org/en-US/firefox/addon/single-file/?... PS. I sync the particular folder i…
    comment by DavideNL · 2024-10-30 · in Omnivore Is Joining ElevenLabs
  24. …it supports a distraction free copy of the website. I can highly recommend taking a look. [1] https://github.com/gildas-lormeau/SingleFile
    comment by zirkuswurstikus · 2024-10-18 · in Using static websites for tiny archives
  25. …with HTML, ZIP and PNG [2], and for example display the PNG image in the HTML page [3]. [1] https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-f... [2] https://github.com/gildas-lormeau/Polyglot-HTML-ZIP-PNG [3]…
    comment by gildas · 2024-09-07 · in WebP: The WebPage Compression Format
  26. …an addon called single file, you can use it to save the whole page with assets (except videos) https://github.com/gildas-lormeau/SingleFile
  27. …how does it compare to SingleFile (Chrome extension based)? I can't tell what the output would be. https://github.com/gildas-lormeau/SingleFile
  28. …format. ArchiveBox may support Safari webarchives, but for some reason they omit it in their docs. https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-f... https://archivebox.io/#output-formats
  29. …remains a surprisingly annoying and fiddly problem You may be interested in SingleFile[1] [1] https://github.com/gildas-lormeau/SingleFile I use it all the time to archive webpages, and I imagine it wouldn't be hard to throw together a…
  30. …to use each dynamic feature at least once, to trigger requests for needed resources. SingleFile: https://github.com/gildas-lormeau/SingleFile LWN on WARC, tools: https://anarc.at/blog/2018-10-04-archiving-web-sites/ Self-hostable web…
    comment by Intralexical · 2024-05-28 · in The Internet Archive is under a DDoS attack
  31. …the project here [1] in the section "Sponsor this project" at the bottom right of the page. [1] https://github.com/gildas-lormeau/SingleFile
  32. https://github.com/gildas-lormeau/SingleFile
  33. You can find a comparison of file formats here: https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-f...
  34. …the options page (cf. "Destination" section), and set up Joplin to synchronize with the server. [1] https://github.com/gildas-lormeau/SingleFile
  35. You should try SingleFile, see https://github.com/gildas-lormeau/SingleFile
  36. …well. Looking to focus. I'll revisit Firefox and SingleFile. Explanation of the zip file inside. https://github.com/gildas-lormeau/SingleFile/blob/master/faq...
  37. Super interesting! Haven't seen this before. Very creative (abuse?) of zip files! :-) https://github.com/gildas-lormeau/SingleFile/blob/master/faq...
    comment by emmanueloga_ · 2024-01-26 · in Portable EPUBs
  38. You can use the combination of SingleFile ( https://github.com/gildas-lormeau/SingleFile/ ) and Obsidian/Templater for that.
    comment by machomaster · 2024-01-18 · in Why I Like Obsidian
  39. …as self-extracting ZIP [2]. The innovation is the integration of the screenshot in PNG format. [1] https://github.com/gildas-lormeau/SingleFile [2] https://github.com/gildas-lormeau/SingleFile/blob/master/faq...
  40. Have you tried SingleFile? It sounds like what you’re looking for: https://github.com/gildas-lormeau/SingleFile
  41. Have you seen SingleFile? https://addons.mozilla.org/en-US/firefox/addon/single-file/ https://github.com/gildas-lormeau/SingleFile
  42. …website in the ZIP. I think this is technically possible, someone just have to code it. [1] https://github.com/gildas-lormeau/SingleFile#singlefile
    comment by gildas · 2023-10-22 · in My website is one binary (2022)
  43. …for later reference. It obviously doesn’t work for very dynamic pages, let alone web apps. [1] https://github.com/gildas-lormeau/SingleFile
  44. …over the years but nothing beats saving everything to your local filesystem using [SingleFile]( https://github.com/gildas-lormeau/SingleFile ) and using a full-text search frontend over the directory (something like Houdahspot, for…
    comment by darkteflon · 2023-07-09 · in Pocket gets worse the more you use it (2019)
  45. …extension. Add Recoll to the mix and that's all I need. https://github.com/deathau/markdownload https://github.com/gildas-lormeau/SingleFile https://www.lesbonscomptes.com/recoll/pages/index-recoll.htm...
  46. …handy. It's not "archival quality", though, if that's the kind of "archiving" you're doing. [0] https://github.com/gildas-lormeau/SingleFile
  47. …needs to embrace some form (or mish-mash of various forms) of truly dcentralized archiving. ^0: https://github.com/gildas-lormeau/SingleFile ^1: https://github.com/ArchiveBox/ArchiveBox ^2: https://github.com/dosyago/DiskerNet
  48. …There's also plent¥ of other similar tools: - https://github.com/ArchiveBox/ArchiveBox - https://github.com/gildas-lormeau/SingleFile
    comment by graderjs · 2022-12-09 · in Internet Archive Scholar
  49. https://github.com/gildas-lormeau/SingleFile It encodes image media in base-64 and produces an HTML single file. And, if I want to remove parts of the page, https://chrome.google.com/webstore/detail/print-edit-we/olnb... which can save in…
  50. …it downloads the website as a single file and allows annotations like sticky notes as well. https://github.com/gildas-lormeau/SingleFile