About This Project

This YouTube Performance Tracker is a demonstration project built with SvelteKit. It allows users to look up lifetime statistics for YouTube channels and compare two channels side-by-side using data fetched from the official YouTube Data API v3.

Features

  • Search channels by ID, @handle, or full URL.
  • View lifetime Subscribers, Views, and Video Count.
  • Visual comparison of two channels using bar charts (powered by Chart.js).
  • Handles large differences in stats using logarithmic scales on charts.
  • Responsive design.
  • Stores search history server-side (using a simple JSON file in this version).

Technology Stack

  • Framework: SvelteKit
  • Language: TypeScript
  • Charting: Chart.js
  • Styling: CSS (within Svelte components)
  • API: YouTube Data API v3
  • Server-side Storage: Node.js File System (fs/promises)

Disclaimer

Statistics are fetched directly from the YouTube Data API and reflect lifetime totals provided by Google. API usage is subject to Google's quotas and terms of service. Ensure you have a valid API key configured in your environment variables. Subscriber counts may be hidden by channel owners.