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-slack-reading-list

v1.0.2

Published

Build a reading list from emojied reactions on Slack

Downloads

10

Readme

hubot-slack-reading-list

A Hubot script for hubot-slack to build reading lists. By adding an emoji reaction to messages, those messages are scanned for URLs, then the URLs are pushed into the reading list. Then, either weekly or daily, the bot will post the reading list to the channel.

screenshot

installation

This is a plugin for Hubot that also relies on hubot-slack. To install in your Hubot project, run:

npm install hubot-slack-reading-list --save

This will warn you if you don't already have an acceptable version of Hubot or hubot-slack installed. Then, add the script to your Hubot's external-scripts.json:

[
  "...",
  "hubot-slack-reading-list",
  "..."
]

Then just startup your Hubot. No environment variables or anything else required!

usage

The script only responds to one command, but that command is flexible. Here's the basic usage:

@bot [daily or weekly] reading list [emoji] <name>

The parts of the message in square brackets are optional. Here is a breakdown of the parts and how they influence the script's behavior:

| @bot | daily or weekly | reading list | emoji | name | |:-----|:----------------|:-------------|:------|:-----| | The script requires that the bot be messaged directly in a room that it's in. | The script can either post the reading list daily or weekly. If neither is specified it defaults to weekly. Daily reports occur every weekday at 4:00 PM. Weekly reports occur every Friday at 4:00 PM. | This is required to trigger the script. | You can specify what emoji reaction marks a message for the reading list. If you don't specify one, it defaults to :book:. | This is the name of the reading list. It's not particularly useful, but it's used as the title of the reading list post. |

You can add multiple channels to the same reading list by issuing the reading-list command again, but you can use only the required parts to do that:

@bot reading list <name>

The reading list will only be reported in the channel it was originally created in.