How satoshiinu2/esotereel works
Esotereel is an in-progress video editor with a Qt/C++ client and Rust core, connected through a C ABI and described as client-server. The user-facing path starts at the editor, passes through GUI state and requests, and reaches project commands; the GUI also presents timeline editing and GPU preview. Separate core capabilities include media decoding, rendering, and plugins. The index and excerpts establish some module references and startup calls, but do not expose the full request dispatch or rendering path, so those relationships are not inferred.
Main entry points: ClientState.cpp Client state · MainWindow.cpp Main window · main.cpp App startup · ffi Rust FFI
Components 21
Editor UI
- App startup
gui/src/main.cpp - Main window
gui/src/window/MainWindow.cpp - Timeline editor
gui/src/window/widget/timeline - GPU preview
gui/src/window/widget/preview/GpuPreviewWidget.cpp
FFI Bridge
- Client state
gui/src/ffi/ClientState.cpp - GUI requests
gui/src/ffi/Requests.cpp - Project FFI
gui/src/ffi/project/Project.cpp - Rust FFI
guihlp/src/ffi - Internal server
gui/src/ffi/InternalServer.cpp
Core Services
- Core state
core/src/state.rs - Core networking
core/src/network.rs - Request handling
core/src/requests.rs
Editing Domain
- Project commands
core/src/project/commands.rs - Command history
core/src/project/history.rs - Project model
lib/src/project
Media Extensions
- Media decoding
lib/src/decode - GPU rendering
lib/src/render - Plugin system
lib/src/plugin/mod.rs - Property schemas
lib/src/plugin/property/mod.rs - Plugin registry
lib/src/plugin/registry.rs
Other components
- Editor user
Connections 20
- Editor user → Main window: edits in
README.md - App startup → Client state: creates
gui/src/main.cpp - App startup → Main window: opens
gui/src/main.cpp - App startup → Internal server: starts
gui/src/main.cpp - Main window → GUI requests: uses
- Main window → Timeline editor: hosts
- Main window → GPU preview: hosts
- Client state → Rust FFI: creates state
gui/src/ffi/ClientState.cpp - Client state → Rust FFI: starts network
gui/src/ffi/ClientState.cpp - Client state → Project FFI: locks project
gui/src/ffi/ClientState.cpp - Client state → GUI requests: provides
gui/src/ffi/ClientState.cpp - Internal server → Client state: serves client
- Rust FFI → Core state: bridges state
- Request handling → Project commands: dispatches
- Project commands → Project model: updates
- Command history → Project commands: tracks commands
core/src/project/history.rs - Plugin system → Property schemas: uses schemas
lib/src/plugin/mod.rs - Plugin system → Plugin registry: registers
lib/src/plugin/mod.rs - GPU preview → GPU rendering: requests preview
- GPU rendering → Media decoding: uses media frames