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/

Local Power

Allowlisted files, SQLite, and public host fetch.

/local-power/
Media

Live Encode

Real host bare-ffmpeg: capture → VP9/WebM live mux → MSE preview (+ peer fan-out).

/live-encode/

Media Studio

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

/media-demo/

Clip Studio

Record a short clip, then batch-transcode with bare-ffmpeg (nearline).

/clip-studio/
AI

QVAC Chat

Local LLM with streamed thinking, answers, and tool calls (Metal / Vulkan / CPU).

/qvac-chat/

Agent Studio

Coding agent on QVAC — live reasoning, tools, and in-thread permissions.

/agent-studio/

Discord Bot

Official discord.js on the Bare host via BridgeSwarm.DiscordJS.

/discord-bot/
Platform

SDK Demo

Swarm lifecycle, raw messages, and Protomux channels.

/sdk-demo/

HRPC Demo

Typed RPC (ping / streams) over Hyperswarm connections.

/hrpc-demo/