Files
rondevu-server/README.md
Bas van den Aakster 364eeb6538 Improve README formatting and structure
- Update header with tagline
- Improve README organization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 21:24:53 +01:00

969 B

Rondevu

🎯 Meet WebRTC peers by topic, by peer ID, or by connection ID.

Rondevu Server

A simple TypeScript HTTP server for WebRTC peer signaling and discovery.

Three ways to connect: by topic, by peer ID, or by connection ID.

Quick Start

Node.js:

npm install && npm start

Docker:

docker build -t rondevu . && docker run -p 3000:3000 rondevu

Cloudflare Workers:

npx wrangler deploy

See DEPLOYMENT.md for details.

API

# Create offer
POST /:topic/offer {"peerId":"alice","offer":"..."}

# List sessions
GET /:topic/sessions

# Send answer
POST /answer {"code":"...","answer":"..."}

# Poll for updates
POST /poll {"code":"...","side":"offerer|answerer"}

See API.md for details.

Configuration

PORT=3000
SESSION_TIMEOUT=300000
CORS_ORIGINS=*

Storage

Supports SQLite (Node.js/Docker) or D1 (Cloudflare Workers).

License

MIT