removed electron
This commit is contained in:
12
plan.md
12
plan.md
@ -1,6 +1,6 @@
|
||||
# Plan for Building TalkEdit (Whisper.cpp + Tauri)
|
||||
|
||||
Based on your original idea summary and our discussions, here's a detailed plan to build a standalone, local audio/video editor app. We'll modify CutScript as the base, migrate to **Tauri 2.0** (Rust backend + React frontend) for tiny, dependency-free installers, and use **Whisper.cpp** for fast, accurate transcription. This keeps the scope minimal, focuses on text-based editing for spoken content, and targets podcasters/YouTubers.
|
||||
Based on your original idea summary and our discussions, here's a detailed plan to build a standalone, local audio/video editor app. We'll continue evolving the existing TalkEdit codebase on **Tauri 2.0** (Rust backend + React frontend) for tiny, dependency-free installers, and use **Whisper.cpp** for fast, accurate transcription. This keeps the scope minimal, focuses on text-based editing for spoken content, and targets podcasters/YouTubers.
|
||||
|
||||
## 1. Overview
|
||||
- **Goal**: Create an offline Descript alternative with word-level editing, transcription, and export. Users download one file (~10–20MB), install, and run—no Python, FFmpeg, or external deps.
|
||||
@ -9,19 +9,19 @@ Based on your original idea summary and our discussions, here's a detailed plan
|
||||
- **Key Differentiators**: Fully local, text-based editing like Google Docs, smart cuts with fades.
|
||||
|
||||
## 2. Tech Stack
|
||||
- **Frontend**: React + Vite + Tailwind CSS + shadcn/ui (from CutScript; minimal changes).
|
||||
- **Frontend**: React + Vite + Tailwind CSS + shadcn/ui.
|
||||
- **Backend**: Tauri 2.0 (Rust) – handles file I/O, FFmpeg calls, Whisper.cpp integration.
|
||||
- **Transcription**: Whisper.cpp (via Rust bindings like `whisper-cpp-sys` or `whisper-rs`).
|
||||
- **Audio/Video Processing**: FFmpeg (bundled or called via Rust wrappers like `ffmpeg-next`).
|
||||
- **State Management**: Zustand (from CutScript).
|
||||
- **State Management**: Zustand.
|
||||
- **Packaging**: Tauri's `tauri build` for cross-platform installers.
|
||||
- **AI Features**: Local models only (no APIs); optional Ollama for fillers.
|
||||
|
||||
## 3. Step-by-Step Development Plan
|
||||
1. **Set Up Tauri in CutScript** (1–2 weeks):
|
||||
1. **Set Up Tauri in TalkEdit** (1–2 weeks):
|
||||
- Install `tauri-cli` globally.
|
||||
- In CutScript root: `npx tauri init` (choose Rust backend, link to existing React frontend).
|
||||
- Migrate Electron main.js to Tauri's `src/main.rs` (handle window, file dialogs).
|
||||
- In TalkEdit root: `npx tauri init` (choose Rust backend, link to existing React frontend).
|
||||
- Implement Tauri `src/main.rs` host flow (window lifecycle, file dialogs, backend coordination).
|
||||
- Update `tauri.conf.json` for app metadata, bundle settings.
|
||||
|
||||
2. **Integrate Whisper.cpp in Rust** (2–3 weeks):
|
||||
|
||||
Reference in New Issue
Block a user