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

v0.1.12

Published

Hubot adapter for orky

Downloads

3

Readme

Hubot-Orky

What is Hubot-Orky?

Hubot-Orky is a Hubot adapter that allows instances of Hubot to communicate with an Orky instance.

What is Orky?

Orky is a bot you can deploy on BotFramework that makes managing Hubot instances on BotFramework much easier.

If you are interested in deploying an instance of Orky or playing with the demo instance, instructions can be found here.

Hubot-Orky installation guide

This guide can help you create your own Hubot instance from scratch. You can then take this Hubot instance and register it with an Orky instance and talk to it in any BotFramework supported channel (with some enhancements if you use the Microsoft Teams channel).

Requirements:

Instructions

  1. Run this in your node-capable terminal
npm install -g yo generator-hubot
yo hubot
npm install coffee-script --save
  1. Fill in the prompts appropriatly. For Adapter type 'orky'

  2. Once this is done you should have a working Hubot instance capable of talking to an Orky instance. Now you have to add it to your team or chat and configure it with secrets. Go to a team in Microsoft Teams or a chat thread with Orky in any other BotFramework channel where you want to add the Hubot instance.

@Orky add <botname>
  1. Take the id and secret that Orky gave you and go back to your node-capable terminal. If you are using the bash shell, type:
export ORKY_URI=<path to your Orky instance>
export BOT_ID=<id>
export BOT_SECRET=<secret>
./bin/hubot -a orky

If you are using Windows cmd shell, type:

set ORKY_URI=<path to your orky instance>
set BOT_ID=<id>
set BOT_SECRET=<secret>
./bin/hubot -a orky
  1. You output should look like this.
[Fri Aug 25 2017 10:13:09 GMT-0700 (Pacific Daylight Time)] INFO Created instance of Orky Adapter with config: {
  "OrkyUri": "<YOUR ORKY INSTANCE URI",
  "BotId": "<YOUR BOT ID>",
  "BotSecret": "<YOUR BOT SECRET>"
}
[Fri Aug 25 2017 10:13:09 GMT-0700 (Pacific Daylight Time)] INFO Run
[Fri Aug 25 2017 10:13:09 GMT-0700 (Pacific Daylight Time)] INFO Connected to Orky server at <YOUR ORKY INSTANCE URI>
[Fri Aug 25 2017 10:13:09 GMT-0700 (Pacific Daylight Time)] INFO Registration successful as <YOUR BOT NAME> (<YOUR BOT ID>)
  1. Since the stock Hubot yeoman generator adds some default scripts you can test your local bot in one of the channels of the team in Microsoft Teams or chat thread in any other BotFramework channel. Type
@Orky tell <botname> time

Orky should respond with the local time of the machine running Hubot.

Everything else is the same as regular Hubot.