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-hangupsjs

v0.0.5

Published

Hubot Adapter for Google Hangouts

Downloads

22

Readme

Hubot HangupsJS

This is a Hubot adapter for Google Hangouts.

Installation

Create a new bot

Detailed instructions can be found on the Hubot wiki

Simple instructions are:

npm install -g yo generator-hubot
mkdir myhubot
cd myhubot
yo hubot

Include the adapter

npm install hubot-hangupsjs --save

Run hubot with the hangupsjs adapter

bin/hubot -a hangupsjs

Configuration

Set the Google authentication token

Set the environment variable HUBOT_GOOGLE_AUTH_TOKEN to the value found here: https://accounts.google.com/o/oauth2/auth?&client_id=936475272427.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.google.com%2Faccounts%2FOAuthLogin&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code

Alternatively, if the environment variable is omitted the console will interactively request the token from the same URL.

This is a a Google whitelisted OAuth CLIENT_ID and CLIENT_SECRET that shows up as "iOS Device" in your accounts page.

This token is a one-time token so it will not work on redeployment or after significant time or changes are made. A new token will have to be obtained and the environment variable removed or reset.

Hubot auth

It's highly recommended that you use the hubot-auth script since this bot will be publicly accessible.

You can get the user IDs required for the HUBOT_AUTH_ADMIN setting by calling the plus.people.get API method.

Google account settings

I'm not sure if these steps are necessary, but I have set/changed the following settings on my bot account.

Turn on Hangouts in Gmail.

Disable Get notified about invitations and enable Everyone else: contact you directly in the Customize invitation settings.

Add a cool picture and update your bot's name.