Show HN: dn – full-text search and archiving for your Chromium-based browser
github.com
github.com
I think this is okay as long as there is a compatible protocol. FF was supporting RDP/CDP for a while but recently shifted away in favor of WebDriver BiDi[0], which supports the methods required for dn[1], and now appears at parity support between Chrome and Firefox[2]
I imagine we'll get FF support in the latter half of this year.
0: https://fxdx.dev/deprecating-cdp-support-in-firefox-embracin...
1: https://w3c.github.io/webdriver-bidi/#module-network-command...
2: https://puppeteer.github.io/ispuppeteerwebdriverbidiready/
Also the binary build process now uses Node’s built in support for single executable applications, rather than a legacy solution like pkg
You could do something similar with a proxy, but it may run into issues with HTTPS, which this gets around as we are beyond the terminator. In this way, you can serve the content, and save the content, via getting in the middle of the same fetch process and the browser doesn't know the difference (mostly).
There's also somewhat equivalent surface exposed by WebDriver BiDi: https://w3c.github.io/webdriver-bidi/#module-network-command...
If you want to read more about these sorts of protocols, see: https://firefox-source-docs.mozilla.org/remote/index.html
You could even have the index available as well. I imagine like you can create an archive on a topic you're expert on, and then it's like a little subject-matter focused search engine and library for that. :)