Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-stenog

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-stenog

A Witness-compliant Hubot logger.

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hubot-stenographer

Let Hubot write down all messages it hears on a Witness-compliant server.

Build Status

Installation

These instructions assume you've deployed Hubot to Heroku. Please make the appropriate adjustments for other hosting solutions.

$ npm install --save hubot-stenographer
$ hk set HUBOT_LOG_SERVER_HOST="witness.yourdomain.com"
$ hk set HUBOT_LOG_SERVER_PORT=443
$ hk set HUBOT_LOG_SERVER_TOKEN="supersecrettoavoidspam"
$ vim external-scripts.json # add "hubot-stenographer" to the array

Twilio Warnings

If you're into that sort of thing, you can utilize Twilio to text you when the service you're logging to is down. Just add the following configuration options:

  • HUBOT_TWILIO_SID - your Twilio SID
  • HUBOT_TWILIO_AUTH_TOKEN - your Twilio auth token
  • HUBOT_TWILIO_WARN_FROM - your Twilio number (e.g. +15551234567)
  • HUBOT_TWILIO_WARN_TO - the phone number to send the message to (same formatting as above)

Once all four of those are set, restart your app and look for twilio: enabled in your logs.

Usage

Once the script is enabled for your bot, you're good to go!

Credit

Originally written by Jacob Ela (@wubr), then modified for IRC by Matt Aimonetti (@mattetti). Completely rewritten by Parker Moore (@parkr) to be a script purely for logging. Thanks to Matt & Jacob for the inspiration!

Keywords

FAQs

Package last updated on 01 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc