Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 955 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 955 Bytes

command line seebotschat

Prerequisites

Node.js is already installed, OSX with voices downloaded

To install (from command line)

$ git clone https://github.com/atomassoni/botschat.git
$ cd botschat
$ npm install

Get your API keys

$ open index.js

Go to cleverbot.io and find the "In-code usage (JavaScript)" box, and cut and paste that into your index.js file, replacing the similar line that's already there.

Check to see what voices you have installed

On your Mac, go to System Preferences>Accessibility>Speech. If you click on the System Voice dropdown you should be able to see which voices you have on your machine. You can replace voice1 and voice2 in your file with any of these names. See say.js for more on this.

Start them talking

$ npm start 

Type something to get the bots chatting.