Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

HiveMind DeltaChat Bridge

Relay a DeltaChat account to a HiveMind hub.

DeltaChat is an end-to-end-encrypted chat that runs over ordinary email. This bridge is a HiveMind satellite whose input and output are DeltaChat messages instead of a microphone. Each incoming chat message becomes an utterance sent to the hub; the hub's spoken reply is delivered back to the sender's chat. Any HiveMind hub (and the OVOS skills behind it) becomes reachable as an email-based chatbot.

DeltaChat (email)  ⇄  HiveMind-deltachat-bridge  ⇄  HiveMind hub (hivemind-core)  ⇄  OVOS skills

Prerequisites

  • A running HiveMind hub (hivemind-core) reachable over the network.
  • A HiveMind access key + password for this bridge, issued by the hub with hivemind-core add-client.
  • An email account for the bot (address + password). DeltaChat works with any IMAP/SMTP mailbox; the address is what users message to talk to the hub. The easiest option is a chatmail account (instant, bot-friendly) — see docs/accounts-and-chatmail.md for how to get one and the full operator walkthrough.
  • The native libdeltachat / deltachat-core library installed on the system — the deltachat Python package binds to it.

Install

pip install HiveMind-deltachat-bridge

Or from a checkout:

git clone https://github.com/JarbasHiveMind/HiveMind-deltachat-bridge
cd HiveMind-deltachat-bridge
pip install .

This installs the hm-deltachat-bridge console command.

Quickstart

1. Register the bridge on the hub (run where hivemind-core is installed):

hivemind-core add-client --name deltachat-bridge \
  --access-key "your-access-key" --password "your-password"

2. Store the HiveMind credentials so they are read automatically:

hivemind-client set-identity \
  --key "your-access-key" \
  --password "your-password" \
  --host "ws://192.168.1.100"

(set-identity ships with hivemind-bus-client, a dependency of this bridge.) Alternatively, pass --key/--password/--host on every run.

3. Run the bridge with the bot's email login:

hm-deltachat-bridge \
  --email "bot@example.com" \
  --email-password "mailbox-password"

4. Send a message. From any DeltaChat app (or plain email), message bot@example.com:

what time is it?

The bridge forwards the message to the hub, waits for the speak reply, and answers in the same chat.

Configuration

hm-deltachat-bridge options:

Option Description Default
--email Bot mailbox address —
--email-password Bot mailbox password —
--key HiveMind access key read from identity file
--password HiveMind password read from identity file
--host HiveMind host (a ws:// prefix is added if no scheme) read from identity file
--port HiveMind port 5678

When --key/--password/--host are omitted they are read from the stored NodeIdentity. If none are available the bridge exits pointing you at hivemind-client set-identity.

Troubleshooting

  • NodeIdentity not set — run hivemind-client set-identity, or pass --key/--password/--host.
  • No reply to messages — confirm the hub is reachable and the access key is authorized (hivemind-core list-clients), and that an OVOS pipeline produces spoken answers.
  • Mailbox login fails — verify IMAP/SMTP is enabled for the bot mailbox and the password is an app password where the provider requires one.
  • ImportError on deltachat — install the native libdeltachat / deltachat-core for your platform.

Documentation

See docs/ for a full setup walkthrough, a credential reference, and worked examples.

Metadata

Release files for HiveMind-deltachat-bridge 0.0.3a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HiveMind-deltachat-bridge 0.0.3a2
File Size Uploaded Provenance Actions
hivemind_deltachat_bridge-0.0.3a2.tar.gz 10.8 kB Without provenance Details for hivemind_deltachat_bridge-0.0.3a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for HiveMind-deltachat-bridge 0.0.3a2
File Interpreter ABI Platform Actions
hivemind_deltachat_bridge-0.0.3a2-py3-none-any.whl Python 3 none any Details for hivemind_deltachat_bridge-0.0.3a2-py3-none-any.whl

Total release size: 21.3 kB

Release files / hivemind_deltachat_bridge-0.0.3a2.tar.gz

Download URL hivemind_deltachat_bridge-0.0.3a2.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ac72ff9c520e5f6a56a705fdf685c474a5b9067deb7bd27cd074493eb87ffacc
BLAKE2b-256 checksum
How to use checksums
483eaea270637dc62e99a24c8223c12ca13c306f3f70c0a3fd819c07ae053f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / hivemind_deltachat_bridge-0.0.3a2-py3-none-any.whl

Download URL hivemind_deltachat_bridge-0.0.3a2-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ee07d8db9f4a278349794d210a1439c974f9501552022eb13c9164f4d0b8209
BLAKE2b-256 checksum
How to use checksums
df267830661beeb9c1bd4029835213a863bda55d0c60671cb42b92128a074e1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for HiveMind-deltachat-bridge 0.0.3a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page