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-standup-ng

v1.0.11

Published

Next generation standup bot with hubot ala tender, forked from the original by Tatsuhiko Miyagawa.

Downloads

6

Readme

hubot-standup-ng

Agile style standup bot for hubot ala tender. Forked from the original by miyagawa.

Configuration

Set one of the following notification methods to true if you'd like to use it:

HUBOT_STANDUP_NG_NOTIFICATION_YAMMER
HUBOT_STANDUP_NG_NOTIFICATION_EMAIL

How to use

Create a room (or channel on IRC) for standup (existing one is okay) and invite hubot to the room if necessary.

Setup

First, you tell hubot who is a member for a particular team for the standup, using the roles commands with "(who) is a (team) member".

Let's take "engineering" team for example.

miyagawa: hubot miyagawa is an engineering member
hubot: Ok, miyagawa is an engineering member
miyagawa: hubot john is an engineering member
hubot: Ok, john is an engineering member
miyagawa: hubot davidlee is an engineering member
hubot: Ok, davidlee is an engineering member

You can create as many teams as you want.

Note: This setup process hopefully won't be necessary in the future, when Hubot properly implements an API to get the list of online users in a room. So that everyone in a standup room == standup participants.

Start the standup

Hubot won't schedule the standup for you (yet), you have to start it by yourself when it's time.

miyagawa: hubot standup for engineering
hubot: Ok, let's start the standup: miyagawa, john, davidlee
hubot: john: your turn

Hubot remembers who should participate the standup, and will tell whose turn is the next. Tell what you did yesterday, will do today, anything blocked. and say "next" (or "done" or "that's it") when you're done.

john: Done some pretty nice hack yesterday.
john: I will work on another cool stuff today.
john: I'm not blocked
john: hubot next
hubot: davidlee: your turn

When the user is offline or away for a second, tell hubot to skip the user.

miyagawa: hubot skip davidlee
hubot: Will skip davidlee
hubot: miyagawa: your turn

Once the last user is done, hubot will tell you how long the standup was.

miyagawa: I'm working on some nice stuff, and will continue doing so today.
miyagawa: hubot next
hubot: All done! Standup was 5 minutes and 24 seconds.

Installation

This hubot script depends on roles.coffee script. You're recommended to use redis-brain.coffee to persist the team information.

In your package.json, add the following line to the dependencies:

   "hubot-standup": "git://github.com/miyagawa/hubot-standup.git"

Then run npm install and add hubot-standup to external-scripts.json. E.g.:

["hubot-standup"]

Yammer

By symlinking to standup-yammer.coffee in addition, the bot will post the standup archive to Yammer. You need to set a valid Yammer OAuth2 token to HUBOT_STANDUP_YAMMER_TOKEN environment variable.

Here's how to get a valid Yammer OAuth2 token with the standard OAuth2 authorization flow.

See Yammer documentation for more details.

  • Register a new application on Yammer at https://www.yammer.com/<DOMAIN>/client_applications/new. Leave the callback URLs empty
  • Take notes of your consumer_key and consumer_secret
  • Make a new bot user on Yammer (optional). This is the user who will post archives as.
  • Sign in as the new bot user on Yammer if necessary
  • Go to https://www.yammer.com/dialog/oauth?client_id=<consumer_key>
  • There's an authorization dialog. Authorize the app
  • Look at the URL bar and there's a code=<CODE> query parameter in there, copy that.
  • curl https://www.yammer.com/oauth2/access_token?code=<CODE>&client_id=<consumer_key>&client_secret=<consumer_secret>
  • you'll get a big JSON that contains access_token -> token

Now set the token to HUBOT_STANDUP_YAMMER_TOKEN and Hubot will ask which group ID the log should be posted to. Use the group ID 0 to turn off the feature for a group.

Author

Tatsuhiko Miyagawa

License

MIT License