server

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: BSD-2-Clause Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command server is the Cotilla zero-knowledge WebRTC signaling rendezvous gateway and static asset server.

In accordance with the pure WebRTC signaling isolation architecture:

  • /ws strictly handles the 1:1 authenticated WebRTC negotiation (register -> offer -> answer) to establish a direct WebRTC DataChannel connection between the newcomer and the server.
  • Once the WebRTC DataChannel is opened, /ws is immediately closed.
  • All peer discovery (FramePeerQuery -> FramePeerOffer / FrameRootIntro) and WebRTC overlay peering (FramePeerSignal) happen exclusively through the Cotilla protocol over WebRTC DataChannels.
  • The server maintains up to targetPool connections as active anchors and never touches Cotilla room gossip, room keys, chat envelopes, or MLS commits.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL