Skip to main content

Errbot Webapp backend plugin

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

Metadata

Release files for errbot-backend-webapp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for errbot-backend-webapp 0.1.0
File Size Uploaded
errbot-backend-webapp-0.1.0.tar.gz 107.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for errbot-backend-webapp 0.1.0
File Interpreter ABI Platform
errbot_backend_webapp-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 234.4 kB

Release files / errbot-backend-webapp-0.1.0.tar.gz

Download URL errbot-backend-webapp-0.1.0.tar.gz
Size 107.9 kB
Tags Source
SHA-256 checksum
How to use checksums
23fcb6d8ad6b2502f8055b4b668ba14c7406efa7f8fed601fe0ee5877b93d8f7
BLAKE2b-256 checksum
How to use checksums
b48702626d1fbbbb58864d045b120785155a241c2334d7e3ecda1de6ae3bf3e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / errbot_backend_webapp-0.1.0-py2.py3-none-any.whl

Download URL errbot_backend_webapp-0.1.0-py2.py3-none-any.whl
Size 126.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
db03d28e1b2c0d5681f6310752d7455a196887617c24997d50e5e4e33bf58fc2
BLAKE2b-256 checksum
How to use checksums
08206a1254112819b28677ec0a1529ae0cfc1b21fc54c1323334669aebc1ac0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page