code wiki / _hdl_build / nx_hub_page.nx
nx_hub_page.nx
buildroot/runtime/_hdl_build/nx_hub_page.nx
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
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
structs
| none |
consts
| 8 | const HUB_MAGIC_262144: i64 = 262144 |
| 10 | const HUB_OUT: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/knowledge/wiki_pages/hub.html" |
| 19 | const 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+' →</b><span>Private — only visible to you.</span></a>'}if(out){document.getElementById('pa').innerHTML=out;document.getElementById('ph').style.display=''}}).catch(function(){})})();</script>" |
functions
| 21 | func hp_card(buf: *u8, off: i64, href: *u8, title: *u8, desc: *u8, live: i64) -> i64 |
| 34 | func main(argc: i64, argv: *i64) -> i64 |