diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-09 04:56:07 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-09 04:56:07 +0200 |
| commit | 9b503785afe10849f40a26735aa08e0af24a6efc (patch) | |
| tree | f760ccaa98813fec57c92efe23fc6967de90f6b0 /packages/meshbay-node/src/meshbay_node/transport/__init__.py | |
| parent | a4522fe8253fcf6702cf6af7c25284b9519f3969 (diff) | |
| download | meshbay-9b503785afe10849f40a26735aa08e0af24a6efc.tar.gz | |
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) <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/transport/__init__.py')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/transport/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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"] |