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-github-bot

v4.2.1

Published

A hubot script to list and recurrently remind you about open pull requests and pull request assignments.

Downloads

43

Readme

Hubot Github Bot

A hubot script to list and recurrently remind you about open pull requests. Optionally receive direct messages when you are assigned to a pull request in your organization or for a specific repo or set of repos.

###Dependencies

  • coffeescript
  • cron
  • octokat
  • moment
  • underscore
  • fuse.js

###Configuration

  • HUBOT_GITHUB_TOKEN - Github Application Token
  • HUBOT_GITHUB_WEBHOOK_SECRET - Optional, if you are using webhooks and have a secret set this for additional security checks on payload delivery
  • HUBOT_GITHUB_URL - Set this value if you are using Github Enterprise default: https://api.github.com
  • HUBOT_GITHUB_ORG - Github Organization Name (the one in the url)
  • HUBOT_GITHUB_REPOS_MAP eg."{"web":["frontend","web"],"android":["android"],"ios":["ios"],"platform":["web"]}"

Note: As of v3.3 the HUBOT_GITHUB_REPOS_MAP now expects an array for the value in the map to support multiple repos per channel

###Commands

  • hubot github open - Shows a list of open pull requests for the repo of this room
  • hubot github reminder hh:mm - I'll remind about open pull requests in this room at hh:mm every weekday.
  • hubot github list reminders - See all pull request reminders for this room.
  • hubot github reminders in every room - Be nosey and see when other rooms have their reminders set
  • hubot github delete hh:mm reminder - If you have a reminder at hh:mm, I'll delete it.
  • hubot github delete all reminders - Deletes all reminders for this room.

####Notifications via Webhooks In order to receive github notifications you will need to setup a github webhook for either your entire organization or per repository. You can find instructions to do so on Github's website. You will need your hubot to be reachable from the outside world for this to work. GithubBot is listening on /hubot/github-events. Currently the following notifications are available:

  • Pull Request Assignment (please ensure the webhook sends pull request events for this to work)

Note: in order for direct messages (notifications) to work GithubBot attempts to fuzzy match the github name or github login to someone on your team. It has been tested primarily on the Hubot Slack adapter, but it should work elsewhere. If GithubBot cannot find a matching user it drops the notification and logs the failure to the console.