Skip to content

erickouassi/ytubestats

Repository files navigation

⚡ ytubestats

A simple and dynamic web app that displays real‑time statistics for your YouTube channel.

This tool fetches data directly from the YouTube Data API and presents it in a clean, easy‑to‑read interface.


❓ Why You Need This

Managing a YouTube channel means keeping track of how your content performs — and even with YouTube Studio’s full feature set, it’s helpful to have a lightweight tool for quick checks. This tool gives you a simple, focused dashboard that highlights the stats that matter most.

You’ll find it useful if you want to:

  • Quickly check your subscriber growth
  • See which videos are performing best (and worst)
  • Track total views and likes without digging through menus
  • Share your channel stats with collaborators, clients, or your community
  • Embed or reference your stats in a portfolio or personal website
  • Keep all your important links (website, blog, donation page, socials) in one place

It’s a lightweight, fast, and accessible way to understand your channel’s health at a glance.


📊 Features

  • Channel icon
  • Channel name
  • Subscriber count
  • Total views
  • Total likes
  • Top 5 most‑viewed videos
  • Bottom 5 least‑viewed videos
  • Custom links (website, blog, donation page, social media, etc.)

⚙️ Privacy & Configuration Update

Some files in this project have already been obfuscated to protect sensitive data.

At this stage, you only need to update the following configuration files:

  • config/config.js
  • js/config.js

More files can be obfuscated later if needed.


🔐 License Key Requirement

You'll need a valid userLicenseKey before using this project.
Get your license key here:

https://erickouassi.gumroad.com/l/pqnlck

https://erickouassi.gumroad.com/l/ytubestats


Plan Price Billing Description Benefits
Monthly $9 per month A simple, reliable license for one primary domain. Full feature access
Cancel anytime
Yearly $90 per year A simple, reliable license for one primary domain. Save (2 months free)
Full feature access
Best for ongoing use
Lifetime $399.99 one‑time payment A permanent license with no expiration date. No subscription
Lifetime license
Never expires

🛠️ Installation & Setup

Follow these steps to properly activate and run the project:

1. Purchase Your License Key

Get your userLicenseKey here:

https://erickouassi.gumroad.com/l/pqnlck

https://erickouassi.gumroad.com/l/ytubestats


2. Send Your Domain or Repository Name

After purchasing, email me:

  • The domain name where the project will be hosted
    OR
  • The GitHub repository name (if hosted on GitHub Pages)

Along with:

  • Your userLicenseKey

This allows me to register and authorize your installation.


3. Wait for Activation

I will add your domain or repository to the license system.
Once activated, your license key becomes valid for your installation.


4. Update Your Configuration Files

After activation, open the project and update only these two files:

  • config/config.js
  • js/config.js

Insert your:

  • YouTube Channel ID
  • YouTube API Key
  • userLicenseKey

That’s all you need to configure.


5. Run or Deploy the App

Option A — Open Locally

Simply open index.html in your browser.

Option B — Deploy on GitHub Pages (recommended for hosting)

  1. Push your project to a GitHub repository.
  2. Go to Settings → Pages.
  3. Under Build and deployment, set:
    • Source: Deploy from a branch
    • Branch: main (or master)
    • Folder: /root (or /docs if your files are inside a docs folder)
  4. Click Save.
  5. GitHub will generate a public URL for your site, usually: