Hubot’s Gtalk Adapter
Hubot is an awesome chatbot written by the Github Team and opensources recently. At work we don’t use chatroom environments, instead we use Gtalk. Our campus has staff located in several building and we all communicate via our enterprise Gtalk. IT and non tech savvy people have taking a liking to communication via the messenger. Naturally upon seeing hubot in all his glory, I knew that he MUST be part of my workplace’s culture.
If you are interested in using this adapter in your private Hubot and do not want to upgrade Hubot to v1.1.9, you can download the adapter at my repo.
The beauty of the Gtalk adapter is that is only depends the
node-xmpp node package, which is already part of hubot. You can literally drop in that adapter and you are good to go.
Even though the official Hubot wiki has a page about this adapter, here are the two environment variables you need:
export HUBOT_GTALK_USERNAME="email@example.com" export HUBOT_GTALK_PASSWORD="account password"
If you have any issues with the Gtalk adapter or wish to submit a feature request, feel free to create an issue on Hubot’s main repo and mention
@mexitek in the description or the comments. In mentioning my name I will be notified and Github staff will bug me to support the adapter.