logoalt Hacker News

sammy0910 • yesterday at 7:47 PM • 2 replies • view on HN

the idea is to open a webpage in a headless browser, run all the javascript and whatnot, and then ai-generate a program to translate the page as-displayed into a textonly format.

not great for everything, and it does, unfortunately need an LLM call to generate the translation program, but if you truly want to live in emacs, I've found it as a good stop-gap for certain pages that EWW cannot effectively render.


Replies

iLemming • yesterday at 10:17 PM

You don't need AI for that, this all can be done deterministically. I'm currently using Mac and using OSA layer I can easily grab the readable text out of DOM as it's rendered on the page to display in an Emacs buffer.

Buttons840 • yesterday at 11:53 PM

Is the web going to swing back to a place where you exchange information in text?

Goodbye ads, and good riddance.