Skip to main content

Webapp backend plugin for Errbot

Project description

https://travis-ci.com/attakei/errbot-backend-webapp.svg?branch=master

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

./demo.gif

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for errbot-backend-webapp, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size errbot_backend_webapp-0.1.0-py2.py3-none-any.whl (126.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size errbot-backend-webapp-0.1.0.tar.gz (107.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page