node-red-contrib-dashboard-terminal 1.0.6
A FlowFuse dashboard node that provides an interactive terminal window for the host system (pure JS, no native deps).
node-red-contrib-dashboard-terminal
A FlowFuse Dashboard node that provides an interactive terminal connected to the host system.
Features
- Full interactive terminal (via
node-pty
) - Requires login after deployment
- Inactivity timeout (based on no typing, not long-running processes)
- Works with FlowFuse Dashboard
Installation
Run inside your Node-RED user directory:
npm install node-red-contrib-dashboard-terminal
Usage
Drag the dashboard-terminal node into your flow.
Deploy.
Open your FlowFuse Dashboard – you’ll see the terminal widget.
First, login by sending:
{ "payload": { "user": "myuser", "pass": "mypassword" } }
(Currently accepts all logins – customize for real auth.)
Once logged in, send strings to msg.payload as keystrokes.
Terminal output is sent out as messages with msg.topic = "output".
Config
timeout – inactivity timeout in seconds (default: 300). If no keystrokes are entered, the user will be logged out.
Notes
This node spawns a shell on the host. Use with caution in multi-user or exposed environments.
Extend login logic for production use (PAM, LDAP, or hashed user store).
---