Skip to main content

Delay-tolerant encrypted messaging

Project description

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/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mahkrabdtn-1.0.0.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mahkrabdtn-1.0.0-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file mahkrabdtn-1.0.0.tar.gz.

File metadata

  • Download URL: mahkrabdtn-1.0.0.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mahkrabdtn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7642194bfa369763bb8b326b57afa4084032ed5c1bc688b2dfc89000c054d084
MD5 1df1fa72a2090a323e8c0daf42e0cf3a
BLAKE2b-256 b0fe676c734ccda8fc04cbabacf7ef83954edbc09ab1f93532131ab7ee7776f8

See more details on using hashes here.

File details

Details for the file mahkrabdtn-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mahkrabdtn-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mahkrabdtn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51fcbb728bc4793a1412f66cedb0bbd8ae7aa6f173502f105519390ecb2b9e5f
MD5 f92e6a85af20e3a3e05f88f4a9fb487a
BLAKE2b-256 9e94420e712a54f882155800e31ba71841f118a04642de1763a0f4bfa92fe686

See more details on using hashes here.

Supported by

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