code wiki / _hdl_build / nx_hub_page.nx

nx_hub_page.nx

buildroot/runtime/_hdl_build/nx_hub_page.nx

4437 B57 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic hub
docsdependenciesstructsconstsfunctions

about

nx_hub_page.nx -- the clean LANDING HUB for nishifamily.com (served behind the Nishi Family OPAQUE). One page that fans out to every branch: Wiki, Library, Ops, Games, Media, AI, ... Each branch is a card; live branches link, coming branches are marked honestly. Emitted to wiki_pages/hub.html so the OPAQUE daemon's gated /wiki route already serves it. Sovereign: nx_syscalls + nx_wiki_skin_lib. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_wiki_skin_lib.nx nx_hub_page.nx

imports: nx_syscalls.nxnx_wiki_skin_lib.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 skin_open sk_cat sk_nav sk_cat ↻ sk_streq sk_cat ↻ hp_card sk_cat ↻ skin_close sk_cat ↻ sk_catn sys_mmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_openat_wr sys_write sys_exit sys_close sk_catn ↻

structs

none

consts

8const HUB_MAGIC_262144: i64 = 262144
10const HUB_OUT: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/knowledge/wiki_pages/hub.html"
19const HUB_ACCESS_JS: *u8 = "<script>(function(){var t=sessionStorage.getItem('nsess');if(!t)return;fetch('/access',{headers:{'X-Nishi-Session':t}}).then(function(r){return r.ok?r.json():null}).then(function(j){if(!j||!j.links)return;var pub={'/wiki':1,'/video':1};var out='';for(var i=0;i<j.links.length;i++){var L=j.links[i];if(pub[L.url])continue;out+='<a class=\"card\" href=\"'+L.url+'\"><b>'+L.label+' &rarr;</b><span>Private &mdash; only visible to you.</span></a>'}if(out){document.getElementById('pa').innerHTML=out;document.getElementById('ph').style.display=''}}).catch(function(){})})();</script>"

functions

21func hp_card(buf: *u8, off: i64, href: *u8, title: *u8, desc: *u8, live: i64) -> i64
called by 1: main calls 1: sk_cat
34func main(argc: i64, argv: *i64) -> i64