Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An extensible bot for 37 Signals’ Campfire chat service
Ruby Shell
Branch: master
#13 Compare This branch is 118 commits ahead, 1 commit behind timriley:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin don't need bundler now that we're a gem (or eventmachine)
lib GEM! with command-line options. removed plugins so plugins can be dis…
plugins-example re-adding fun plugin as an example; updated readme
spec fix plugin command parsing
tmp
vendor/escape
.autotest
.gitignore GEM! with command-line options. removed plugins so plugins can be dis…
Gemfile don't need bundler now that we're a gem (or eventmachine)
README.textile Fixed link to campfire-bot-plugins repo
TODO
campfire-bot.gemspec don't need bundler now that we're a gem (or eventmachine)
cfbot-stop.sh stop script
config.example.yml

README.textile

Campfire Bot

This is a bot for 37 Signals’ Campfire chat service.

It has plugin support so you can make your bot do whatever you want.

Installation

gem install campfire-bot

Download

Download the source from github

Configuration

Create a config.yml in the root of the source directory. Use config.example.yml as an example.

Usage

To run the bot, run campfire-bot with the following parameters:

-c config FILE path to config file -e ENVIRONMENT_NAME environment name to load from config file -p plugin PLUGIN_PATH path to your plugins

Example:

campfire-bot -c config.yml -e production -p ./plugins

Plugins

See plugins-example/fun.rb for an example plugin.

The old plugins that used to be bundled with campfire-bot are now in their own repo: campfire-bot-plugins

Known issues

[BUG] Bus Error

This is really an issue with EventMachine. If you are using this on a machine that has MacPorts, you’ll need to make sure that you build both ruby and eventmachine linked against the openssl in /opt/local, not /usr/local.

warning: peer certificate won’t be verified in this SSL session

A bug in net/http. Noisy, but harmless.

Original Author

Tim Riley – github | www | email

Maintainer

Contributors

Something went wrong with that request. Please try again.