--- layout: home title: SubMiner titleTemplate: Sentence Mining Overlay for MPV hero: name: SubMiner text: Sentence Mining for MPV tagline: Click on subtitles. Look up words. Mine to Anki. All without leaving the video. image: src: /assets/SubMiner.png alt: SubMiner logo actions: - theme: brand text: Get Started link: /installation - theme: alt text: Mining Workflow link: /mining-workflow - theme: alt text: Configuration link: /configuration features: - icon: "🎯" title: Click-to-Lookup Overlay details: Subtitles are tokenized into clickable words. Click any word to open a Yomitan dictionary popup — right on top of the video. - icon: "📇" title: Automatic Anki Cards details: Add a word from Yomitan and SubMiner fills in the sentence, audio clip, screenshot, and translation automatically. - icon: "🪟" title: Dual-Layer Subtitle System details: Visible overlay with styled, interactive subtitles — plus an invisible layer that aligns with mpv's own subtitle rendering for seamless click-through lookup. - icon: "🎬" title: YouTube & Subtitle Sync details: Play YouTube videos with auto-generated subtitles. Sync external subtitle files with alass or ffsubsync. Search and download anime subtitles from Jimaku. - icon: "🔠" title: Smart Tokenization details: Japanese text is segmented using Yomitan's internal parser with MeCab fallback, enabling accurate word boundary detection for dictionary lookups. - icon: "⌨️" title: Keyboard-Driven Workflow details: Mine sentences, copy subtitles, cycle display modes, and trigger field grouping — all from configurable keyboard shortcuts without touching the mouse. ---
## See It in Action SubMiner sits as a transparent overlay on top of mpv. Subtitles appear as interactive, clickable text — click a word to look it up with Yomitan, then add it to Anki with one click.
## How It Works
01
Watch
Play a video in mpv. SubMiner connects via IPC and captures subtitles in real time.
02
Look Up
Click any word in the subtitle overlay. Yomitan opens its dictionary popup instantly.
03
Mine
Add the word to Anki from Yomitan. SubMiner detects the new card automatically.
04
Enrich
SubMiner fills in the sentence, audio clip, screenshot, and translation — no extra steps.