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.

Source Distribution

errbot-backend-webapp-0.1.0.tar.gz (107.9 kB view details)

Uploaded Source

Built Distribution

errbot_backend_webapp-0.1.0-py2.py3-none-any.whl (126.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file errbot-backend-webapp-0.1.0.tar.gz.

File metadata

  • Download URL: errbot-backend-webapp-0.1.0.tar.gz
  • Upload date:
  • Size: 107.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for errbot-backend-webapp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 23fcb6d8ad6b2502f8055b4b668ba14c7406efa7f8fed601fe0ee5877b93d8f7
MD5 7893286d60b2c21d32d4f72f764bc7f6
BLAKE2b-256 b48702626d1fbbbb58864d045b120785155a241c2334d7e3ecda1de6ae3bf3e5

See more details on using hashes here.

File details

Details for the file errbot_backend_webapp-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: errbot_backend_webapp-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 126.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for errbot_backend_webapp-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 db03d28e1b2c0d5681f6310752d7455a196887617c24997d50e5e4e33bf58fc2
MD5 69b17920666f6d338f7f3f59d46bc9d5
BLAKE2b-256 08206a1254112819b28677ec0a1529ae0cfc1b21fc54c1323334669aebc1ac0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page