Skip to content

About

A Chrome extension that lets you search YouTube Hindi transcripts directly in Hinglish (Roman script) by converting your typed words into Hindi script on space, no external translation tools required.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🎬 YouTube Transcript Hinglish-to-Hindi

Seamlessly search Hindi transcripts on YouTube using natural Hinglish (Roman English) phonetics—no Google Translate switching or virtual keyboards required.


💡 Why I Built This

On macOS with a standard QWERTY keyboard, searching within YouTube's Hindi transcripts is a chore. Typing phonetic Roman terms like paani, sarkar, or kisan returns zero matches because YouTube only filters against exact Devanagari script (पानी, सरकार, किसान).

Having to constantly switch tabs to Google Translate, copy Devanagari text, and paste it back into YouTube broke my study and research flow. This lightweight Manifest V3 extension fixes that right inside the native YouTube UI.


✨ Features

  • Instant In-Place Transliteration: Type phonetically in Roman letters inside YouTube's transcript search bar; hitting Space converts the word into Hindi script on the fly.
  • Smart Escape Hatch: Need to keep the raw English word? Hit Shift + Space to bypass conversion.
  • Interactive Neo-Toon Popup UI:
    • "Chhota Bhasha" Mascot: Interactive SVG robot with reactive expressions (😊 Active vs. 😴 Snoozing).
    • Chunky 3D Toggle: Tactile switch synchronizing toolbar badges and active states.
    • Built-in Live Playground: Test out transliterations directly inside the popup with quick-test sample chips.
    • Active Tab Status: Live indicator displaying YouTube connection status.

🛠️ Architecture & Tech Stack

File Purpose
manifest.json Manifest V3 configurations, permission scopes, and host endpoints.
content.js Intercepts keyboard events on YouTube input fields and handles reactive Polymer state bindings.
background.js Service worker managing Google Input Tools API calls, caching, and storage sync.
popup.html / popup.css / popup.js Neo-Toon design system, SVG mascot animation, and live scratchpad.

🚀 Installation & Local Setup

  1. Clone this repository:
    git clone [https://github.com/YOUR_USERNAME/yt-hinglish-transcript.git](https://github.com/YOUR_USERNAME/yt-hinglish-transcript.git)
    cd yt-hinglish-transcript
    
  2. Open Chrome Extensions:

Navigate to chrome://extensions in your browser.

Enable Developer mode using the toggle in the top-right corner.

  1. Load Unpacked:

Click Load unpacked in the top-left corner.

Select your local yt-hinglish-transcript directory.

  1. Test on YouTube:

Open any Hindi video with subtitles enabled (e.g., podcasts, news, tutorials).

Expand the video description and click Show transcript.

Type any Hinglish word into the search bar and hit Space.

About

A Chrome extension that lets you search YouTube Hindi transcripts directly in Hinglish (Roman script) by converting your typed words into Hindi script on space, no external translation tools required.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages