mirror of
https://github.com/yusufipk/YTChatHub.git
synced 2026-09-11 10:56:17 +00:00
1.1 KiB
1.1 KiB
Active Context
Current Focus
- Maintain Memory Bank documentation and scaffold the monorepo structure for the YouTube Live chat client.
- Define onboarding flow for Innertube-based chat ingestion and configuration.
Recent Decisions
- Switch from official YouTube Data API to Innertube (
youtubei.js) ingestion to avoid quota issues. - Use Next.js for operator UI and OBS overlay, with a separate backend worker for polling and realtime events.
- Prefer Server-Sent Events for one-way overlay updates; keep WebSocket option in mind for future enhancements.
Immediate Next Steps
- Initialize
pnpmworkspace withapps/client,packages/backend, andpackages/shareddirectories. (Scaffolded.) - Configure baseline project files:
package.json,pnpm-workspace.yaml, TS configs, linting setup. (Scaffolded.) - Stub backend poller using
youtubei.jsto verify dev scripts once dependencies are installed.
Open Questions
- How to persist or refresh Innertube context data (visitor data, API key) between sessions for reliability.
- Whether to include optional SQLite persistence from the outset or add once basic flow is working.