summaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-11 22:11:18 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-11 22:11:18 +0200
commitbbfc45925e82c364519b9d796758003365bc9005 (patch)
treed635473b6eea3d342b013c67552c52187e954e6c /CLAUDE.md
parent3015c631883b8289369bb29a3842a3971e608170 (diff)
downloadmeshbay-bbfc45925e82c364519b9d796758003365bc9005.tar.gz
feat(node): Phase 11 — production-ready daemon with WebRTC, WS, chat, HTTP
The node daemon was previously a skeleton that only started QUIC/TCP servers and the local web UI. All browser-facing functionality (WebRTC, hub WebSocket, chat store, HTTP file API) lived in QE demo scripts. This rewrites daemon.py to be fully self-contained: - WebRTC transport for browser clients (aiortc DataChannel) - Hub WebSocket task (signaling, revocations, WebRTC offers) - ChatStore per group (SQLite in ~/.local/share/meshbay/) - HTTP file API per group (create_http_app on configured port) - Graceful shutdown (all transports, stores, tasks) - hub_client: _ws tracking + send_ws() for chat notifications - config: data_dir field for persistent state - systemd: security hardening (ProtectSystem, StateDirectory) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 9a0afea..846a594 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -188,6 +188,10 @@ SFR residential Fedora 44 → meshbay.org OVH VPS:
| MSE video streaming (node) | `meshbay_node.transport.webrtc_server` | Phase 10c — ffmpeg fMP4 remux + encrypted segments |
| MSE video streaming (browser) | `static/app.js` | Phase 10c — MediaSource + SourceBuffer progressive playback |
| Video codec detection | `meshbay_node.transport.webrtc_server` | Phase 10c — `_probe_video()` ffprobe + MSE codec strings |
+| Node daemon (production) | `meshbay_node.daemon` | Phase 11 — WebRTC + WS + chat + HTTP all wired |
+| Node config | `meshbay_node.config` | `node.toml` loader, `data_dir` for chat DBs |
+| Hub WS client | `meshbay_node.hub_client` | `maintain_ws()` + `send_ws()` for signaling |
+| Chat store | `meshbay_node.chat.store` | SQLite per-group, `data_dir/{group_id}/chat.db` |
| Demo scripts | — | `QE/demo-v1/*.py`, `QE/demo-v2/*.py`, `QE/demo-v3/*.py` (not versioned) |
## meshbay.org server (état cible)