← All projects
AI language learning from subtitles

WordMine

A browser extension that turns YouTube and Netflix subtitles into clickable lessons, backed by a serverless LLM API and a phone web app with spaced-repetition flashcards.

  • JavaScript
  • Manifest V3
  • Cloudflare Workers
  • D1
  • Workers AI
  • PWA

Overview

The best way to pick up a language is from content you already enjoy. WordMine makes the subtitles on YouTube and Netflix interactive, so a word you don’t know becomes a flashcard instead of a pause to Google.

What I built

  • Cross-browser extension (Chrome, Edge, Firefox, Manifest V3) that makes subtitles clickable, pauses the video and shows a context-aware translation in 29 languages.
  • Serverless REST API on Cloudflare Workers and D1 that prompts an LLM (Llama 3.3 70B via Workers AI) in JSON mode for dictionary forms, grammar notes and line translations.
  • Installable phone web app (PWA) with a personal dictionary, SM-2 spaced-repetition flashcards, near real-time sync and daily Web Push reminders.
  • Offline Japanese dictionary (JMdict) for fast lookups without a network round trip.

Tech stack

JavaScript · Browser Extension (Manifest V3) · Cloudflare Workers · D1 (SQLite) · Workers AI · PWA