npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hubot-gtalk

v2.0.2

Published

A GTalk adapter for hubot

Downloads

8

Readme

A Hubot adapter for Gtalk

Gtalk is the Jabber-based instant messaging service provided by Google.

You should report any issues or submit any pull requests to the GTalk adapter repository.

Getting Started

You will also need to edit the package.json for your hubot and add the hubot-gtalk adapter dependency.

"dependencies": {
  "hubot-gtalk": ">= 0.0.1",
  "hubot": ">= 2.0.0",
  ...
}

Then save the file, and commit the changes to your hubot's git repository.

If deploying to Heroku you will need to edit the Procfile and change the -a campfire option to -a gtalk. Or if you're deploying locally you will need to use -a gtalk when running your hubot.

Configuring the Adapter

The GTalk adapter requires only the following environment variables.

  • HUBOT_GTALK_USERNAME (Should be full email address, e. g. [email protected])
  • HUBOT_GTALK_PASSWORD

And the following are optional.

  • HUBOT_GTALK_WHITELIST_DOMAINS
  • HUBOT_GTALK_WHITELIST_USERS
  • HUBOT_GTALK_REGEXP_TRANSFORMATIONS

GTalk Username

This is the username (email) of the account your hubot will use to connect to GTalk. Make a note of it.

GTalk Password

This is the password of the account your hubot will use to connect to GTalk. Make a note of it.

GTalk Whitelist Domains

This is an optional comma separated list of domain names that hubot will automatically accept contact list requests from. Make a note of them if required.

GTalk Whitelist Users

This is an optional comma separated list of usernames that hubot will automatically accept contact list requests from. Make a note of them if required.

GTalk RegExp Transformations on Messages

Adds ability to transform messages using regexp. Format is: regexp|replacement. Example:

HUBOT_GTALK_REGEXP_TRANSFORMATIONS=".?: ?(.)|\$1"

Configuring the variables on Heroku

% heroku config:add HUBOT_GTALK_USERNAME="..."

% heroku config:add HUBOT_GTALK_PASSWORD="..."

Optional

% heroku config:add HUBOT_GTALK_WHITELIST_DOMAINS="...,..."

% heroku config:add HUBOT_GTALK_WHITELIST_USERS="...,..."

Configuring the variables on UNIX

% export HUBOT_GTALK_USERNAME="..."

% export HUBOT_GTALK_PASSWORD="..."

Optional

% export HUBOT_GTALK_WHITELIST_DOMAINS="...,..."

% export HUBOT_GTALK_WHITELIST_USERS="...,..."

Troubleshooting

StringPrep errors

If you see something like this:

Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'

don’t worry—StringPrep is not required for hubot-gtalk.