{"repo":"ibmtjbot/node-tjbotlib","free":true,"listed":false,"github":"https://github.com/ibmtjbot/node-tjbotlib","clone":"git clone https://github.com/ibmtjbot/node-tjbotlib.git","description":"Node.js library for programming TJBot","language":"JavaScript","stars":33,"topics":["tjbot","ibm-cloud","raspberry-pi","ibm-watson"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"TJBot Library Node.js library that encapsulates TJBot's capabilities: seeing, listening, speaking, shining, and waving. This library can be used to create your own recipes for TJBot. Some of TJBot's capabilities require IBM Cloud services. For example, seeing is powered by the IBM Watson Visual Recognition service. Speaking and listening are powered by the IBM Watson Text to Speech and IBM Watson Speech to Text services. To use these services, you will need to sign up for a free IBM Cloud account, create instances of the services you need, and download the authentication credentials. Usage 1. Install the library using npm . 💡 Note: The TJBot library was developed for use on Raspberry Pi. It may be possible to develop and test portions of this library on other Linux-based systems (e.g. Ubuntu), but this usage is not officially supported. 2. Import the TJBot library. TJBot is packaged as both an ES6 and a CommonJS module (explained in this guide), which means you may import it using either the ES6 import statement or the CommonJS require method. For ES6, import TJBot as follows: For CommonJS, import TJBot as follows: 💡 Note: For CommonJS, the TJBot class is exported under a .default reference. 3. Instantiate the TJBot object. This code will configure your TJBot with an LED (Neopixel), servo, microphone, and speaker. The default configuration of TJBot uses English as the main language with a male voice. Here is an example of a TJBot that speaks with a female voice in Japanese:","default_branch":null,"files":null,"tree":[],"storefront":"/r/ibmtjbot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ibmtjbot/node-tjbotlib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}