Skip to content

chore: retire the Electron-side subtitle script#25

Merged
ThairaHub merged 1 commit into
mainfrom
chore/retire-electron-subtitle-stack
Jun 11, 2026
Merged

chore: retire the Electron-side subtitle script#25
ThairaHub merged 1 commit into
mainfrom
chore/retire-electron-subtitle-stack

Conversation

@ThairaHub

Copy link
Copy Markdown
Collaborator

The in-app caption pipeline now covers everything the dev-only Electron script did (whisper-small #22, styled subtitles #23, timeline lane, click-to-edit), so the script retires.

  • scripts/extract-subtitles.mjs, generate-subtitles IPC handler, preload method, and d.ts declaration removed (script was never packaged — required system node + dev node_modules; see the packaged-app discussion that started this arc).
  • Sidebar Auto-Generate now opens the auto-captions dialog preset to Styled subtitles; busy state follows isAutoCaptioning.
  • wavefile dependency dropped (script-only). @xenova/transformers stays — the in-app worker uses it.

tsc 0 errors · biome clean · vitest 229/229 · i18n 12 locales · build OK

🤖 Generated with Claude Code

extract-subtitles.mjs + the generate-subtitles IPC were dev-only (the
script was never packaged, needed a system node and a dev node_modules
tree) and lost their last advantage once the in-app caption pipeline
gained whisper-small, forced language, and styled-subtitle output.

- remove scripts/extract-subtitles.mjs, the generate-subtitles handler,
  preload method, and type declaration
- sidebar Auto-Generate now opens the auto-captions dialog preset to
  styled-subtitle output; its busy state follows isAutoCaptioning
- drop the wavefile dependency (script-only)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ThairaHub ThairaHub merged commit a34b14e into main Jun 11, 2026
4 checks passed
@ThairaHub ThairaHub deleted the chore/retire-electron-subtitle-stack branch June 11, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant