Find community nodes
The Node-RED instance that you are running in IBM Bluemix comes with a sample set of nodes, but you can also use community nodes, which are created and published by a community of developers.
You’ll import node libraries from the community to create nodes for a microphone, audio, and a dashboard.
In this section, you will create the Interpreter and a conversation bot (OK Watson) flows from this website: https://github.com/watson-developer-cloud/node-red-labs/tree/master/starter-kits.
-
- Open the web page that contains the two starter applications that you will be re-creating: https://github.com/watson-developer-cloud/node-red-labs/tree/master/starter-kits
- Open the web page that contains the two starter applications that you will be re-creating: https://github.com/watson-developer-cloud/node-red-labs/tree/master/starter-kits
-
- Scroll down to the set up Instructions.
-
- You will now learn how to find nodes like these for yourself.
-
- Open a new browser page and navigate to the Node-RED libraries at http://flows.nodered.org/.
-
- Search for a microphone node that you will add to your application. Select the nodes check box. Do not select flows.
The node-red-contrib-browser-utils library provides nodes for a microphone, camera, file inject, and unzip.
-
- Search for audio. You should see two libraries: the node-red-contrib-play-audio and the node-red-contrib-media-utils library.
The node-red-contrib-play-audio library provides a speaker node. The node-red-contrib-media-utils library provides media nodes for video and audio streams. You will use the speaker node in this lab and the media nodes in Lab 4.
-
- Search for a dashboard.
The node-red-dashboard library provides a set of nodes that you can use to build a dashboard. You won’t be using these nodes in this lab, but the Breaking News and Dashboard Translation starter kits will use the dashboard.