Example Delta Chat bot + webxdc app
Project description
webxdcbot
Example Delta Chat bot + webxdc app as bot's frontend.
Install
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 .
Installing deltachat-rpc-server
This program depends on a standalone Delta Chat RPC server deltachat-rpc-server
program that must be
available in your PATH
. To install it check:
https://github.com/deltachat/deltachat-core-rust/tree/master/deltachat-rpc-server
Configuration
Configure the bot:
webxdcbot init bot@example.com PASSWORD
Start the bot:
webxdcbot serve
Run webxdcbot --help
to see all available options.
Usage
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file webxdcbot-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: webxdcbot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f45fbe468d99d9995569c40968f336c00e9fcf13c8b7ea8384b6279c748a44 |
|
MD5 | 865cb4f92fd5eb52e0bde0b3e2e59557 |
|
BLAKE2b-256 | f2f8d87aa13bc5b8b7e801a7ee0e6724ee23befba8462ae5698540f233fb256c |