Project Hub: one Node process on loopback

Project Hub: one Node process on loopback An architecture diagram generated by Archify. You · any browser tab · Architecture component You any browser tab Explorer UI · one file, no build · Architecture component · hub/index.html Explorer UI one file, no build hub/index.html HTTP server · Host check, CSP on every reply · hub.mjs, one Node process · 127.0.0.1:4273 HTTP server Host check, CSP on every reply 127.0.0.1:4273 Scan payload · built off the main thread · hub.mjs, one Node process Scan payload built off the main thread Scanner · tree walk + git status · hub.mjs, one Node process Scanner tree walk + git status resolveId() gate · roots only, no secrets · hub.mjs, one Node process resolveId() gate roots only, no secrets Workspace folders · projects + shared roots · Architecture component Workspace folders projects + shared roots Config loader · hub + projects/*/ configs · hub.mjs, one Node process Config loader hub + projects/*/ configs Watcher · 2.5 s debounce, 30 s gap · hub.mjs, one Node process Watcher 2.5 s debounce, 30 s gap Native launch · PowerShell, path as env · hub.mjs, one Node process Native launch PowerShell, path as env Watchdog · every 15 min · Architecture component · Watch-Hubs.ps1 Watchdog every 15 min Watch-Hubs.ps1 Demo build · real hub on a fixture · Architecture component · build-demo.mjs Demo build real hub on a fixture build-demo.mjs Demo site · GitHub Pages · Architecture component · project-hub-demo. Demo site GitHub Pages project-hub-demo. browses /api/* + SSE /api/scan builds walks path ids reads roots watch list fs events rescan /api/open /api/health demo/site hub.mjs, one Node process Legend Frontend Backend Database Cloud Security External