https://github.com/404background/node-red-contrib-wsl-ubuntu
Node for using Ubuntu environment in WSL with Node-RED
https://github.com/404background/node-red-contrib-wsl-ubuntu
Last synced: 5 months ago
JSON representation
Node for using Ubuntu environment in WSL with Node-RED
- Host: GitHub
- URL: https://github.com/404background/node-red-contrib-wsl-ubuntu
- Owner: 404background
- License: mit
- Created: 2025-02-06T03:50:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-29T05:55:50.000Z (about 1 year ago)
- Last Synced: 2025-12-14T00:49:14.830Z (7 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-wsl-ubuntu
Node for using Ubuntu environment in WSL with Node-RED
## Overview
This node can execute commands in the WSL Ubuntu environment.

Therefore, **this node works only on Windows**.
Please install the distribution using the wsl command in advance.
The node can be set to the following options.
- Ubuntu version
- Set the password when executing sudo (credential property)
- Whether the execution results are output sequentially or not

## Continuous Mode
When "Continuous" mode is enabled, command output is sent continuously as it becomes available. This is especially useful for long-running processes like `roscore` or other server applications.
In this mode:
- Output is streamed in real-time
- A stop button appears in the node allowing you to terminate the process
- You can also terminate the process by sending a message with `msg.kill=true`
When "Continuous" mode is disabled, command output is sent as a single message after the command completes execution.
## Usage Examples
Different versions are shown for different Ubuntu environments.


You can also use apt-get to install and remove packages.
For example, you can output the result of neofetch to System Console.

