--- layout: home title: SubMiner titleTemplate: Immersion Mining Workflow for MPV hero: name: SubMiner text: Immersion Mining for MPV tagline: Watch media, mine vocabulary, and craft anki cards without leaving the scene. image: src: /assets/SubMiner.png alt: SubMiner logo actions: - theme: brand text: Install link: /installation - theme: alt text: Explore workflow link: /mining-workflow features: - icon: src: /assets/mpv.svg alt: mpv icon title: Built for mpv details: Tracks subtitles via mpv IPC in real time. Launch with the wrapper script or the mpv plugin — no external bridge needed. link: /usage linkText: How it works - icon: src: /assets/yomitan-icon.svg alt: Yomitan logo title: Bundled Yomitan details: Ships with a built-in Yomitan instance for instant word lookups and context-aware card creation directly from subtitle text. link: /mining-workflow linkText: Mining workflow - icon: src: /assets/anki-card.svg alt: Anki card icon title: Anki Card Enrichment details: Auto-fills card fields with sentence, audio clip, screenshot, and translation so you can focus on learning. link: /anki-integration linkText: Anki integration - icon: src: /assets/highlight.svg alt: Highlight icon title: Reading Annotations details: N+1 targeting, character-name matching, frequency highlighting, and JLPT tagging — all layered on subtitle text in real time. link: /subtitle-annotations linkText: Annotation details - icon: src: /assets/video.svg alt: Video playback icon title: YouTube & Whisper details: Play YouTube URLs or searches with native subtitles, or generate them with whisper.cpp and optional AI cleanup. link: /usage#youtube-playback linkText: YouTube playback - icon: src: /assets/jellyfin.svg alt: Jellyfin icon title: Jellyfin Integration details: Browse your Jellyfin library, pick media interactively, and play through mpv with full subtitle and mining support. link: /jellyfin-integration linkText: Jellyfin setup - icon: src: /assets/subtitle-download.svg alt: Subtitle download icon title: Subtitle Download & Sync details: Search and pull subtitles from Jimaku, then auto-sync timing with alass or ffsubsync — all from the overlay. link: /configuration#jimaku linkText: Jimaku integration - icon: src: /assets/tokenization.svg alt: Tracking chart icon title: Immersion Tracking details: Logs watch time, words encountered, and cards mined to SQLite, then surfaces the same data in a local stats dashboard with rollups and session drill-down. link: /immersion-tracking linkText: Stats details - icon: src: /assets/cross-platform.svg alt: Cross-platform icon title: Cross-Platform details: Runs on Linux (Hyprland, Sway, X11), macOS, and Windows with compositor-aware window positioning and platform-native integration. link: /installation linkText: Platform setup ---

How it fits together

01
Start
Launch with the wrapper or existing mpv setup and keep subtitles in sync.
02
Lookup
Hover a token in the interactive overlay, then trigger Yomitan lookup to open context.
03
Mine
Create cards from Yomitan or mine sentence cards directly from subtitle lines.
04
Enrich
Automatically attach timing-accurate audio, sentence text, and visual evidence.
05
Track
Review immersion history and repeat high-value patterns over time.

See it in action

Subtitles, lookup flow, and card enrichment from a real playback session.

subminer -- playback