Comment by machomaster
14 hours ago
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 Extension (and a CLI tool) compatible with Chrome, Firefox (Desktop and Mobile), Microsoft Edge, Safari, Vivaldi, Brave, Waterfox, Yandex browser, and Opera."
I use LinkDing for website bookmarking and storage/archiving needs. It is a great and stable piece of software. It archives using a Chrome web driver. Sometimes that fails, e.g. on Captchas, very heavy JS sites or sites behind login. Those I save with SingleFile and attach in LinkDing manually. Simple and works!
SingleFile can send to self-hosted LinkWarden. So good
It can also send to a self-hosted linkding, quite nice: https://linkding.link/archiving/#using-the-singlefile-browse...
Don't most browsers do this natively? Firefox saves single pages as html. Chrome saves pages as mhtml which isn't supported in firefox but can be easily converted if there's ever a need.
No it doesn't. Firefox (not sure about Chrome) saves to html, which:
1. Leaves all kinds of css, image file, which might be hundreds for each saved page. SingleFile saves everything in a convenient, working, single file. 2. is not really saving all the info.
I got burned when I was using Mozilla/Internet Explorer to save mhtml files, which ended up not being supported anymore. Additionally, turns out, they were saving the original versions of pages, without the Javascript changes, meaning that all the opened threads of comments I wanted to save were never saved! Never again!
Firefox has a "complete HTML" option in the save dialog which puts all those assets in a separate directory.
It doesn't work well with assets served via CDN, for example.