BridgeSwarm

Examples

Interactive demos for Hyperswarm in the browser. Install the BridgeSwarm extension and native host first, then open any demo in two tabs to try P2P.

Connect

Chat

Minimal P2P chat over a topic — join, see peers, send messages.

/chat/

Advanced Chat

Rooms, presence, markdown, emoji, and file sharing.

/chat-advanced/

Firewall Room

Allowlist, denylist, and ban peers with host-side firewall.

/firewall-room/
Collaborate

Whiteboard

Collaborative drawing synced peer-to-peer in real time.

/whiteboard/

Screenshare

Live WebRTC media; BridgeSwarm used only for signaling.

/screenshare/
Data

Data API

Hypercore, Hyperbee, Hyperdrive, Autobase, and Hyperdb.

/data-demo/

Auto-replicate

Hypercore sync across peers with setAutoReplicate.

/sync-demo/
Media

Media Studio

Probe, WebP transform, extract frame, and transcode via host ffmpeg.

/media-demo/

Clip Studio

Record screen/camera, then batch-transcode with bare-ffmpeg (nearline).

/clip-studio/
Platform

SDK Demo

Swarm lifecycle, raw messages, and Protomux channels.

/sdk-demo/

HRPC Demo

Typed RPC (ping / streams) over Hyperswarm connections.

/hrpc-demo/