Files
SubMiner/changes/plugin-system.md
T
sudacode 15f32b10c7 feat(plugins): add episode-tags and auto-jimaku example plugins
- episode-tags: tag mined cards with show/episode parsed from the file name or stream title
- auto-jimaku: open Jimaku search when a file starts without a Japanese subtitle track
- Hold card-mined for notes merged into a note still waiting on queued YouTube media
- Route YouTube media settle reports through reportCardsReady
- Document both plugins in docs-site and changelog fragment
2026-10-27 22:31:34 -07:00

1.1 KiB

type: added area: plugins

  • Added JavaScript plugins loaded at startup from <config dir>/plugins/<id>/ and enabled under plugins in the config. Plugins can listen to mpv events, run timers, register actions bound with __plugin-action:<id>/<action> keybindings or run with --plugin-action, run built-in actions, react to mined Anki cards and call AnkiConnect, start mpv, run programs, keep state in a per-plugin data folder, and show results in an overlay panel or their own window.
  • Added an example ai-explain plugin that sends the current line and its neighbors to codex exec and shows a translation or grammar explanation.
  • Added an example anki-sync plugin that syncs Anki to AnkiWeb after you mine cards, once mining goes quiet or playback ends.
  • Added an example episode-tags plugin that tags mined cards with the show and episode, such as show::Frieren::S01E07.
  • Added an example auto-jimaku plugin that opens the Jimaku search when a file starts without a Japanese subtitle track.
  • Added an example mining-goal plugin that tracks cards mined per day, notifies you at a daily goal, and shows your streak and the last week in a panel.