This is alpha-level implementation. Use only local
Web UI based backend interface for Errbot (not Webhook feature).
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.
- Exchange messages by WebSocket
- HTML for reference implementtion
You must ready environment to run Errbot(>=6.0.x).
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'
$ 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'
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
}
- Configuration static resource dir
- Authorize by session
GPLv3. See it