Giter Site home page Giter Site logo

attakei / errbot-backend-webapp Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 2.06 MB

Web UI based backend interface for Errbot (not Webhook feature).

License: GNU General Public License v3.0

HTML 3.72% Python 63.39% Makefile 1.31% JavaScript 31.58%
errbot errbot-plugin errbot-backend

errbot-backend-webapp's Introduction

Errbot Webapp backend plugin

image

This is alpha-level implementation. Use only local

Web UI based backend interface for Errbot (not Webhook feature).

Overview

This plugin can exchange messages Errbot and any browsers by WebSocket. It may be able to supply public chat-bot on a website with Errbot.

Demo

image

Features

  • Exchange messages by WebSocket
  • HTML for reference implementtion

Usage

Prerequirements

You must ready environment to run Errbot(>=6.0.x).

Installation

As single source

Clone this project and configure to use as extra-backend for Errbot.

$ cd /path/to/your-errbot-env
$ git clone https://github.com/attakei/errbot-backend-webapp.git
$ pip install -r errbot-backend-webapp/requirements.txt
BOT_EXTRA_BACKEND_DIR = './errbot-backend-webapp'
BACKEND = 'Webapp'

As PyPI package

$ cd /path/to/your-errbot-env
$ pip install errbot-backend-webapp
import errbot_backend_webapp

BOT_EXTRA_BACKEND_DIR = errbot_backend_webapp.get_plugin_dir()
BACKEND = 'Webapp'

Configuration

Webapp host and port can configure by your config.py. Plugin see BOT_IDENTITY.

BOT_IDENTITY = {
    'host': '127.0.0.1',  # Listen host. default is 'localhost'
    'port': 8001,         # Listen port. default is 8080
}

To Do

  • Configuration static resource dir
  • Authorize by session

License

GPLv3. See it

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.