How opencut-app/opencut works
OpenCut is an in-progress rewrite of a video editor, not yet a complete editing workflow: the README describes future editor, plugin, cross-platform, AI, automation, and scripting capabilities, while the sampled desktop panels and web routes are largely scaffolding. The visible runtime path is web startup through routing to its routes, or desktop startup through the shell to editor panels. The API and media setup appear in the tree, but their behavior and connections are not established by the excerpts; future README capabilities are therefore not shown as implemented.
Main entry points: shell.rs Editor shell · theme.rs Desktop theme · routeTree.gen.ts Route tree · main.rs Desktop startup
Components 19
Web app
- Web router
apps/web/src/router.tsx - Route tree
apps/web/src/routeTree.gen.ts - Root document
apps/web/src/routes/__root.tsx - Home route
apps/web/src/routes/index.tsx - Editor route
apps/web/src/routes/editor.tsx
Desktop app
- Desktop startup
apps/desktop/src/main.rs - Editor shell
apps/desktop/src/shell.rs - Media browser
apps/desktop/src/panels/browser.rs - Preview panel
apps/desktop/src/panels/preview.rs - Inspector panel
apps/desktop/src/panels/inspector.rs - Timeline panel
apps/desktop/src/panels/timeline.rs
Interface components
- Tooltip provider
apps/web/src/components/ui/tooltip.tsx - Web UI library
apps/web/src/components/ui - Desktop controls
apps/desktop/src/components - Context menu
apps/desktop/src/components/context_menu.rs - Desktop theme
apps/desktop/src/theme.rs
Service entrypoints
- API entrypoint
apps/api/src/index.ts - Media setup
crates/media/setup/setup.ts
Other components
- User
Connections 18
- User → Web router: opens app
- Web router → Route tree: loads routes
apps/web/src/router.tsx - Route tree → Root document: registers root
apps/web/src/routeTree.gen.ts - Route tree → Home route: registers route
apps/web/src/routeTree.gen.ts - Route tree → Editor route: registers route
apps/web/src/routeTree.gen.ts - Root document → Tooltip provider: wraps children
apps/web/src/routes/__root.tsx - User → Desktop startup: starts editor
- Desktop startup → Editor shell: creates shell
apps/desktop/src/main.rs - Editor shell → Media browser: creates and renders
apps/desktop/src/shell.rs - Editor shell → Preview panel: creates and renders
apps/desktop/src/shell.rs - Editor shell → Inspector panel: creates and renders
apps/desktop/src/shell.rs - Editor shell → Timeline panel: creates and renders
apps/desktop/src/shell.rs - Desktop startup → Desktop controls: imports controls
apps/desktop/src/main.rs - Editor shell → Desktop theme: reads colors
apps/desktop/src/shell.rs - Media browser → Desktop theme: reads colors
apps/desktop/src/panels/browser.rs - Preview panel → Desktop theme: reads colors
apps/desktop/src/panels/preview.rs - Context menu → Desktop theme: reads theme
apps/desktop/src/components/context_menu.rs - Desktop controls → Desktop theme: uses theme
apps/desktop/src/components/context_menu.rs