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
- Simplified project layout: single pnpm package with
client/,backend/, andshared/folders; no workspaces. - Backend and UI skeletons run via
pnpm dev, ready for real stream integration and UX polish.
Recent Decisions
- Removed pnpm workspaces to reduce setup friction; all dependencies now live in the root
package.json. - Adopted
tsxfor running the backend in dev, so we avoid ESM loader quirks fromts-node. - Maintained Innertube (
youtubei.js) ingestion with mock fallback to keep development unblocked without credentials.
Immediate Next Steps
- Verify
pnpm install+pnpm devon a clean machine, ensuring backend and client start smoothly. - Harden backend ingestion (error handling, reconnection/backoff) now that the runtime setup is stable.
- Flesh out operator dashboard UX (filters/search, live status indicators) and document configuration in README/onboarding notes.
Open Questions
- Whether to persist Innertube visitor data between runs to reduce boot time and API churn.
- When to introduce optional persistence (SQLite) given
better-sqlite3is now a direct runtime dependency.