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. …saved. SingleFileZ [2] can also do this and produce full-text searchable archives. [1] https://github.com/gildas-lormeau/SingleFile [2] https://github.com/gildas-lormeau/SingleFileZ
  2. …just some Wiki pages, this browser extension with some automation on top will do the perfect job: https://github.com/gildas-lormeau/SingleFile No affiliation, just a happy user :)
  3. Save webpages offline as HTML (resources inlined, even things like iframes and web components) https://github.com/gildas-lormeau/SingleFile
  4. …a simple annotation editor that allows you to highlight text and add notes in saved pages. [1] https://github.com/gildas-lormeau/SingleFile/
  5. …chrome web store or firefox addon repo, you can download the extension directly from Github. [1]: https://github.com/gildas-lormeau/SingleFile
    comment by woojoo666 · 2022-06-17 · in Shottr – macOS Screenshot Utility
  6. It can help indeed! Thanks for the suggestion BTW [1] [1] https://github.com/gildas-lormeau/SingleFile/commit/6c7a2ef1...
    comment by gildas · 2022-06-10 · in Write HTML Right
  7. Example "issue" (feature) from the tracker: https://github.com/gildas-lormeau/SingleFile/issues/967 (Also: a huge thank you for creating SingleFile. One of my favourite extensions of all time.)
    comment by isp · 2022-06-10 · in Write HTML Right
  8. You can link it: https://github.com/gildas-lormeau/SingleFile Pretty neat extension!
    comment by sph · 2022-06-10 · in Write HTML Right
  9. I personally save them using the SingleFile browser extension. https://github.com/gildas-lormeau/SingleFile
  10. …to preserve a page referenced by their text, using a tool like SingleFile is a great first step. https://github.com/gildas-lormeau/SingleFile
    comment by voussoir · 2022-04-07 · in Design of This Website (2021)
  11. …locally, and links rewritten to the local PDF; other URLs, after a delay, call the CLI version of https://github.com/gildas-lormeau/SingleFile to run headless Chrome to dump a snapshot, which are manually reviewed by myself & improved as…
    comment by gwern · 2022-04-07 · in Design of This Website (2021)
  12. …Then there's also ArchiveBox[2] which can convert your browser history into various formats. [1] https://github.com/gildas-lormeau/SingleFile [2] https://github.com/ArchiveBox/ArchiveBox
  13. …problems, maybe adjusting css properties a bit. [1] https://github.com/tagspaces/tagspaces [2] https://github.com/gildas-lormeau/SingleFile
  14. …and rather than answering on HN I will integrate it in the FAQ. I created an issue for this here: https://github.com/gildas-lormeau/SingleFile/issues/885 .
  15. For anyone else that didn't read the README, MHTML is mentioned in the comparison section https://github.com/gildas-lormeau/SingleFile#file-format-com...
  16. …is an example of JS code showing how to configure and inject SingleFile with puppeteer [2]. [1] https://github.com/gildas-lormeau/SingleFile/tree/master/cli [2] https://github.com/gildas-lormeau/SingleFile/blob/master/cli...
  17. …an approach I myself have used in the past for simplifying the archival of regulatory texts.) [0] https://github.com/gildas-lormeau/SingleFile/blob/15801c8ef4...
  18. …search because, e.g., both macOS Finder and Windows Explorer index HTML files by default. [0] https://github.com/gildas-lormeau/SingleFile
  19. A browser extension to archive pages: https://github.com/gildas-lormeau/SingleFile
    comment by ffe4b5 · 2021-12-23 · in This page is designed to last (2019)
  20. I'd recommend [SingleFile]( https://github.com/gildas-lormeau/SingleFile ) for saving web pages, [Obsidian]( https://obsidian.md/ ) for taking notes and [Syncthing]( https://syncthing.net/ ) for syncing between devices. Combining these can…
  21. occasionally I use https://github.com/gildas-lormeau/SingleFile
  22. …the context menu of the extension: Auto-save > Auto-save all tabs (or Auto-save unpinned tabs) [1] https://github.com/gildas-lormeau/SingleFile
    comment by gildas · 2021-10-05 · in Tab Unloading in Firefox 93
  23. SingleFile [1] has some basic options allowing you to archive pages you add in your bookmarks. [1] https://github.com/gildas-lormeau/SingleFile
  24. You can use SingleFile for this, see https://github.com/gildas-lormeau/SingleFile/
    comment by gildas · 2021-07-19 · in Deurbanising the Web [pdf]
  25. There is also SingleFile as a browser extension: https://github.com/gildas-lormeau/SingleFile
  26. Regarding a library of HTML documents: https://github.com/gildas-lormeau/SingleFile#install
    comment by rhn_mk1 · 2021-04-05 · in Show HN: PDFs from HTML
  27. …- https://chrome.google.com/webstore/detail/singlefile/mpiodij... - https://github.com/gildas-lormeau/SingleFile
    comment by celsoazevedo · 2021-01-29 · in u/DeepFuckingValue and the GameStop Reddit mania
  28. …when you bookmark it and eventually replace the URL of the page with the file URI on your disk. [1] https://github.com/gildas-lormeau/SingleFile
  29. save web page into a complete single file https://github.com/gildas-lormeau/SingleFile
  30. …the extension for delegating to a "daemon" (based on the CLI code [1]) the capture of a page. [1] https://github.com/gildas-lormeau/SingleFile/tree/master/cli
  31. You could try the awesome SingleFile extension: https://github.com/gildas-lormeau/SingleFile It might be a good compromise between PDF and plain text. It's pretty nice because it essentially serialises a snapshot of the current DOM tree,…
  32. …an option for this ("Misc. > save the page of a newly created bookmark") in SingleFile [1]. [1] https://github.com/gildas-lormeau/SingleFile/
  33. …that. It will compute the cascade, remove almost all the unnecessary rules, and minify the CSS. [1] https://github.com/gildas-lormeau/SingleFile [2] https://github.com/gildas-lormeau/SingleFileZ
  34. …root contents that are missing. It means that JS is required to view this saved page correctly. [1] https://github.com/gildas-lormeau/SingleFile
  35. …do the same but will produce zip files (disguised as HTML files). Disclosure: I'm the author. [1] https://github.com/gildas-lormeau/SingleFile [2] https://github.com/gildas-lormeau/SingleFileZ
    comment by gildas · 2020-02-29 · in Archiving Web Sites (2018)
  36. …line. It will interpret scripts and faithfully save a snapshot of a page in a single HTML file. [1] https://github.com/gildas-lormeau/SingleFile/tree/master/cli
  37. …SingleFile weight 250KB and all the pages saved in PDF weight 25KB? I did a quick test by saving https://github.com/gildas-lormeau/SingleFile/issues?q=is%3Ai... and the HTML file generated by SingleFile is almost 3 times smaller than the…
  38. …generated (i.e. the "hash" parameter the "anchor" function) and is sent to the API of Woleet. [1] https://github.com/gildas-lormeau/SingleFile/blob/master/ext...
  39. For your information, SingleFile can run on Firefox for Android [1]. [1] https://github.com/gildas-lormeau/SingleFile
  40. …of SingleFile if he could implement a save-on-bookmark feature for SingleFile, and he was amenable: https://github.com/gildas-lormeau/SingleFile https://github.com/gildas-lormeau/SingleFile/issues/320
    comment by bloopernova · 2019-12-20 · in This Page is Designed to Last
  41. …https://chrome.google.com/webstore/detail/singlefile/mpiodij... https://github.com/gildas-lormeau/SingleFile
  42. …to the list which allows you to annotate archive of webpages saved in HTML and is 100% free. [1] https://github.com/gildas-lormeau/SingleFile
    comment by gildas · 2019-11-27 · in How to annotate everything
  43. …- [2] https://iipc.github.io/warc-specifications/specifications/wa... - [3] https://github.com/gildas-lormeau/SingleFile#file-format-com...
  44. …repo page there’s a comparison table between different formats that may shed some light in this: https://github.com/gildas-lormeau/SingleFile#file-format-com...
  45. https://github.com/gildas-lormeau/SingleFile/tree/master/cli
  46. …to capture a web page properly is to "execute" it on a browser. Gildas, the guy behind SingleFile ( https://github.com/gildas-lormeau/SingleFile ) is well aware of that and his approach realy works everytime. Try on a Facebook post, a…
  47. You want this: https://github.com/gildas-lormeau/SingleFile/tree/master/cli .
  48. Note that SingleFile can easily run on command line too, cf. https://github.com/gildas-lormeau/SingleFile/tree/master/cli .
  49. FYI, SingleFile can run on command line too, cf. https://github.com/gildas-lormeau/SingleFile/tree/master/cli
  50. …nice format but I'm not sure if there's a library to convert them into stand-alone HTML files. [1] https://github.com/gildas-lormeau/SingleFile Edit: This question just came to mind. If MHTML saves images using base64, and base64 dataurl…