Initial commit: Gaming Hub foundation

Plugin-based Discord bot framework with web frontend:
- Core: Discord.js client, SSE broadcast, JSON persistence
- Plugin system: lifecycle hooks (init, onReady, routes, snapshot, destroy)
- Web: React 19 + Vite 6 + TypeScript, tab-based navigation
- Docker: multi-stage build (Node 24, static ffmpeg, yt-dlp)
- GitLab CI: Kaniko with LAN registry caching

Ready for plugin development.
This commit is contained in:
Claude Code 2026-03-05 22:52:13 +01:00
parent 1ae431dd2f
commit ae1c41f0ae
19 changed files with 954 additions and 0 deletions

24
server/package.json Normal file
View file

@ -0,0 +1,24 @@
{
"name": "gaming-hub-server",
"version": "1.0.0",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "tsx src/index.ts",
"start": "node dist/index.js"
},
"dependencies": {
"discord.js": "^14.18.0",
"@discordjs/voice": "^0.18.0",
"@discordjs/opus": "^0.9.0",
"sodium-native": "^4.3.1",
"express": "^5.0.0",
"prism-media": "^1.3.5"
},
"devDependencies": {
"typescript": "^5.7.0",
"@types/node": "^24.0.0",
"@types/express": "^5.0.0",
"tsx": "^4.19.0"
}
}