Skip to content

Commit 4d820b4

Browse files
committed
Add Electron UI replacing Flet gui.py
- electron/main.js: IPC handlers for config, credentials, Canvas API, subprocess management (node-pty on Unix for tqdm \r refresh), ML venv installer with CUDA detection, script constant read/write - electron/preload.js: contextBridge exposes window.api to renderer - electron/renderer/: single-page app with all 7 pages (Dashboard, Pipeline, Download, Transcribe, Align, Generate, Settings) matching gui.py behavior; dark teal theme; pinned terminal panel with 500-line cap and in-place \r refresh - electron/test/main.test.js: 26 unit tests (config, constants, torchIndexUrl, getFilesStatus) — all passing - gui.py kept intact; Electron is the new primary UI entrypoint
1 parent b253155 commit 4d820b4

8 files changed

Lines changed: 2979 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ config.json
3333
# ── Misc ──────────────────────────────────────────────────────────────────────
3434
*.egg-info/
3535
.DS_Store
36+
electron/node_modules/
37+
electron/package-lock.json

0 commit comments

Comments
 (0)