News for hackers. Stuff that matters.
Re:ArchiveBox: Open-source self-hosted web archiving by dtkav on Friday January 12, 2024 @02:01AM (#38964937)
I also came across ArchiveBox a few days ago to see if I should migrate off my home-grown solution with Puppeteer, SingleFile & readability.js.

I've been working on getting it deployed to fly.io with LSVD so it can scale to zero while storing everything on an S3-backed volume as described here[0].

My biggest disappointment so far is that it seems like a fairly large lift to make ublock origin work because extensions don't work in headless chrome (?). It seems like using pihole is current best method to block ads [1].

[0] https://community.fly.io/t/bottomless-s3-backed-volumes/1564... [1] https://github.com/ArchiveBox/ArchiveBox/issues/211

Re:ArchiveBox: Open-source self-hosted web archiving by nikisweeting on Monday January 15, 2024 @05:59PM (#39007210)
Extensions do work in headless chrome! It's tricky but it should work by adding these to the default CHROME_ARGS:

`--disable-extensions-except=/path/to/your/extension/` `--load-extension=/path/to/your/extension/`