nx_ui_serve.nx
buildroot/runtime/nx_ui_serve.nx
about
nx_ui_serve.nx -- serve the sovereign interactive UI LIVE, now STATEFUL.
Composes THREE reused cores (no one-offs):
- nx_http_server.nx -- listen / accept / read-request (the search site's core)
- nx_ui_lib.nx -- the fd-based interactive render (composable open/close)
- nx_recordlog.nx -- the reusable append-only record store
A click GETs /?region=N&zoom=Z -> we LOG the pain spot (recordlog_append) and
re-render the map PLUS a running tally (recordlog_count). So the body-map is a
real tracker: click where it hurts, it persists, you see your history. Sovereign
round-trip, ZERO JS, loopback-bound. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_http_server.nxnx_ui_lib.nxnx_recordlog.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
| 16 | const UI_MAGIC_8192: i64 = 8192 |
| 17 | const UI_MAGIC_1024: i64 = 1024 |
| 19 | const UI_PORT: i64 = 8181 |
| 20 | const PAINLOG: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/_offc/nx_painlog.tsv" |
functions
| 22 | func main() -> i64 |