mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 02:43:24 +00:00
Initial commit: Rondevu signaling server
Open signaling and tracking server for peer discovery in distributed P2P applications. Features: - REST API for WebRTC peer discovery and signaling - Origin-based session isolation - Multiple storage backends (SQLite, in-memory, Cloudflare KV) - Docker and Cloudflare Workers deployment support - Automatic session cleanup and expiration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
build.js
Normal file
17
build.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// Build script using esbuild
|
||||
const esbuild = require('esbuild');
|
||||
|
||||
esbuild.build({
|
||||
entryPoints: ['src/index.ts'],
|
||||
bundle: true,
|
||||
platform: 'node',
|
||||
target: 'node20',
|
||||
outfile: 'dist/index.js',
|
||||
format: 'cjs',
|
||||
external: [
|
||||
'better-sqlite3',
|
||||
'@hono/node-server',
|
||||
'hono'
|
||||
],
|
||||
sourcemap: true,
|
||||
}).catch(() => process.exit(1));
|
||||
Reference in New Issue
Block a user