feat: add zero-npm Web UI channel (FastAPI + WebSocket, ~45MB RAM)#1707
Open
lakshmana64 wants to merge 3 commits intoHKUDS:mainfrom
Open
feat: add zero-npm Web UI channel (FastAPI + WebSocket, ~45MB RAM)#1707lakshmana64 wants to merge 3 commits intoHKUDS:mainfrom
lakshmana64 wants to merge 3 commits intoHKUDS:mainfrom
Conversation
lakshmana64
commented
Mar 8, 2026
- New WebUIChannel in nanobot/channels/webui.py (proper BaseChannel subclass)
- Single-file OpenClaw-style Control UI in nanobot/channels/static/webui.html
- WebSocket streaming + HTTP fallback via FastAPI
- WebUIConfig added to schema.py + wired into ChannelManager
- 12 passing tests in tests/test_webui_channel.py
- Enable with: {"channels": {"webui": {"enabled": true}}} in config.json
- RAM: ~45MB vs OpenClaw ~1GB, zero npm, zero Node.js
- New WebUIChannel in nanobot/channels/webui.py (proper BaseChannel subclass)
- Single-file OpenClaw-style Control UI in nanobot/channels/static/webui.html
- WebSocket streaming + HTTP fallback via FastAPI
- WebUIConfig added to schema.py + wired into ChannelManager
- 12 passing tests in tests/test_webui_channel.py
- Enable with: {"channels": {"webui": {"enabled": true}}} in config.json
- RAM: ~45MB vs OpenClaw ~1GB, zero npm, zero Node.js
|
Brilliant idea. There is a requirement for a local first interface to Nanobot for people like contract programmers under NDA or health, legal, and other workers who legally can't share data with 3rd. parties like cloud providers etc. Having Nanobot use a local LLM on the LAN and a local webui will really help. |
This was referenced Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.