Files
webspeak3/gateway/package.json
T
MoepchiandClaude Opus 5.5 3f69692d79 Add admin panel for live gateway settings
/admin (enabled by ADMIN_USER + ADMIN_PASSWORD) lets self-hosters change
most .env settings at runtime. Overrides live in ADMIN_CONFIG_FILE and are
written onto process.env, so the modules now read their settings at use
time instead of at load time.

- Sidebar navigation with search, DE/EN, light/dark, phone layout
- "Restart required" group (PORT, TLS, paths, WEB_STATIC) plus a restart
  button that goes through the graceful SIGTERM path
- Status line: version, uptime, connected users
- Optional TOTP 2FA: QR setup, code check, switch on/off in the panel
- Password change in the panel (scrypt hash in ADMIN_AUTH_FILE); every
  credential change re-asks the current password; deleting the file
  falls back to .env
- Login rate limits, CSRF header, HttpOnly/SameSite session cookie, CSP

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-11-25 11:40:33 +00:00

23 lines
549 B
JSON

{
"name": "webspeak3-gateway",
"version": "0.1.0",
"private": true,
"description": "WebSpeak3 gateway server: bridges browser (WebSocket) clients to a native TeamSpeak server",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/index.js"
},
"dependencies": {
"qrcode-generator": "^1.4.4",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/node": "^22.10.0",
"@types/ws": "^8.5.13",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
}
}