Ruboty
Ruby + Bot = Ruboty.
Dependencies
- Ruby 1.9.3+
Adapter
Adapter hooks up your robot to chat services.
Brain
Brain persists your robot's memory.
Handler
Handler provides various behaviors to your robot.
- ruboty-alias
- ruboty-cron
- ruboty-echo
- ruboty-github
- ruboty-google_image
- ruboty-japan_weather
- ruboty-kokodeikku
- ruboty-lgtm
- ruboty-syoboi_calendar
- ruboty-talk
Configuration
Store configuration value in envorinment variables.
They are easy to change between deploys without changing any code.
We recommend to put .env
and run with ruboty --dotenv
option to manage them.
All you need to use your favorite plugins is to write their names into Gemfile. Ruboty will load them before running.
# Gemfile
gem "ruboty-cron"
gem "ruboty-google_image"
gem "ruboty-redis"
gem "ruboty-slack"
Environment
LOG_LEVEL - Log level for debug (default: 3)
RUBOTY_NAME - Name to respond to mention (default: ruboty)
RUBOTY_ENV - Loaded gem group name (default: development)
Deploy
See r7kamura/ruboty-template for example.