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

hubot-ryver

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-ryver

Ryver adapter for Hubot.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Hubot for Ryver (general instruction for Linux\OSX)

Notes

Hubot-Ryver is in beta

Prequisites:

  • nodejs

  • npm

Installation:

  1. Install the hubot generator:

    npm install -g yo generator-hubot

  2. Create base installation directory:

    mkdir -p /var/www/hubot
    cd hubot
    
  3. Run installation:

    yo hubot --adapter ryver

  4. Create startup script with relevant adapater\hubot configuration (see below) OR ./bin/hubot

Hubot-Ryver behavior:

Hubot-Ryver behaves the same across 1:1, Team, and Forum chats. The bot user will need to have access to the Team\Forum. Hubot will auto-join teams\forums on startup and should detect when it is added\removed from an existing or new Team\Forum.

Ryver Adapter Configuration

HUBOT_RYVER_USERNAME

The string 'username' of the account Hubot should connect with

HUBOT_RYVER_PASSWORD

The string 'password' of the account Hubot should connect with

HUBOT_RYVER_APP_URL

This is the url of your Ryver app. For example: mycoolapp.ryver.com

HUBOT_RYVER_USE_SSL

Whether or not to use ssl for the connection. You should only disable for testing.

Valid values: yes | no
Default: yes

HUBOT_RYVER_JOIN_FORUMS

Whether or not hubot should auto-join to available Forums

Valid values: yes | no
Default: yes

Useful Hubot COnfiguration

HUBOT_LOG_LEVEL

Set log verbositiy ('debug')

HUBOT_NAME

The name of your bot. Used for @mention parsing

PORT

The port hubot should listen on (http server)

HUBOT_IP

The interface hubot should bind to

Startup Script Examples:

Ubuntu:

description "Hubot Ryver"
#Assumes an installation at /var/www/hubot with permissions given to a www-data user

env PORT='5556'
env HUBOT_IP='10.1.255.10'
env HUBOT_NAME='hubot'
env HUBOT_LOG_LEVEL='debug'
env HUBOT_RYVER_USERNAME='user'
env HUBOT_RYVER_PASSWORD='password'
env HUBOT_RYVER_APP_URL='mycoolapp.ryver.com
env HUBOT_RYVER_JOIN_FORUMS='no'

start on filesystem or runlevel [2345]
stop on runlevel [!2345]
		
chdir /var/www/hubot
		
#Automatically Respawn:
respawn
respawn limit 10 5
		
exec su -c "bin/hubot -l 'hubot' 2>&1 | logger -t hubot-ryver_service" www-data

Keywords

FAQs

Package last updated on 25 Jan 2016

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