From 422647e7898b8df67cd11f8fb060aec23dec84aa Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Wed, 14 Oct 2026 22:20:15 +0200 Subject: feat(cli): meshbay-cli, a command-line client for members Signs in to the hub, lists the account's groups and their folders, and downloads and uploads files directly with each group's node, end-to-end encrypted. With no argument it opens a two-pane interactive mode (Textual). Session and device keys are kept encrypted under the system's key storage, or a 0600 key file where there is none; node keys are pinned at first contact; a new machine links as a device. Packaged on its own on Linux (deb and rpm, on meshbay-common's venv, with a man page generated from the parser) and frozen next to meshbay-node in the full Windows installer, not the light one, with a self-test the build runs. client/keys.py ports keyderive.js and is LGPL like it. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-cli/pyproject.toml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/meshbay-cli/pyproject.toml (limited to 'packages/meshbay-cli/pyproject.toml') diff --git a/packages/meshbay-cli/pyproject.toml b/packages/meshbay-cli/pyproject.toml new file mode 100644 index 0000000..e978d27 --- /dev/null +++ b/packages/meshbay-cli/pyproject.toml @@ -0,0 +1,28 @@ +[build-system] +requires = ["hatchling>=1.27"] # PEP 639: SPDX `license` + `license-files` +build-backend = "hatchling.build" + +[project] +name = "meshbay-cli" +version = "0.19.0" +description = "MeshBay command-line client — a member's files, from a terminal" +requires-python = ">=3.12" +license = "AGPL-3.0-or-later" +license-files = ["LICENSE"] +dependencies = [ + "meshbay-common>=0.10.0", + "aiortc>=1.9", # WebRTC: the only transport a node serves to members + "httpx>=0.28", # hub API + "argon2-cffi>=21.3", # the passphrase's half of the bundle key (A) + "keyring>=25", # OS key storage for the local store's key + "textual>=8.2", # the interactive mode +] + +[project.optional-dependencies] +dev = ["pytest>=8", "pytest-asyncio>=0.24", "pytest-timeout>=2.3", "ruff>=0.6"] + +[project.scripts] +meshbay-cli = "meshbay_cli.__main__:main" + +[tool.hatch.build.targets.wheel] +packages = ["src/meshbay_cli"] -- cgit v1.2.3