Git Product home page Git Product logo

ybot's Introduction

Ybot

Ybot - is erlang bot software which inspired with Github hubot. Github hubot is realy cool, but sorry, i don't like javascript and i don't know coffescript. Ybot written fully with erlang/otp and you can write plugins in other different scripting language.

Build Status

Features

  • Fully written with erlang.
  • Dependency free (but probably until :))
  • Supporting plugins in different technology.
  • Now supporting:
    • Python plugins
    • Ruby plugins
    • Shell plugins
  • To write a plugin does not need to know erlang
  • Very easily extensible
  • Irc adapter

Adapters

Ybot - is chat bot and all time of his life he spends chatting. Add that moment hubot supports:

  • Irc

Plugins

Ybot can execute different commands. Command - is simple chat message. For example chat session:

you: Ybot math 1 + 5
Ybot: Answer: 6

Here are a few simple rules, of structure Ybot plugins.

  1. Every message to Ybot must started from Ybot label.

  2. After Ybot is command for example math or ping.

  3. After Ybot label and command are command arguments.

  4. We must have plugin in our plugin directory.

  5. Plugin is file with extension of:

  • .py
  • .rb
  • .shell

with python, ruby or shell code.

  1. Name of this file must be same as command. For example if we got Ybot ping command, we must have plugin ping.py or ping.rb or ping.shell

  2. Plugin can consist any code and write result to stdout in the end.

Example of treatment to Ybot:

Ybot math 3^2

When Ybot received some chat message for example: Ybot math 3^2

Current plugins

  • Ping - simple ping/pong
  • Math - calculate math expressions
  • Date - Date/time
  • Pugme - pugme service plugin
  • Erl - computation of erlang expression with tryerlang.org.

Contribute

Ybot - is open source project under Erlang public license (see LICENSE file). Issues, questions and patches are welcome.

Author

@0xAX

ybot's People

Contributors

alinpopa avatar

Watchers

 avatar  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.