Files
waoziandClaude Opus 5.5 487ccd22cd Load pages in Ziran instead of a Python worker
Navigation no longer forks python3 scripts/fetch.py and round-trips JSON
through temporary files. src/url.zi resolves links per RFC 3986 and keeps
the old rules (http, https and local file URLs only, no credentials).
src/transport.zi streams curl, as Ziran's std HTTPS GET does, through
std/process_channel_linux and drains it each frame without blocking;
redirects may only reach HTTP(S), documents stay within 512 KiB, only HTML
and text types load and invalid UTF-8 becomes U+FFFD. Local files and the
start page (now embedded in src/start_page.zi) are read directly, so the
app ships no data files. Typed addresses no longer resolve against the
current page, so "example.com" typed on the start page loads.

tests/transport_test.zi checks resolution, limits, local files and HTTP
redirects; Python remains only as its fixture server.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-14 01:13:36 -03:00

680 B

Browser

The HTML parser, CSS cascade, document model, layout and product UI belong in this repository, written in Ziran with Kryon. Use real Ziran packages and std modules instead of side programs: src/url.zi resolves addresses and src/transport.zi loads documents through std/process_channel_linux and curl, as Ziran's std HTTPS GET does. Never reintroduce a Python worker or invoke another browser; Python is allowed only as a test fixture server. Keep credentials out of logs. Do not run page scripts or submitted forms as shell commands. Tests and screenshots run on private Xvfb with inherited display and session variables removed. Never edit dependency checkouts.