From 9b503785afe10849f40a26735aa08e0af24a6efc Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 9 Aug 2026 04:56:07 +0200 Subject: feat(node): add HTTP file API for browser access (Phase 4) FastAPI app on port 19001: GET / (node info), GET /index (public group index JSON), GET /file/{id} (full download), GET /file/{id}/{n} (encrypted or plaintext chunk), GET /hls/{id}/playlist.m3u8 + GET /hls/{id}/{n}.ts (HLS streaming via ffmpeg). Public groups: index browsable without auth, files downloadable. Private groups: chunks encrypted with GEK, auth required. 7/7 tests passing. Full suite: 47/47. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- packages/meshbay-node/src/meshbay_node/transport/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/meshbay-node/src/meshbay_node/transport/__init__.py') diff --git a/packages/meshbay-node/src/meshbay_node/transport/__init__.py b/packages/meshbay-node/src/meshbay_node/transport/__init__.py index e7b9573..ddd11f5 100644 --- a/packages/meshbay-node/src/meshbay_node/transport/__init__.py +++ b/packages/meshbay-node/src/meshbay_node/transport/__init__.py @@ -1,5 +1,6 @@ """TCP+TLS transport layer (MNP v1). QUIC added in v2.""" from .server import ChunkServer from .client import ChunkClient +from .http_server import create_http_app -__all__ = ["ChunkServer", "ChunkClient"] +__all__ = ["ChunkServer", "ChunkClient", "create_http_app"] -- cgit v1.2.3