How dooyulkim/youtube-channel-analyser works
YouTube Channel Analyzer benchmarks configured or discovered channels: it retrieves channel and recent-upload data, derives performance and cadence insights, and emits terminal/JSON/CSV reports consumed by a dashboard. The dashboard loads summaries, filters and ranks channels, and presents KPIs, a leaderboard, and latest uploads. Edges are limited to calls shown in excerpts or references recorded by the SOURCE INDEX; dashboard static-data serving is documented, but its server wiring is not sampled.
Main entry points: App.tsx Dashboard App · index.ts Analyzer CLI · analysis.ts Channel Analysis · youtube.ts YouTube API Client
Components 22
Benchmarking
- Analyzer CLI
backend/index.ts - Channel Config
backend/config.ts - Channel Discovery
backend/discovery.ts - Channel Analysis
backend/analysis.ts - Cadence Metrics
backend/metrics.ts - Benchmark Models
backend/models.ts
YouTube Data
- YouTube API Client
backend/youtube.ts - YouTube Data API
- Data Utilities
backend/utils.ts
Reports
- Report Generation
backend/reporting.ts - Report Formatting
backend/formatters.ts - JSON / CSV Reports
backend/reports
Dashboard
- Dashboard App
frontend/src/App.tsx - Summary Data Fetch
frontend/src/services/api.ts - Summary Types
frontend/src/types.ts
Dashboard UI
- Search and Filters
frontend/src/components/SearchAndFilters.tsx - Channel Leaderboard
frontend/src/components/ChannelTable.tsx - KPI Cards
frontend/src/components/MetricCards.tsx - Latest Uploads
frontend/src/components/LatestVideos.tsx - UI Primitives
frontend/src/components/ui - Display Formatters
frontend/src/utils/formatters.ts
Other components
- Analyst
Connections 27
- Analyst → Analyzer CLI: runs
backend/index.ts - Analyzer CLI → Channel Config: loads config
backend/index.ts - Analyzer CLI → Channel Discovery: discovers channels
backend/index.ts - Analyzer CLI → YouTube API Client: creates client
backend/index.ts - Analyzer CLI → Channel Analysis: analyzes channels
backend/index.ts - Channel Analysis → YouTube API Client: fetches channel data
backend/analysis.ts - Channel Analysis → Cadence Metrics: computes cadence
backend/analysis.ts - Channel Analysis → Benchmark Models: uses records
backend/analysis.ts - YouTube API Client → YouTube Data API: requests data
backend/youtube.ts - YouTube API Client → Data Utilities: parses responses
backend/youtube.ts - Analyzer CLI → Report Generation: prints and writes
backend/index.ts - Report Generation → Report Formatting: formats values
backend/reporting.ts - Report Generation → JSON / CSV Reports: writes JSON/CSV
backend/reporting.ts - Analyzer CLI → Benchmark Models: uses summary types
backend/index.ts - Dashboard App → Summary Data Fetch: fetches summaries
frontend/src/App.tsx - Dashboard App → Search and Filters: renders and updates
frontend/src/App.tsx - Dashboard App → Channel Leaderboard: renders sorted results
frontend/src/App.tsx - Dashboard App → KPI Cards: renders KPIs
frontend/src/App.tsx - Dashboard App → Latest Uploads: renders uploads
frontend/src/App.tsx - Dashboard App → UI Primitives: renders cards
frontend/src/App.tsx - Channel Leaderboard → UI Primitives: renders table
frontend/src/components/ChannelTable.tsx - Channel Leaderboard → Display Formatters: formats values
frontend/src/components/ChannelTable.tsx - KPI Cards → Display Formatters: formats metrics
frontend/src/components/MetricCards.tsx - Search and Filters → UI Primitives: uses input
frontend/src/components/SearchAndFilters.tsx - Summary Data Fetch → Summary Types: returns summaries
frontend/src/services/api.ts - Dashboard App → Summary Types: stores summaries
frontend/src/App.tsx - JSON / CSV Reports → Summary Data Fetch: serves dashboard data
README.md