Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Browser UI

A web-based interface using HTTP and WebSockets. Provides the same functionality as the TUI but accessible through a browser.

Details

IDnexus.io.browser
DependenciesNone

Configuration

KeyTypeDefaultDescription
hoststringlocalhostHTTP server bind address
portint8080HTTP server port
open_browserbooltrueAutomatically open the browser on start

Events

Subscribes to and emits the same events as the TUI plugin.

Architecture

  • HTTP Server — Serves the web UI static assets
  • WebSocket — Real-time bidirectional communication
  • Hub — Coordinates multiple WebSocket connections

Input is emitted asynchronously to avoid deadlocks with the event bus.

Example Configuration

nexus.io.browser:
  host: localhost
  port: 3000
  open_browser: true