-
Notifications
You must be signed in to change notification settings - Fork 0
Web
The Web console is a browser client for KinopioHub cloud variables and NATS messages. It joins the namespace selected for the console, so use the same namespace as the devices and services that should exchange data. A namespace organizes shared data; it is not an authorization boundary.
Browsers connect only through a reachable WS/WSS client endpoint. They do not host or elect a broker. See the JavaScript API, variables, events and requests, and networking for the shared contract.
In KinopioHub.web:
npm install
npm run devOpen the URL printed by Vite and configure a reachable WS/WSS client endpoint. Browser access from an HTTPS page requires WSS with a trusted certificate. A request needs an application responder for its subject; its response represents the completion rule implemented by that responder.
Note: Cloud variables hold current RAM values, not history or durable commands.
set()updates local RAM, andflush()confirms NATS transport; neither confirms that a device applied a requested action. Use an application response or reported value when execution confirmation matters. Events are transient: they are not buffered offline or replayed.
Note: Connection profiles and UI preferences are stored locally in the browser. Shared links carry non-secret connection/UI settings; do not put tokens, passwords or credential files in a URL.
npm run typecheck
npm run build
npm run previewDeploy dist/ with a static web server. Configure SPA fallback to index.html; avoid long caching of that file and cache hashed assets normally. Existing Caddy deployment files are environment-specific examples, not public test endpoints.
Font assets live in public/fonts/; check their distribution terms before republishing them.
Home · 简体中文 · Edit the docs · 文档维护
Start here: JavaScript quick start · 快速上手
- JavaScript: Start / API · 中文
- Python: Start / API · 中文
- C++: Start / API · 中文
- ESP32: Start / API · 中文
- ROS 2: Start / Config · 中文