My lovely IRC bot. She is named after my first Japanese penpal.
Ayumi is based on the Cinch Framework and is easily extendable via plugins.
@help
or investigate the code!This doc is largely geared towards UNIX-based systems such as Linux or Mac.
Ruby is the dominant language of Ayumi. Use your OS package manager or http://github.com/postmodern/ruby-install
This is a ruby gem, (library). I use it to manage all the gems that Ayumi uses, so that you can quickly instill the same versions of the gems I use, on your machine.
gem install -N bundle
Note: -N
ensures documentation is not installed for that gem. If you want the doc, remove -N
Can you invoke bundle
? Try bundle --version
to check.
If it does not work, try adding the Ruby Gems bin folder to your PATH
environment variable,
export PATH="~/.gem/ruby/bin/:$PATH"
to ~/.bashrc
For more control over your gem installation, and awareness, check out gem help install
This is a database that Ayumi is using. You should have it installed and running before invoking ayumi.
You can see if you can install Redis through your OS package manager, or install from source through http://redis.io/
You may run your redis server on a unix socket or on a network socket. Edit config.yml
as appropriate.
There is a sample redis.conf file in the redis
folder that you may use. It will listen on /tmp/redis.sock
Note: The presence of a unix socket filename will override any network socket configuration if both are present in config.yml
from the project directory, type bundle install
. This downloads all the ruby gems Ayumi uses at appropriate versions.
Ayumi's config file is pretty cool, and self-documented. Check out config.yml.example
Ayumi will by default look for config.yml
in the directory of the shell that invoked her or
can be explicitly specified by supplying the filename as a parameter. eg. ruby bin/ayumi myconfig.yml
ruby bin/ayumi
or ruby bin/ayumi myconfig.yml
Currently, all options are specified via the config.yml file.