A Chrome extension that transforms YouTube subtitles into IPA (International Phonetic Alphabet) to help users learn English pronunciation while watching videos.
- Automatically detects YouTube subtitles
- Converts English text to IPA notation in real-time
- Displays IPA text below original subtitles
- Works with both auto-generated and manual subtitles
- Draggable IPA subtitle position
- Toggle IPA display with a single click
- Clone this repository
- Install dependencies:
pnpm install
- Build the extension:
pnpm run build
- Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/
- Enable "Developer mode"
- Click "Load unpacked"
- Select the
dist
directory in the project folder
- Open Chrome and go to
To work on the extension:
-
Install dependencies:
pnpm install
-
Run the development build with watch mode:
pnpm run dev
-
Make your changes
-
Build for production:
pnpm run build
-
Reload the extension in Chrome to see updates
soundtube/
├── src/ # Source files
│ ├── content.ts # Main content script
│ └── icons/ # Extension icons
├── dist/ # Built extension files
├── package.json # Project dependencies and scripts
└── README.md # This file
- Go to any YouTube video with English subtitles
- Enable subtitles (CC button)
- Click the IPA icon in the YouTube player controls
- The IPA transcription will appear below the original subtitles
- Drag the IPA subtitles to adjust their position
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
MIT