code wiki / _hdl_build / nx_video_embed_bundle.nx

nx_video_embed_bundle.nx

buildroot/runtime/_hdl_build/nx_video_embed_bundle.nx

2802 B55 linesdepth 2pulls 3 transitivereach 0 importersview sourcekind tooltopic video
docsdependenciesstructsconstsfunctions

about

nx_video_embed_bundle.nx -- emits the SELF-CONTAINED sovereign embed bundle nishi-video.js (organ-emitted SSOT for the <nishi-video> Web Component). Reads the sovereign wasm core + base64-encodes it (standard alphabet, browser-atob-compatible) + prepends it to the component template -> ONE file a host site drops in with NO cross-origin asset fetch (only the WSS is cross-origin, which the relay accepts). Hardware-up: we own the entire bundle; the wasm is still the sovereign nx-compiled core, just carried inline. out: web_assets/nishi-video.js expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_base64.nx nx_video_embed_bundle.nx

imports: nx_syscalls.nxnx_base64.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close bw sys_write b64_encode b64_enc_char sys_openat_wr sys_write ↻ sys_close ↻ bn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

10func bw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
11func bn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
16func main() -> i64