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

emojme-hubot-plugin

v1.1.0

Published

a hubot script to run emojme tasks from slack

Downloads

47

Readme

emojme-hubot-plugin

A hubot script to call emojme plugins from slack

Commands

  • hubot emojme [00] help - print help message

    • Hey there! emojme is an project made to interface with the dark parts of slack's api: the emoji endpoints.
      
      In order to do anything with it here, you'll need to make sure that hubot knows about your list of emoji, which you can check on with `emojme status`.
      
      If there is no emoji cache or it's out of date, you can fix that with `@hubot emojme refresh`, that'll lead you by the hand to getting a user token and updating the list of emoji that I know about. There will be a 60 second time window to enter your token, so get a head start by checking out the docs [on the emojme repo](https://github.com/jackellenberger/emojme#finding-a-slack-token)
      
      Questions, comments, concerns? Ask em either on emojme, or on [this project](https://github.com/jackellenberger/emojme-hubot-plugin), whatever's relevant.
  • hubot emojme [01] refresh (with :) - authenticate and grab list of emoji, enabling all other commands. If subdomain and token are not provided up front they will be asked for. Do not post tokens in public channels.

  • hubot emojme [02] status - print the age of the cache and who last updated it

  • hubot emojme [03] random - give a random emoji

  • hubot emojme [04] N random - give N random emoji

  • hubot emojme [05] random emoji by - give a random emoji made by

  • hubot emojme [06] tell me about :: - give the provided emoji's metadata

  • hubot emojme [07] when was :: made - give the provided emoji's creation date, if available.

  • hubot emojme [08] enhance :: - give the provided emoji's source image at highest availalbe resolution

  • hubot emojme [09] how many emoji has made? - give the provided author's emoji statistics.

  • hubot emojme [10] who made :: - give the provided emoji's author.

  • hubot emojme [11] show me the emoji made - give the provided author's emoji

  • hubot emojme [12] who all has made an emoji? - list all emoji authors

  • hubot emojme [13] show me my <10> most used emoji - give the usage counts of the emoji you use to +react most often

  • hubot emojme [14] show me all the new emoji since - show all the emoji created since 'yesterday', 'three days ago', 'last week', etc.

  • hubot emojme [15] dump all emoji (with metadata)? - upload a list of emoji names, or emoji metadata if requestek

  • hubot emojme [16] commit this to the record of ::: - save an explanation for the given emoji

  • hubot emojme [17] purge the record of :: - delete all explanation for the given emoji

  • hubot emojme [18] what does the record state about ::? - read the emoji's explanation if it exists

  • hubot emojme [19] what emoji are documented? - give the names of all documented emoji

  • hubot emojme [20] alias :: to :: - create a new emoji directly from slack sort of

  • hubot emojme [21] forget my login - delete cached user token. If not touched a login expires in 24 hours

  • hubot emojme [22] double enhance :: (to ###px) - enhance the emoji to 512x512 or a given size. s/o to @kevkid

  • hubot emojme [23] add :: url - create a new emoji using the given image, make sure the url ends in the format

Installation

In hubot project repo, run:

npm install emojme-hubot-plugin --save

Then add emojme-hubot-plugin to your external-scripts.json:

[
  "emojme-hubot-plugin"
]

Testing

nvm use 10 && npm install
npm link
cd ../your-hubot-core
npm link emojme-hubot-plugin
./bin/hubot-test # or whatever your startup command is