- Rust 63.8%
- TypeScript 33.6%
- CSS 2.2%
- PowerShell 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Shift+P played 3 s either side in the stream, which could include other cuts or what the archive drops. It now walks the episode's own pieces, so it plays exactly the join the episode will have. Move the Tighten state, actions and keys out of Episodes.tsx into useTightenKeys, add tests for touching cuts and stretch ends, compare times with one sameTime helper, and keep a cut put back by mouse current. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| apps/desktop | ||
| crates | ||
| docs | ||
| scripts | ||
| spikes | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| rustfmt.toml | ||
VODWand
Portable Windows app that turns long Twitch VODs into YouTube archives, episodes, and Shorts. Product spec: docs/PRD.md · Current milestone plan: docs/plans/M0-foundation.md · Spike findings: docs/spikes/
Layout
apps/desktop/ Tauri 2 app: React + TypeScript UI (src/) and Rust shell (src-tauri/)
crates/core/ shared domain types and IDs (exported to TypeScript)
crates/platform/ portable folder layout, logging, diagnostics zip, drive (HDD/SSD) detection
crates/store/ SQLite library store + migrations (schema in crates/store/migrations/)
crates/credentials/ per-profile secrets in Windows Credential Manager
crates/jobs/ persistent job engine: checkpoints, pause/resume, retries, per-disk IO limits
crates/sidecars/ bundled tools (ffmpeg, TwitchDownloaderCLI, Phonon-2): manifest, checksums, process-tree runner
crates/twitch/ Twitch client: GQL metadata, Helix clips/markers, device login, HLS playlists
crates/ingest/ VOD import: lookup, project folders, import jobs (details, video, remux, chat)
crates/analysis/ prepare for editing: keyframe index, sprites, waveform, Phonon-2 transcript
crates/media/ loopback HTTP media server (token-protected) feeding the player and viewer
crates/edit/ Edit Model: archive cuts/splits, invertible commands, time remapping, persistent undo
crates/detect/ detectors and proposers: break detection (cut rules), archive split solver
crates/render/ Render Planner (pure) + render.archive job: chunked, resumable stream-copy archive parts
crates/e2e/ golden end-to-end test (fake Twitch import → analysis → media server)
scripts/ dev/packaging scripts (fetch-sidecars.ps1, build-portable.ps1)
docs/ PRD, plans, spike reports
spikes/ throwaway spike code (not part of the app)
Development
Prerequisites: Rust (stable), Node 22, pnpm 10 (via Corepack), WebView2 (preinstalled on Windows 10/11).
pnpm install
Fetch the pinned external tools (ffmpeg, TwitchDownloaderCLI, Phonon-2 runtime + model, ~1.5 GB) into .dev-home/:
pwsh scripts/fetch-sidecars.ps1 -ModelsDir .dev-home/models
pnpm dev
Debug runs keep their data in .dev-home/ at the repo root (set STREAMEDIT_HOME to override).
Release builds are portable: everything is written next to the executable (data/, models/).
Run every check:
pnpm check
Typed IPC: Rust commands and types are exported to apps/desktop/src/bindings.ts on every debug
launch. To regenerate without launching:
cargo run -p streamedit-desktop --bin export-bindings
Build the portable executable (target/release/VODWand.exe):
pnpm build
Build the portable zips (dist/VODWand-<version>-full.zip with the speech model, and
-lite.zip, which downloads the model on first run). Tools are fetched once into dist/cache:
pwsh scripts/build-portable.ps1