hubot-skype

A Skype adapter for hubot

npm install hubot-skype
2 downloads in the last day
6 downloads in the last week
37 downloads in the last month

Hubot Skype Adapter

Description

This is the Skype adapter for hubot that allows you to communicate with hubot through Skype.

Installation

  • Add hubot-skype as a dependency in your hubot's package.json (use this repository url as the version)
  • Install dependencies with npm install
  • Install Python dependency Skype4py with pip or easy_install
  • Log into a Skype client on the same machine you are running hubot
  • Run hubot with bin/hubot -a skype

Usage

The Skype adapter works by communicating through a locally running Skype client. You need to create a Skype account for your bot, and log into it on a Skype client running on the same machine as hubot. When you first launch hubot with the Skype adapter, Skype will prompt you to allow for API permission. You must allow this before the bot will work.

OS Specific notes

OSX

The current version of Skype4Py doesn't play nicely with the 64 bit version of python on OSX and will immediately cause a segmentation fault. You may need to force python to run in 32 bit mode by setting the environment variable VERSIONER_PYTHON_PREFER_32_BIT to true

Ex:

export VERSIONER_PYTHON_PREFER_32_BIT=yes
./hubot -a skype

Linux

If you would like to use a different transport type than the default (x11) you may set the HUBOT_SKYPE_TRANSPORT evnirontment variable.Currently supported values are x11 amd dbus. More information on module page.

Contribute

Here's the most direct way to get your work merged into the project.

  1. Fork the project
  2. Clone down your fork
  3. Create a feature branch
  4. Hack away
  5. If necessary, rebase your commits into logical chunks without errors
  6. Push the branch up to your fork
  7. Send a pull request for your branch

Copyright © Dominick D'Aniello. See LICENSE for details.

npm loves you