Giter Club home page Giter Club logo

corobo's Introduction

corobo

Codecov branch Semaphore branch Gitter Room

About

corobo is a Python based chatbot that could be connected to many messaging platforms including Slack, HipChat, Telegram, IRC, XMPP, Tox, Campfire, Gitter, Skype. Check all the backends available here

This repository is mainly a collection of plugins that are written for errbot. Errbot is a Python based chatbot framework.

As described on Errbot website:

Errbot is a chatbot, a daemon that connects to your favorite chat service and brings your tools into the conversation.

It handles sending messages to correct rooms/person, receiving messages, calling your command routines on matching commands, etc. These command routines are added by writing plugins, which are collected and loaded by Errbot when it is ran.

Features

Read more about what corobo could do for you here.

Environment Variables

  1. BOT_ROOT - absolute path of the project root.
  2. BOT_PREFIX - prefix to use for issuing bot commands.
  3. BOT_ADMINS - Space separated list of admins of the errbot instance.
  4. ROOMS - Space separated list of rooms to join on startup. e.g. ROOMS="coala/coala coala/coala/corobo"
  5. BACKEND - Backend to use. Default is Text, or Gitter when BOT_TOKEN is set.
  6. BOT_TOKEN - Token used to connect to the backends - Mandatory for backends except Text.
  7. GH_TOKEN - GitHub personal access token to create issues, invite people to org, assign and unassign issues, etc. - Mandatory for LabHub to work for GitHub.
  8. GL_TOKEN - GitLab personal access token to create, assign, unassign issues, etc. - Mandatory for LabHub to work for GitLab.
  9. GH_ORG_NAME - Name of github organization - Mandatory for LabHub GitHub
  10. GL_ORG_NAME - Name of gitlab organization - Mandatory for LabHub GitLab
  11. WA_TOKEN - wolframalpha APP_ID to access wolfram API.
  12. IGNORE_USERNAMES - space separated list of usernames to ignore messages from.

Environment Variables for answers microservice

  1. ANSWER_END - Endpoint of answers microservice(in answers/ directory). It is exposed at port 8000.

Setup without docker

  1. Install the dependencies pip install -r requirements.txt
  2. Set environment variables mentioned above if required export COBOT_TOKEN=..., or edit config.py
  3. Run errbot

Setup with docker

  1. Grab the image docker pull meetmangukiya/corobo
  2. Run the image :D:
    docker run --rm -e COBOT_TOKEN="this-is-chatbot-token" \
                    -e COBOT_PREFIX="gitmate" \
                    -e BOT_ADMINS="sils meetmangukiya" \
                    -e BACKEND="Slack" \
                    -e GH_TOKEN="this-is-the-bots-github-token" \
                    -e GL_TOKEN="this-is-the-bots-gitlab-token" \
                    -e GH_ORG_NAME="gitmate" \
                    -e GL_ORG_NAME="gitmate" \
                    meetmangukiya/corobo
    

Under Brewing

There are a few plugins that may be coala specific. But we are working on making it more configurable and adaptable for other orgs.

corobo's People

Contributors

aabhaas-vaish avatar aashraybhandar1 avatar abhaygupta97 avatar abhishalya avatar adtac avatar andrewda avatar bhavya17037 avatar cliu13 avatar codehobbyist06 avatar everwinter23 avatar idealrealism avatar ihsavru avatar jayvdb avatar man-jain avatar manankalra avatar meetmangukiya avatar mikebmc avatar nvzard avatar robobyn avatar seven-binoche avatar shikharvaish28 avatar shreya001 avatar sks444 avatar solutusimmensus avatar supergr35 avatar syntax-explorer avatar vaibhavgarg11 avatar vamshi99 avatar yashovardhan avatar yukiisbored avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corobo's Issues

Add pitchfork command

Due to some ahem interesting digressions in offtopic, the need for a pitchfork command has arisen. When issued by an authorized person to cobot, it will spit out a ascii art of a pitchfork and say something about being banished to offtopic. The command is to be used when someone digresses the conversation or goes off topic in an offtopic channel. The syntax should be something like cobot pitchfork <person>for added humor ;)

Society of pitchfork inclusion mechanism TBD

Opened via gitter by @Mixih

Meta

Rooms

  1. Room ID of coala/coala -- 54d8b6f315522ed4b3dbc7c2

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.