node-red README

The project's README from github.com/node-red/node-red. As one markdown file: README.md.

License Build Status



Nodes Flows Collections

Low-code programming for event-driven applications


Node-RED Screenshot

Forum GitHub Slack

Quick Start

Check out https://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g --unsafe-perm node-red
  2. node-red
  3. Open http://localhost:1880

[!NOTE] More documentation can be found here. For further help, or general discussion, please join the Node-RED Forum or Node-RED Slack.

Development

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm ci
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at [email protected].

Contributors

It is maintained by:

Node-RED is a project of the OpenJS Foundation. Copyright OpenJS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.


node-red (node-red/node-red)

Searching Database…

23.7K ·GitHub
这是什么东西?Node-RED 是一个面向事件驱动应用的低代码编程工具:你不用把所有代码都自己写出来,而是把节点连线组成流程来搭建应用。它是 OpenJS 基金会的项目,始于 2013 年,在 GitHub 上约有 23.7k 星。
在里面搭建应用是怎么做的——是写代码还是点点鼠标?主要是可视化操作。在一个跑在浏览器里的编辑器中,你把节点拖到画布上,再把它们连成流程;这种低代码模式意味着常见的集成几乎不需要手写代码,或者完全不用。
我怎么把它跑起来?用 npm 全局安装,然后在终端里启动:先执行 sudo npm install -g --unsafe-perm node-red,再运行 node-red,然后在浏览器里打开编辑器。
运行之前我需要先装好什么?只需要 Node.js 22.9 或更高版本——npm 会随它一起装好。它就是一个普通的 npm 全局包,所以不需要编译器、Python 或单独的服务。
大家一般用它做什么?事件驱动的应用:接收消息、处理消息再传递出去的流程——把设备、API 和在线服务连接起来。这个仓库的标签包括 IoT、基于流程的编程和可视化编程。
它能在 Windows 和 macOS 上运行吗,还是只支持 Linux?它是一个 Node.js 应用,所以 Node 能跑的地方它都能跑——包括 Windows、macOS 和 Linux——而且在树莓派(Raspberry Pi)板子上特别流行。编辑器通过网页浏览器来使用。
如果我不太会写代码,用起来容易上手吗?基本上容易:你是用可视化方式连线搭建流程,而不是写应用代码。不过安装和启动要在终端里用 npm 操作,所以需要对命令行有基本的了解。
这是一个成熟的项目,还是某个人周末做着玩的实验?非常成熟:开发始于 2013 年,在 GitHub 上约有 23.7k 星,是 OpenJS 基金会的官方项目,由 Nick O'Leary 和 Dave Conway-Jones 维护,配有自动化 CI 测试和发布流程。
Creator
node-red
Size
73.6 MB
Stars
23.7K
Age
13y
Commits · 90 Days