Skip to content

JarbasHiveMind/HiveMind-flask-template

 
 

Repository files navigation

HiveMind - Flask Template (Mycroft Chat Room)

logo

Flask Room for Mycroft HiveMind

A very simple WebUI for interacting with your Mycroft instance securely trough the HiveMind

Reference implementation on integration HiveMind with a flask app, hivemind connection is handled server side

See HiveMind-webchat for client side (javascript) connection

Install

$ pip install HiveMind-chatroom

Usage

$ HiveMind-chatroom --help
usage: HiveMind-chatroom [-h] [--access_key ACCESS_KEY] [--crypto_key CRYPTO_KEY] [--name NAME] [--host HOST] [--port PORT] [--flask-port FLASK_PORT] [--flask-host FLASK_HOST]

optional arguments:
  -h, --help            show this help message and exit
  --access_key ACCESS_KEY
                        access key
  --crypto_key CRYPTO_KEY
                        payload encryption key
  --name NAME           human readable device name
  --host HOST           HiveMind host
  --port PORT           HiveMind port number
  --flask-port FLASK_PORT
                        Chatroom port number
  --flask-host FLASK_HOST
                        Chatroom host

Default values are

--access_key - "RESISTENCEisFUTILE"
--crypto_key - "resistanceISfutile"
--name - "JarbasChatRoomTerminal"
--host - "wss://127.0.0.1"
--port - 5678
--flask-port - 8081

About

A very simple chatroom for Mycroft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Python 75.2%
  • HTML 24.8%