mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 10:53:24 +00:00
02d460fa7ebea7e0bd8edec7a558bdaa09fe8158
Storage changes: - Remove KV storage adapter - Add D1 storage adapter for Cloudflare Workers - Update schema to use peer_id instead of info field - Add database migrations for D1 Documentation: - Simplify README to be more concise - Update deployment instructions for D1 - Add D1_SETUP.md explaining migration from KV - Update DEPLOYMENT.md with D1 setup steps API changes: - Replace info field with peerId in session creation - Update all storage interfaces and implementations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Rondevu
🎯 Meet WebRTC peers by topic, by peer ID, or by connection ID.
Rondevu Server
A simple 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
Description
Languages
TypeScript
97.9%
Dockerfile
1.3%
JavaScript
0.8%