Remix.run Logo
▲ sammy0910 3 hours ago

I've been working on some open source tools for this that you might find interesting:

https://github.com/sstraust/simpleweb

▲sammy0910 3 hours ago | parent | next [-]

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.

▲iLemming 17 minutes ago | parent [-]

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.

▲hollerith 2 hours ago | parent | prev [-]

I like to give my AI assistant a URL and ask it to tell me what the page says — and my preferred way to talk to the assistant is in Emacs.