aiocometd_chat_demo is a client application for the CometD chat service demo. It demonstrates the usage of aiocometd in a GUI application with PyQt5 and QML.
Get the source by downloading the latest release, or clone it from github:
$ git clone https://github.com/robertmrk/aiocometd-chat-demo.git $ cd aiocometd-chat-demo
aiocometd-chat-demo requires python 3.7 and pipenv to be installed.
To install pipenv run:
$ pip install pipenv
To install aiocometd-chat-demo and all of its dependencies in a virtual environment run:
$ pipenv install --ignore-pipfile
then activate the virtual environment and run the application:
$ pipenv shell $ python -m aiocometd_chat_demo
To use the application, you should connect to an insance of CometD's demo chat servcie. You can run it locally by creating a container from the cometd-demos docker image.