Beadbox: Desktop app shipping Next.js + WebSocket server via Tauri sidecar #27851
nmelo
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.
-
We built Beadbox, a native desktop GUI for the beads issue tracker. The interesting part for this community: we bundle a full Node.js runtime as a Tauri sidecar to run Next.js 16 + a WebSocket server inside a native app.
Why not Electron? Tauri gives us native window chrome and the system WebView. Our bundle is ~160MB total (84MB is the Node binary). A bare Electron app starts around 200MB with a bundled Chromium.
Stack: Next.js 16, React 19, Tauri v2 (Rust + WebView), shadcn/ui, Tailwind CSS v4, pnpm
How it works:
node server.js(Next.js standalone) andnode ws-server.js(WebSocket)Some gotchas we hit: zombie processes on force-quit (solved with process groups on Unix, Job Objects on Windows), macOS GUI apps having an empty PATH (Homebrew doesn't exist from inside a Tauri app), and NEXT_PUBLIC_ env vars being baked at build time.
We also run 8 AI coding agents simultaneously on the same codebase, coordinated through beads.
Beta Was this translation helpful? Give feedback.
All reactions