Initial PlayBull release with Trilogy Hub integration.

Includes homelab deploy tooling, image position/zoom manifest persistence, and full trading/casino stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-02 08:31:36 +02:00
commit 94b6cc3be9
60 changed files with 9206 additions and 0 deletions

15
server/realtime.js Normal file
View File

@@ -0,0 +1,15 @@
import { Feed } from './db.js';
let io = null;
export function setIO(server) { io = server; }
export function getIO() { return io; }
export function broadcast(event, payload) {
if (io) io.emit(event, payload);
}
// Globaler Aktivitaets-Feed (Wins, Trades, Manipulationen) fuer alle sichtbar.
export function pushFeed(kind, text) {
Feed.add(kind, text);
broadcast('feed', { kind, text, ts: Date.now() });
}