Skip to main content

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

  1. Write to the bot in Delta Chat, for example send a "hi" message to it
  2. The bot will reply with the webxdc app
  3. Open the webxdc app and send a message there
  4. The bot will reply to you inside the app

Project details


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

webxdcbot-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for webxdcbot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75f45fbe468d99d9995569c40968f336c00e9fcf13c8b7ea8384b6279c748a44
MD5 865cb4f92fd5eb52e0bde0b3e2e59557
BLAKE2b-256 f2f8d87aa13bc5b8b7e801a7ee0e6724ee23befba8462ae5698540f233fb256c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page