I'm surprised there no off-the-shelf #selfhosted solution for scraping and indexing browsing history for #personalknowledgebase use...
@Sidneys1 ArchiveBox has a shell script you can use to export browser history but it's not an automatic as-you-browse thing: https://github.com/ArchiveBox/ArchiveBox/wiki/Quickstart#2-get-your-list-of-urls-to-archive
Quickstart

🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more... - ArchiveBox/ArchiveBox

GitHub
@jordan yes, I've looked at stuff like that. I think it's sort of half of what I'm thinking of. :)