mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 02:43:24 +00:00
Remove global origin option and update README
- Remove origin option from RondevuClientOptions and RondevuOptions - Remove ConnectOptions interface with global flag - Remove all customHeaders logic for origin override - Update README with consistent Rondevu branding 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
29
README.md
29
README.md
@@ -1,12 +1,14 @@
|
||||
# Rondevu
|
||||
|
||||
🎯 Meet WebRTC peers by topic, by peer ID, or by connection ID.
|
||||
🎯 **Simple WebRTC peer signaling and discovery**
|
||||
|
||||
Meet 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.
|
||||
HTTP signaling server for WebRTC peer discovery and connection establishment. Supports SQLite (Node.js/Docker) and Cloudflare D1 (Workers) storage backends.
|
||||
|
||||
### Quick Start
|
||||
|
||||
@@ -17,7 +19,7 @@ npm install && npm start
|
||||
|
||||
**Docker:**
|
||||
```bash
|
||||
docker build -t rondevu . && docker run -p 3000:3000 rondevu
|
||||
docker build -t rondevu . && docker run -p 3000:3000 -e STORAGE_PATH=:memory: rondevu
|
||||
```
|
||||
|
||||
**Cloudflare Workers:**
|
||||
@@ -25,8 +27,6 @@ docker build -t rondevu . && docker run -p 3000:3000 rondevu
|
||||
npx wrangler deploy
|
||||
```
|
||||
|
||||
See [DEPLOYMENT.md](./DEPLOYMENT.md) for details.
|
||||
|
||||
### API
|
||||
|
||||
```bash
|
||||
@@ -47,15 +47,14 @@ See [API.md](./API.md) for details.
|
||||
|
||||
### Configuration
|
||||
|
||||
```env
|
||||
PORT=3000
|
||||
SESSION_TIMEOUT=300000
|
||||
CORS_ORIGINS=*
|
||||
```
|
||||
Environment variables:
|
||||
|
||||
### Storage
|
||||
|
||||
Supports SQLite (Node.js/Docker) or D1 (Cloudflare Workers).
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `PORT` | `3000` | Server port (Node.js/Docker) |
|
||||
| `SESSION_TIMEOUT` | `300000` | Session timeout in milliseconds |
|
||||
| `CORS_ORIGINS` | `*` | Comma-separated allowed origins |
|
||||
| `STORAGE_PATH` | `./sessions.db` | SQLite database path (use `:memory:` for in-memory) |
|
||||
|
||||
### License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user