FlowHub: Gist for Node-RED
These are the Node-RED nodes that interact with FlowHub.org.
FlowHub.org is an experimental first attempt to provide a gist/pastebin-like service for Node-RED.
The aim is to make it easy to share flow-tabs amongst Node-RED developers.
Flows can be exported directly from the Node-RED editor to FlowHub.org. Flows that have been edited but not deployed can be exported. Flows are taken from the editor not the Node-RED server.
Flows can be imported into the Node-RED editor using the pull node. Flows can be imported into new tabs or directly into existing tabs.
Two articles are available that better describe my intentions in creating FlowHub.org:
In summary, the focus is on clarity of flow changes between revisions, on sharing of knowledge and collaboratively working on Node-RED flows.
Flow Based Programming has many useful features unfortunately FBP lacks the tooling around that exists around textual programming languages: testing (unit testing), development workflows (GitHub flow) and collaboration (code comparison). These features need to be recreated in a visual form for FBP to reach a broad audience.
Node: FlowHub - Pull
Node for importing flows from FlowHub.org. Flows may be imported into an existing tab or a new tab. This can also be included in flows so that there is an chaining of flows. That is, if a flow relys on anther flow, then an pull node can be included to import that second flow.
Sidebar: FlowHub - Push
Node for pushing in-editor flows to FlowHub.org. Flows do not need to be deployed to be exported.
By exporting any flows you accept the license as described below.
The entire flow-tab is exported to FlowHub.org, so beware what you export.
Pushing flows can now be done using your email and name, no API token is necessary. Be aware that email verification is necessary for every submission.
Sidebar: FlowHub - Diff
Compare the local version of a flow with the latest version at FlowHub.org.
Property panel for the diff node:
How the diff sidebar panel works:
Double click opens the editor for the node.
All flows found here are licensed under the don't do evil license.
Usage of FlowHub.org implies adherence to that license..