A demo Node.js Google Talk Bot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
views Add forgotten comma Feb 26, 2013


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.


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