adds a WebSocket-based display backend that allows the mainline terminal to broadcast frames to web browser clients via HTML5 Canvas #26
Reference in New Issue
Block a user
Delete Branch "klubhaus/sideline:feature/vector_display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Features
WebSocketDisplayclass broadcasts frame buffers to connected web clients in real-timeDisplayprotocol allows swapping display backendsDisplay Modes
--display terminal--display websocket--display bothNew Files
engine/websocket_display.py- WebSocket display serverclient/index.html- HTML Canvas clientNew Tests
tests/test_websocket.py- WebSocket display teststests/e2e/test_web_client.py- Browser e2e tests with PlaywrightUsage
Ports
Technical Details
websocketsPython library for asyncio-based WebSocket serverPerformanceMonitor--websocket,--websocket-port,--displayab3e1766b1to7eb3fca9357eb3fca935todcd31469a5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.