Privacy-first peer-to-peer video calling. WebRTC mesh, local recording via MediaBunny, zero media through any server.
Translation pending
SocialTypeScript · CSSGitHub @softwarebyzeOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Privacy-first P2P video calling. WebRTC mesh, local recording via MediaBunny, Bun signaling server. Zero media through any server.
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗Privacy-first peer-to-peer video calling. WebRTC mesh, local recording via MediaBunny. Media stays on the peer connection.
bun install
bun run dev:all
This starts both the Vite dev server (port 3000) and the signaling server (port 8080).
bun run test # unit tests (URL parse, devices, signaling)
bun run typecheck
PeerCall's Playwright suite records video of every test. CI uploads those files as artifacts so you can watch how the product actually behaved at that commit.
bun run build
bunx playwright install chromium
bun run e2e
Recordings land in e2e/recordings/<date>-<sha>/ (gitignored). On GitHub Actions, download the peercall-e2e-<date>-<sha> artifact (90-day retention).
The suite uses fake camera/mic devices. It does not need a real camera.
bun run demo is the optional reliability harness (scripts/demo/repro.ts): it kills the signaling server mid-call. It expects bun run dev on port 3000 and writes screenshots under demo-artifacts/. Prefer bun run e2e for product coverage.
bun run prod
This builds the app and starts the unified production server on port 3000 (configurable via PORT env var).
Favicons, the OG social card, and the web app manifest are generated from source SVGs in public/favicon.svg and scripts/assets/og-image.svg:
bun run generate:assets
Committed assets in public/ are served as-is by the production server.
curl -L https://fly.io/install.sh | shflyctl auth loginflyctl launch --copy-config --name peercall
flyctl deploy
flyctl deploy
flyctl certs add yourdomain.com
Then update your DNS to point to Fly's nameservers.
docker build -t peercall .
docker run -p 3000:3000 \
-e TURN_URLS=turn:your-turn-server:3478 \
-e TURN_USERNAME=user \
-e TURN_CREDENTIAL=secret \
-e CORS_ORIGINS=https://yourdomain.com \
peercall
| Variable | Default | Description |
|---|---|---|
PORT | 3000 | HTTP/WebSocket port |
CORS_ORIGINS | (all) | Comma-separated allowed origins |
METERED_DOMAIN | (none) | Free Open Relay app host, e.g. yourapp.metered.live |
METERED_TURN_API_KEY | (none) | Free Open Relay TURN API key (docs) |
TURN_URLS | (none) | Comma-separated TURN server URLs (alternative to Metered) |
TURN_USERNAME | (none) | TURN username |
TURN_CREDENTIAL | (none) | TURN credential |
WebRTC P2P needs a TURN server for peers behind symmetric NATs or restrictive firewalls — without one, those calls hang on “Connecting…” or never show the other person.
Without TURN configured, PeerCall still serves public STUN servers (many home networks work). For reliable calls, set one of the free options below.
yourappname.metered.live) and TURN API key from the dashboard.flyctl secrets set \
METERED_DOMAIN=yourappname.metered.live \
METERED_TURN_API_KEY=your_api_key
The server fetches short-lived ICE credentials from Metered’s REST API and exposes them on /config (the API key stays server-side).
# Install coturn
sudo apt install coturn
# Configure /etc/turnserver.conf
listening-port=3478
fingerprint
lt-cred-mech
user=peercall:your-secret
realm=peercall.yourdomain.com
# Start
sudo systemctl enable coturn
sudo systemctl start coturn
Then set:
TURN_URLS=turn:peercall.yourdomain.com:3478
TURN_USERNAME=peercall
TURN_CREDENTIAL=your-secret
flyctl secrets set \
TURN_URLS=turn:your-turn-server:3478 \
TURN_USERNAME=user \
TURN_CREDENTIAL=secret
Client (React) ←→ Bun Server (SSR + WebSocket + Static)
↓
Shared signaling protocol
MIT