Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

treffynnon/njsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A demo Node.js Google Talk Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published