Giter Site home page Giter Site logo

shreyas123 / hipbot-plugins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mamut/hipbot-plugins

0.0 1.0 0.0 507 KB

This is a collection of open-source plugins for Hipbot

Home Page: https://github.com/pewniak747/hipbot

License: MIT License

Ruby 100.00%

hipbot-plugins's Introduction

hipbot-plugins

Build Status Code Climate Gem Version

This is a collection of open-source plugins for Hipbot, initially developped at Netguru.

Installation

Add this line to your hipbot's Gemfile:

gem 'hipbot-plugins'

And then execute:

$ bundle

Usage

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'

Plugins

Hipbot::Plugins::Human

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

Hipbot::Plugins::Google

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

Hipbot::Plugins::Github

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)

Hipbot::Plugins::MemeGenerator

Create instant memes using memecaptain.com!

Hipbot responds to:

  • memes
  • meme allthethings "create all" "the memes!"

Hipbot::Plugins::Dictionary

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

Hipbot::Plugins::WolframAlpha

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

Hipbot::Plugins::NumbersAPI

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

hipbot-plugins's People

Contributors

bartoszkopinski avatar jacekbrozek avatar mamut avatar pewniak747 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.