Example Delta Chat bot + webxdc app as bot's frontend.
Clone this repository and run inside the project's folder:
# first build the webxdc app / frontend:
cd frontend/
npm install
npm run build
cd ..
# install the python package bot / backend:
pip install .
Configure the bot:
webxdcbot init [email protected] PASSWORD
Start the bot:
webxdcbot serve
Run webxdcbot --help
to see all available options.
- Write to the bot in Delta Chat, for example send a "hi" message to it
- The bot will reply with the webxdc app
- Open the webxdc app and send a message there
- The bot will reply to you inside the app