single.gbui - Simplified Chat Interface π‘ BETA
What it is. A single-file HTML shell at botui/ui/suite/default.gbui. It contains its own header, apps dropdown, user avatar and main content area, and switches between sections including Chat, Drive, Tasks and Mail. It is not a separate chat product and not the default desktop shell.
Open it. Serve botui/ui/ and open /suite/default.gbui. For normal use open the suite shell and choose Chat.
Do this. Use the apps dropdown to switch section; Alt+1 opens Chat. Keep the file as a reference for a minimal, self-contained shell.
Overview
| Artefact | What the source shows |
|---|---|
botui/ui/suite/default.gbui |
One HTML file, 410 lines, local scripts only |
| Header | Logo, reload control, apps button, user avatar |
| Sections | chat, drive, tasks, mail |
| Scripts | js/vendor/livekit-client.umd.min.js, js/vendor/marked.min.js, js/theme-manager.js, js/layout.js |
Features
Core Components
- Loading overlay shown until the shell initialises.
- Apps dropdown populated from the section list.
- Main content area that swaps on section selection.
- Theme manager from the shared suite JavaScript.
Design Philosophy
One file, local assets only, no external stylesheet or CDN. The shell keeps the same identity tokens as the rest of the suite.
Responsive Behavior
Desktop
Header and content area are laid out by js/layout.js.
Mobile
The pane contract is the supported compact form-factor implementation. default.gbui does not add its own mobile rules.
Styling
Use css/app.css, css/config-colors.css and css/markdown-message.css as the file does. Put overrides in a local theme, not in inline style attributes.
Dark Mode
js/theme-manager.js supplies theme handling; the token layer defines light and dark values. See Theme Structure.
WebSocket Integration
The file monitors connection status for a WebSocket but does not define a separate protocol. Use the transport in WebSocket Protocol.
Use Cases
Embedded Widget
A copy of this file can be served as a minimal shell. It is not a supported drop-in widget API.
Kiosk Mode
No kiosk flag is defined in the source. Do not claim one.
Mobile-First
The file is not mobile-first. Use the pane contract for compact windows.
Customization
Change Colors
Change the accent through the theme settings, which writes the --id-accent-* tokens. Do not hardcode a new palette.
Modify Welcome Message
Welcome text belongs to the bot's prompt and dialog files, not to this shell; see the BASIC scripting chapter.
Add Logo
The header logo is local markup in the file. Reuse the shared identity asset rather than an external URL.
Performance
The file loads four local scripts and three local stylesheets. It adds no remote font or sprite request.
Accessibility
The header controls carry aria-label attributes in the source. Keep that pattern when editing the file.
Browser Support
No separate browser matrix is defined for this file; it uses the same local libraries as the suite.
See Also
Next Step
Read Theme Structure before changing the appearance of any shell.