mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
- map segmented Yomitan lines into single logical tokens and improve candidate selection heuristics - limit frequency lookup to selected token text with POS-based exclusions and add debug logging hook - add standalone Yomitan parser test script, deterministic utility-script shutdown, and docs/backlog updates
7.3 KiB
7.3 KiB
layout, title, titleTemplate, hero, features
| layout | title | titleTemplate | hero | features | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| home | SubMiner | Immersion Mining Workflow for MPV |
|
|
What SubMiner Is For
SubMiner is for people who learn Japanese by watching subtitled content in mpv and want a low-friction mining loop:
- stay inside the video while looking up words
- send mined content to Anki quickly
- keep media context (audio, screenshot, timestamp, subtitle context) attached to each card
- reduce tool switching between player, dictionary, and card workflow
Project Goals
1. Keep Immersion Continuous
Minimize context switching by making lookup and mining happen directly over mpv subtitles.
2. Preserve Card Quality
Attach sentence context, audio, image, and translation so mined cards stay reviewable and useful long-term.
3. Support Real Workflows
Handle day-to-day immersion needs: subtitle management, syncing, known-word awareness, and keyboard-first controls.
4. Stay Configurable
Offer defaults that work out of the box, while still letting advanced users shape behavior around their note type and setup.
5. Evolve Safely
Use a modular TypeScript codebase and automated tests so features can ship faster without breaking core mining behavior.
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.
Who This Is For
- learners using mpv as their main immersion player
- users who already rely on Yomitan + AnkiConnect
- miners who care about preserving context on cards, not just raw words
SubMiner is likely overkill if you only want lightweight lookup without card enrichment, overlay controls, or integrated workflow tooling.
How It Works
01
Watch
Play a video in mpv. SubMiner connects via IPC and captures subtitles in real time.
02
Look Up
Hover over a word in the subtitle overlay and hold Shift to trigger a Yomitan dictionary lookup.
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.