This is a collection of open-source plugins for Hipbot, initially developped at Netguru.
Add this line to your hipbot's Gemfile:
gem 'hipbot-plugins'
And then execute:
$ bundle
To include all plugins, put this in your bot.rb
file:
require 'hipbot'
require 'hipbot-plugins'
or include them selectively:
require 'hipbot'
require 'hipbot-plugins/human'
require 'hipbot-plugins/ascii'
require 'hipbot-plugins/dictionary'
require 'hipbot-plugins/excuses'
require 'hipbot-plugins/github'
require 'hipbot-plugins/google'
require 'hipbot-plugins/help'
require 'hipbot-plugins/human'
require 'hipbot-plugins/meme_generator'
require 'hipbot-plugins/numbers_api'
require 'hipbot-plugins/rapportive'
require 'hipbot-plugins/wolfram_alpha'
By including this plugin, hipbot gains human traits!
# Cleverbot
gem 'cleverbot', github: 'bartoszkopinski/cleverbot', branch: 'master'
Hipbot responds to:
hello
open the pod bay door
make me a sandwich
slap @someone
choose
comfort me
- everything else with AI simulation from Cleverbot
Adds various responses for searching the Interwebs
Hipbot responds to:
google something I want to know
image something I want to see
youtube something I want to watch
something vs somethingelse vs someoranother vs ...
translate en:pl something I want to translate
Can generate links to github
Hipbot responds to:
github some_method_i_want_to_search_in_my_organization
compare master to production
(For this to work you need to define project
and organization
methods as a response helpers: https://github.com/pewniak747/hipbot#response-helpers)
Create instant memes using memecaptain.com!
Hipbot responds to:
memes
meme allthethings "create all" "the memes!"
Explains reality using http://urbandictionary.com and http://dictionary.reference.com/
# Dictionary
gem 'dictionary-rb'
Hipbot responds to:
explain the meaning of life, the universe and everything
Adds the ability to use wolframalpha.com computational search engine. You need to register for api key.
# Wolfram Alpha
gem 'wolfram', '~> 0.2.1'
class MyCompanyBot < Hipbot::Bot
configure do |c|
# ...
Hipbot::Plugins::WolframAlpha.configure do |c|
c.appid = 'my-api-key'
end
end
end
Hipbot responds to:
wolfram plot x^2 + 3x - 1
Provides random number factoids from NumbersAPI
Hipbot responds to:
trivia
trivia math
trivia date
trivia year
trivia 42
trivia math 42
trivia date 12 31
trivia year 42
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request