hubot-skype
v0.0.2
Published
A Skype adapter for hubot
Downloads
3
Readme
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'spackage.json
(use this repository url as the version) - Install dependencies with
npm install
- Install Python dependency
Skype4py
withpip
oreasy_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.
- Fork the project
- Clone down your fork
- Create a feature branch
- Hack away
- If necessary, rebase your commits into logical chunks without errors
- Push the branch up to your fork
- Send a pull request for your branch
Copyright
Copyright © Dominick D'Aniello. See LICENSE for details.