All Projects → treffynnon → Njsbot

treffynnon / Njsbot

A demo Node.js Google Talk Bot

Programming Languages

javascript
184084 projects - #8 most used programming language

A demo Node.js Google Talk Bot Flattr this git repo

The bot is documented at njsbot.simonholywell.com.

Released under a BSD license.

Google Hangouts

With the introduction of Google Hangouts and its intended replacement of Google Talk including phasing out support for XMPP this client is becoming less relevant. It can still be used as a basis for bots communicating over XMPP networks and for those who wish to use Google Talk rather than upgrading to Hangouts.

I can confirm from testing that once a user upgrades to use a Hangouts client (web chat in Gmail, Android client, etc) that the njsbot is no longer visible in their contacts list. According to all the information and documentation I have read this change is unlikely to be reversed or result in eventual support of XMPP wthin Hangouts itself.

If you wish to learn about the new Hangouts API then checkout it's documentation here.

Dependencies

You need a nodester based hosting account such as cloudno.de and the following Node packages:

npm install node-xmpp request express jade

If on cloudno.de then also

npm install cloudnode-cli g

To set the bot's password you will need to issue the following curl request and restart your application.

curl -k -X PUT -u "<cloudno.de username>:<cloudno.de api key/password>" -d "appname=<cloudno.de app name>&key=bot_password&value=<Google Account Password>" https://api.cloudno.de/env
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].