WebSocket and HTTP server for Secure Scuttlebutt (SSB) clients. Version 6.2.3. Provides a web server that integrates with Scuttlebot, enabling ssb clients (as in scuttle-shell) and browser-based replication via WebSocket. It also exposes an HTTP interface for plugins (e.g., blobs, emoji) using connect-style middleware. Configurable via multiserver connections with SHS authentication for security. Note: noauth mode is not recommended due to DNS rebinding risks.
npm install ssb-wsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts an ssb-ws server with SHS authentication, adds a custom HTTP route, and demonstrates basic usage.
Configure incoming ws connections with transform: 'shs' to enable secure handshake.
Replace 'sbot.plugins.install ssb-ws' with sbot.use(require('ssb-ws')).Run 'npm install ssb-ws' in your project directory.
Ensure you call .use(require('ssb-ws')) before accessing sbot.ws.No dependency data recorded yet.