Rewrite dashboard and overlay, single /events stream, static client served by the backend

Backend: one SSE stream for messages, selection, poll and connection status; reconnect with backoff; no on-disk Innertube session cache; mock only with MOCK_CHAT=1; binds to 127.0.0.1; serves client/out so production runs on one port. Full URLs for links YouTube truncates in chat.

Client: components split out, Lucide icons, stream title and status, on-air strip, search, pause, keyboard shortcuts, overlay settings dialog. Overlay themes, position, size, animation and auto-hide via URL, sized for 1080p and scaled with the source. New blueprint theme for the brand background.

Removed Tailwind, better-sqlite3, zod, the timezone helpers, Cline memory bank and AGENTS.md. Added ESLint, node:test tests and CI.
This commit is contained in:
2026-09-02 22:05:58 +03:00
parent 19b412a82a
commit 6bcbd5400b
44 changed files with 6582 additions and 3395 deletions
+3 -8
View File
@@ -1,20 +1,15 @@
import './globals.css';
import type { ReactNode } from 'react';
import { TimezoneProvider } from '../lib/TimezoneContext';
export const metadata = {
title: 'YouTube Chat Client',
description: 'High-performance YouTube Live chat dashboard'
title: 'YTChatHub',
description: 'YouTube Live chat dashboard with an OBS overlay'
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>
<TimezoneProvider>
{children}
</TimezoneProvider>
</body>
<body>{children}</body>
</html>
);
}