Fetch ASS or SRT dual subtitles for your local video file and press one key to save any word or subtitle line directly to your Lalea vocabulary with scene context.
Sign inscripts/lalea.lua and script-opts/lalea.conf from the ZIP into your mpv config folder (~/.config/mpv/ on Linux & macOS, or %APPDATA%\mpv\ on Windows).script-opts/lalea.conf:api_key=<reveal or copy below> base_url=https://lalea.app format=auto hotkey_fetch=Alt+l hotkey_cycle=Alt+n hotkey_pick=Alt+w hotkey_save=Alt+s
In IINA open Settings -> Advanced -> Use config directory and point it to a folder containing scripts/lalea.lua and script-opts/lalea.conf. Optionally add Key Bindings in IINA calling script-message lalea-fetch, lalea-pick-word, and lalea-save-line.
Keep lalea.conf private. Revoking generates a new personal key exclusively for mpv and IINA (your Bazarr, Kodi, Stremio and Apple TV links are unaffected; the old mpv key stops working immediately).
ASS recommended for mpv & IINA: both players have full libass support for two-color fonts and reading hints. Free quota counts subtitle tracks cleanly and keeps word saving unlimited.
Every word or line you capture with Alt+w / Alt+s enters your Lalea vocabulary with its timestamp and film title for spaced repetition.