Loading repository data…
Loading repository data…
chirag127 / repository
Apex-grade, privacy-first browser extension for real-time, AI-powered YouTube analysis. Features Gemini summaries, smart transcripts, SponsorBlock, and advanced comment analysis. Privacy-first, zero-config.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
YouTube-AI-Navigator-Browser-Extension is an apex-grade, privacy-first browser extension designed for real-time, AI-powered YouTube content analysis. It provides intelligent summaries using Google Gemini, smart interactive transcripts, integrated SponsorBlock functionality, and advanced comment analysis to enhance your viewing and research experience.
This extension empowers users with unparalleled control over YouTube content, offering deep insights, efficient navigation, and a cleaner viewing environment, all while upholding a strict privacy-first policy with zero-configuration overhead.
This project adheres to the Feature-Sliced Design (FSD) architecture, ensuring a scalable, maintainable, and highly modular structure for browser extensions. Each feature is self-contained, promoting clear separation of concerns and ease of development.
mermaid graph TD A[Extension Root] --> B[manifest.json]; A --> C[src/entrypoints]; A --> D[src/shared]; A --> E[src/features]; A --> F[src/widgets]; A --> G[src/pages];
C --> C1[content.ts];
C --> C2[background.ts];
C --> C3[popup.html];
D --> D1[ui/];
D --> D2[lib/api/];
D3[lib/utils/];
D4[config/];
E --> E1[gemini-summary/];
E --> E2[transcript-viewer/];
E --> E3[sponsor-block/];
E --> E4[comment-analyzer/];
E --> E5[settings/];
F --> F1[PopupWidget];
F --> F2[ContentOverlayWidget];
G --> G1[options/];
E1 --> D;
E2 --> D;
E3 --> D;
E4 --> D;
F1 --> E;
F2 --> E;
This section provides critical directives for AI agents, ensuring consistent development, high-quality output, and adherence to the project's architectural vision.
app, shared, entities, features, widgets, pages, processes.features can depend on entities and shared, but shared cannot depend on features).wxt.config.ts.src/entrypoints/ for background, content scripts, popups, and options pages.biome.json.gemini-pro).
chrome.runtime.sendMessage) for communication between entrypoints. For complex local state, consider simple React Context or Pinia/Zustand if a UI framework is introduced for specific components.npm run dev (starts WXT dev server with HMR).npm run build (creates production-ready extension package).dist folder as an unpacked extension in your browser.npm run lint (runs Biome check).npm run format (runs Biome fix).npm run test (executes Vitest tests).npm run test:e2e (executes Playwright tests for extension interaction).To get started with local development, follow these steps:
Clone the Repository: bash git clone https://github.com/chirag127/YouTube-AI-Navigator-Browser-Extension.git cd YouTube-AI-Navigator-Browser-Extension
Install Dependencies:
This project uses npm for package management.
bash
npm install
Start Development Server: WXT provides a development server with Hot Module Replacement (HMR) for rapid iteration. bash npm run dev
To create a production-ready build of the extension:
bash npm run build
This command will generate the compiled extension files in the dist directory.
Once built, you can load the extension into your browser:
chrome://extensions for Chrome, about:debugging#/runtime/this-firefox for Firefox).dist folder within your cloned repository and select it.Here are the essential development scripts:
| Script | Description |
|---|---|
npm run dev | Starts the development server with HMR for local development. |
npm run build | Compiles the extension for production, outputting to dist/. |
npm run lint | Runs Biome linter to check for code quality and style issues. |
npm run format | Runs Biome formatter to automatically fix code style issues. |
npm run test | Executes unit and integration tes |