Skip to main content

Module web

Module web 

Source
Expand description

In-world web reader — the old web, inside the Thread.

Signboards and links on the Thread point at ordinary https:// pages. Rather than kick you out to an OS browser, this fetches the page on a background thread, renders a reader view (title + readable text + followable links) in an in-world panel, and lets you walk the 2D web without ever leaving the Thread browser. It’s a reader, not a full engine — no JS/CSS layout — but it keeps you in-world and is dependency-free, robust, and testable. (A full embedded page surface via an offscreen browser engine is the later upgrade.)

Structs§

ReaderDoc
A reader-view rendering of a page.
WebReader
The in-world web reader (one page at a time, with back-history).
WebView
An owned snapshot for rendering.

Functions§

read_html
Turn raw HTML into a reader view: title, readable text, absolute links.