Skip to main content

MahkrabDTN

Delay-tolerant encrypted messaging with a relay server and a small CLI.

Install

pipx install mahkrabdtn

For development:

pip install -e ".[dev]"

CLI

The main command is mkdtn.

mkdtn identity
mkdtn register
mkdtn send <recipient-node-id> "hello"
mkdtn poll --ack

Open the terminal messenger when you want to send and receive in one terminal:

mkdtn tui

The TUI registers your node, polls for incoming messages, acknowledges received messages, and stores node aliases beside your identity file.

Run a local relay when you do not want to use the default relay:

mkdtn serve
mkdtn identity
mkdtn register --relay http://127.0.0.1:8000
mkdtn send <recipient-node-id> "hello"
mkdtn poll --ack
mkdtn poll --watch --ack
mkdtn health

The CLI uses MAHKRABDTN_RELAY and MAHKRABDTN_IDENTITY when set. By default it uses https://relay.mahkrab.com and ~/.mahkrabdtn/node.id.

Use mkdtn poll --watch --ack to keep a terminal open for incoming messages.

Build

python -m build
twine check dist/*
twine upload dist/*

Metadata

Release files for mahkrabdtn 1.0.0

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

Source distribution (sdist)

Source distribution for mahkrabdtn 1.0.0
File Size Uploaded
mahkrabdtn-1.0.0.tar.gz 38.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mahkrabdtn 1.0.0
File Interpreter ABI Platform
mahkrabdtn-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 92.8 kB

Release files / mahkrabdtn-1.0.0.tar.gz

Download URL mahkrabdtn-1.0.0.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7642194bfa369763bb8b326b57afa4084032ed5c1bc688b2dfc89000c054d084
BLAKE2b-256 checksum
How to use checksums
b0fe676c734ccda8fc04cbabacf7ef83954edbc09ab1f93532131ab7ee7776f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / mahkrabdtn-1.0.0-py3-none-any.whl

Download URL mahkrabdtn-1.0.0-py3-none-any.whl
Size 54.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51fcbb728bc4793a1412f66cedb0bbd8ae7aa6f173502f105519390ecb2b9e5f
BLAKE2b-256 checksum
How to use checksums
9e94420e712a54f882155800e31ba71841f118a04642de1763a0f4bfa92fe686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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