Giter Club home page Giter Club logo

isis's Introduction

Run Your own Chat Bot on HipChat / Campfire

Recommended Rubies

  • MRI 1.9.3
  • jRuby 1.7.0

Tested

  • 1.9.2-p320
  • 1.9.3-rc1
  • jruby-1.7.0
  • jruby-1.7.2

MRI 1.8.7 recently worked, but is currently suffering from unknown exceptions

Services

  • hipchat: xmppr4 works on MRI/jRuby

    • UTF-8 bugs recently fixed!
    • Huge thanks to hoxworth for his work on xmpp4r!
  • hipchat-smackr: jRuby only (experimental)

    • crashes network disconnects
    • works with UTF-8
  • campfire: MRI/? -- I don't think Campfire support has been tested in over a year.

Instructions

  1. Copy config.yml.example to config.yml

     # config.yml
    
     ## SERVICES ##
     # Supported values: hipchat, campfire, hipchat-smackr
     service: hipchat
    
     ## HIPCHAT SETTINGS ##
     hipchat:
       jid: [email protected]
       name: Full Name
       password: <password>
       history: 3 # num of history fields to request
       rooms:
         - [email protected]
         # - [email protected]
    
     ## CAMPFIRE SETTINGS ##
     campfire:
       subdomain: subdomain  # from subdomain.campfirenow.com
       # auth_mode: Can use API key or username/password.
       # Supported values: api, username
       auth_mode: api
       api_key: api_key_goes_here  # enter if using "api" auth_mode
       username: username          # enter if using "username" auth_mode
       password: password          # also enter if using "username" auth_mode
       room: room_name             # only supports one room for campfire
       ssl: true
    
     ## BOT SETTINGS ##
     bot:
       hello: Mainframe: ONLINE
       goodbye: NO CARRIER
    
     ## PLUGIN SETTINGS ##
     enabled_plugins:
       - HipRepeater
       - RandomResponses
    
       - Archer
       - Bash
       - Futurama
       - LikeABoss
       - Olaf
       - PennyArcade
       - QuickMeme
       - WalMart
       - XKCD
       # - EpicFail
       # - FML
       # - TWSS
    
  2. Add credentials to config.yml, configure plugins to load

  3. [MRI] Start the ISIS Daemon in the foreground bin/isis run or in the background bin/isis start

     Usage: isis <command> <options> -- <application options>
    
     * where <command> is one of:
       start         start an instance of the application
       stop          stop all instances of the application
       restart       stop all instances and restart them afterwards
    
  4. [jRuby] Start the ISIS Daemon or in the foreground bundle exec bin/isis-run.rb or in the background bundle exec bin/isis (no args yet)

  • jRuby background/daemon support is new/minimal (early 2013)

isis's People

Contributors

brendonrapp avatar richo avatar whatwho avatar whitehat101 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.