No description
  • JavaScript 92.4%
  • Go 6.4%
  • HTML 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-30 18:17:43 +08:00
cmd/nexus feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
deploy feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
src feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
.gitignore feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
go.mod feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
index.html feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
package-lock.json feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
package.json feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
README.md feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00
vite.config.js feat: add Nexus React and Go interaction demo 2026-10-30 18:17:43 +08:00

Layla Nexus — interaction demo

React + Go prototype, inspired by Layla TAB platform (not Controller) visual tokens.

Scope

Interactive workspace overview, applications, simulated RDP session, connection forms, permission toggles, gateway example reports, audit examples, theme switching. All business data is illustrative and browser-memory-only. No real login, TOTP, remote desktop, dynamic package execution, S3/WebDAV or PostgreSQL connection is implemented. Do not enter production secrets into this demo.

The Go server serves the built frontend, /api/health, and a real six-event SSE diagnostic at /api/demo/events. It is a demo server, not a production authenticated gateway.

Run

npm install
npm run build
go run ./cmd/nexus

Open http://127.0.0.1:8090. NEXUS_ADDR overrides the listen address; NEXUS_DIST overrides the frontend directory. For frontend development run the Go server and npm run dev (Vite proxies /api to port 8090).

Next milestone

Agree on layout, then implement identity and permissions, package lifecycle, service gateway, connection vault, PostgreSQL persistence and Remote application integration. Keep platform SDK independent of business UI. Never commit credentials.

Test deployment

  • URL: http://10.10.10.102:18090
  • Directory: /opt/Layla_Nexus
  • Service: layla-nexus-demo.service (systemd, dynamic unprivileged user)
  • Build: go build -o bin/nexus ./cmd/nexus
  • No database is used or modified in this prototype.
  • No authentication is implemented; only illustrative data is served on the test LAN.

Validation: Vite production build, Go 1.26.8 go vet and build; browser checks for application navigation, simulated RDP session and six-event Go SSE stream.