CNCjs is a browser UI for CNC mills and routers using Grbl, Marlin, Smoothieware, or TinyG. A Node.js server connects over serial USB, Bluetooth, or Wi-Fi serial bridges.
Overview
CNCjs exposes machine control through a web application served by a Node.js process on a Raspberry Pi, laptop, or similar host. It talks to the controller firmware over USB serial, Bluetooth modules, or serial-to-WiFi devices such as XBee or USR-WIFI232-T.
The interface includes a six-axis digital readout, 3D toolpath visualization, customizable workspace widgets, custom MDI command buttons, keyboard shortcuts, watch directories, tool-change support, and Z-probe workflows. Multiple HTTP clients can connect to one serial port at the same time.
Desktop builds are available for Linux, macOS, and Windows on x64 and ARM64. The layout adapts to small screens down to phone-sized widths. Progressive Web App install is supported over HTTPS or localhost, with reverse-proxy options suggested for LAN use.
Docker images publish for linux/amd64 and linux/arm64. Configuration can live in a ~/.cncrc JSON file covering watch directories, token lifetime, remote access, macros, and user accounts. Pendant projects extend control for tablets and handheld UIs.
Key features
- Grbl Marlin Smoothieware TinyG support
- 3D toolpath visualizer
- Six-axis digital readout
- Multiple simultaneous web clients
- Custom MDI buttons and widgets
- Watch directory and tool change
- Progressive Web App install
- Desktop apps for major OSes
Use cases
- Shop-floor CNC control from a browser
- Raspberry Pi pendant setups
- Multi-client monitoring of one machine
- Tablet UIs via PWA install