mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 02:43:24 +00:00
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>
18 lines
346 B
JavaScript
18 lines
346 B
JavaScript
// 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));
|