Skip to content

knownIndie/VoidYoutube

Repository files navigation

VoidTube: YouTube Productivity & Analytics Engine

GitHub release (latest by date) License: MIT

VoidTube is a sophisticated Chrome Extension (Manifest V3) designed to transform YouTube from a distraction-filled rabbit hole into a controlled, analyzed utility. It tracks consumption patterns, enforces time limits, and provides deep insights into watch behavior directly within the YouTube UI.


Demo

🎥 Full Video Walkthrough
YouTube Demo

Visual Gallery

Dashboard (In-Page Injection) Void Mode (Feed Blur) Popup
Dashboard Void Mode Popup

Engineering Highlights

This project demonstrates proficiency in browser environments and modern JavaScript:

  • Manifest V3 Architecture: Utilizes Background Service Workers for non-blocking data processing and resource management.
  • SPA Lifecycle Management: Overcomes YouTube's Single-Page Application (SPA) architecture by hooking into internal events like yt-navigate-start and beforeunload for high-accuracy session tracking.
  • Data Engineering: Implemented a rolling data pipeline using chrome.storage.local. Daily logs are automatically aggregated into weekly summaries to optimize storage limits and performance.
  • Dynamic DOM Injection: Built a custom UI dashboard that is seamlessly injected into the YouTube DOM without breaking existing site functionality or event listeners.

Key Features

  • ⏱️ Precision Tracking: Accurate logging of daily and weekly watch time per creator.
  • 📊 Creator Breakdown: Automatically identifies "Top Creators" to help users audit their information diet.
  • 🛡️ Void Mode: A distraction-blocking engine that uses CSS injection to blur the home feed and sidebar.
  • 📉 Markdown Export: A built-in pipeline to export usage data into structured Markdown for personal journaling.
  • ⚠️ Active Limiting: Visual progress bars and warnings when user-defined daily limits are reached.

Known Technical Debt

  • multi tab race condition: doens't record watch time data for multiple yt tab

Technical Stack

  • Language: JavaScript (ES6+)
  • API: Web Extensions API (Manifest V3)
  • Styling: CSS3 (Dynamic Injection)
  • Data: Chrome Storage API

Installation (Development Mode)

  1. Clone the repository:
    git clone https://github.com/Anastand/VoidYoutube.git
  • Open Extensions Page: Navigate to chrome://extensions/ in your Chrome browser.
  • Enable Developer Mode: Toggle the switch in the top-right corner.
  • Load Extension: Click "Load unpacked" and select the folder where you cloned the project.

Author

Built to explore the boundaries of the Chrome Extension API and the complexities of high-traffic web applications. code

About

A Manifest V3 productivity engine for YouTube featuring real-time watch-time analytics, creator-specific tracking, and a distraction-blocking "Void Mode."

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages