code wiki / _hdl_build / nx_webpub_extract.nx

nx_webpub_extract.nx

buildroot/runtime/_hdl_build/nx_webpub_extract.nx

3212 B62 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_webpub_extract.nx -- SOVEREIGN render+extract half of the web-publishing best-practices research (operator 2026-06-17 "use the nishi researcher on our web publishing, give honest feedback"). Reads the six raw HTTP responses from nx_webpub_fetch, strips headers, renders HTML->text (nx_html_to_text), saves the text, runs ce_extract (number+unit fact claims). Lives in _hdl_build/ for the nx_claim_extract + ../nx_html_to_text import paths. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_claim_extract.nx nx_html_to_text.nx nx_webpub_extract.nx

imports: nx_syscalls.nxnx_claim_extract.nxnx_html_to_text.nx

imported by: nobody (leaf or entry point)

structs

none

consts

9const K_MAGIC_4194304: i64 = 4194304
10const K_MAGIC_4194303: i64 = 4194303

functions

12func we_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
13func we_putn(v: i64) -> i64
22func render_one(raw_path: *u8, txt_path: *u8) -> i64
51func main() -> i64