nanobot-windows-gui: A Lightweight Native Windows Manager for nanobot #4308
aiguozhi123456
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Why I Built This
nanobot's WebUI covers most daily needs, but on Windows the recurring friction is starting and stopping the gateway—always a terminal command away. It's not hard, but doing it repeatedly makes you wish for something lighter: click to start, glance at the status, close the window. No terminal, no fuss.
That's where nanobot-windows-gui came from—a native Windows desktop manager built specifically for nanobot users on Windows.
Features
CTRL_BREAK_EVENTis sent first so Python can shut down gracefully (closing MCP connections, cron jobs, agent sessions). Force-kill only happens on timeout.pip installdirectory layouts.Design Principles
Decoupled front-end and core. The GUI talks to the nanobot process through its HTTP API. It doesn't embed a Python runtime or repackage nanobot itself. GUI updates and nanobot updates are completely independent.
Pure Win32 C. Built with core-ui as the UI framework. No WebView, no Electron, no .NET, no runtime dependencies. The compiled binary is a single exe—small, fast, nothing extra to install.
Launch and forget. No system tray icon, no background process. Open the GUI when you need to manage nanobot, close it when you're done—the process exits completely. This aligns with nanobot's own lightweight philosophy: things you're not using shouldn't consume resources.
Tech Stack
Status
Core features (start/stop, health check, auto-start, installer) are complete and working on Windows 10/11.
If you're using nanobot on Windows, give it a try—feedback welcome.
🔗 https://github.com/aiguozhi123456/nanobot-windows-gui
nanobot-windows-gui:一个轻量的 Windows 原生桌面管理器
设计初衷
nanobot 的 WebUI 已经能满足大部分日常需求,但在 Windows 上高频使用时,启停 nanobot 总是要开终端敲命令。操作不复杂,但重复多了就希望有一个更轻量的入口——点一下启动,看一眼状态,关掉。不需要终端,用完即走。
基于这个想法做了 nanobot-windows-gui,一个专门面向 Windows 用户的原生桌面管理工具。
功能
CTRL_BREAK_EVENT让 Python 优雅退出(处理 MCP 连接、cron 任务、agent 会话),超时后才强制终止设计理念
面板与核心分离。 GUI 通过 nanobot 的 HTTP API 与独立的 nanobot 进程通信,不嵌入任何 Python 运行时,也不重新包装 nanobot 本身。GUI 的更新和 nanobot 的更新完全独立,互不影响。
纯 Win32 C 实现。 使用 core-ui 作为 UI 框架,不依赖 WebView、Electron、.NET 或任何运行时环境。编译产物是一个单独的 exe,体积小,启动快,不需要安装额外的东西。
即启即走。 没有系统托盘图标,没有后台常驻进程。需要管理 nanobot 的时候打开 GUI,用完关掉,进程就完全退出了。这和 nanobot 本身的"轻量"哲学是一致的——不用的东西不应该占着资源。
技术栈
当前状态
基础功能(启停、健康检查、开机自启、安装器)已完成,可在 Windows 10/11 上正常使用。
如果你在 Windows 上使用 nanobot,欢迎试用和反馈。
🔗 https://github.com/aiguozhi123456/nanobot-windows-gui
All reactions