How yelanq/tvehub works
TvE Hub is a visual 3D creation environment with a desktop home window and project-specific editor windows. The principal workflow is project selection, scene editing and preview, then web build/export; the editor and export share a runtime. Major adjacent capabilities include a graph window, an AI assistant backed by a knowledge brain, whiteboard, LAN sharing, and developer documentation. Source excerpts substantiate editor boot, engine/rendering, project loading, runtime APIs, and LAN routing; other product branches are included from README descriptions, with uncertain internal wiring omitted.
Main entry points: editorService.ts Project Bootstrap · EditorEngine.ts Editor Engine · App.vue Editor Window · server.rs LAN Sharing
Components 24
Workspace and Projects
- Home Workspace
src/home-main.ts - Project State
src/app/stores/project.ts - Editor Window
src/App.vue - Project Bootstrap
src/app/services/editorService.ts - Asset Services
src/app/services/assetService.ts
Scene Editor and Runtime
- Scene Model
src/framework/prototype/Node.ts - Editor Engine
src/framework/engine/EditorEngine.ts - Renderer
src/framework/engine/modules/RendererManager.ts - Animation Editing
src/app/composables/anim-editor/useAnimPreview.ts - Visual Logic Graph
src/graph-window/GraphApp.vue - Script Runtime API
src/runtime/core/tve/engine-api.ts - Web Build and Preview
src/app/lib/build-export.ts
Assistant
- Assistant Workspace
src/assistant-window/AssistantApp.vue - Assistant Agent
src/assistant-window/agent.ts - Knowledge Brain
src-tauri/src/brain/graph/mod.rs - Skill Ingestion
src-tauri/src/brain/skillsrc/ingest.rs
Sharing and Docs
- Whiteboard
src/whiteboard-window/components/WhiteboardStage.vue - LAN Sharing
src-tauri/src/lanshare/server.rs - Share Routes
src-tauri/src/lanshare/routes.rs - User Documentation
public/docs
Desktop Services
- Desktop API
src/lib/api.ts - Project Files
Other components
- Creator
- LAN Visitor
Connections 26
- Creator → Home Workspace: manages projects
README.md - Home Workspace → Editor Window: opens project window
README.md - Editor Window → Project Bootstrap: hands off project
src/main.ts - Project Bootstrap → Project State: loads project
src/app/services/editorService.ts - Project Bootstrap → Editor Engine: builds scene
src/app/services/editorService.ts - Project State → Desktop API: requests project data
src/app/stores/project.ts - Asset Services → Desktop API: reads and writes assets
src/app/services/assetService.ts - Project Bootstrap → Asset Services: loads asset services
src/app/services/editorService.ts - Editor Engine → Scene Model: manages nodes
src/framework/engine/EditorEngine.ts - Editor Engine → Renderer: renders scene
src/framework/engine/EditorEngine.ts - Editor Window → Animation Editing: edits animation
src/App.vue - Animation Editing → Scene Model: previews node motion
src/app/composables/anim-editor/useAnimPreview.ts - Creator → Visual Logic Graph: creates visual logic
README.md - Visual Logic Graph → Scene Model: configures scene logic
- Creator → Web Build and Preview: builds and exports
README.md - Web Build and Preview → Project Files: writes web output
- Creator → Assistant Workspace: requests task
README.md - Assistant Workspace → Assistant Agent: runs assistant plan
- Assistant Agent → Knowledge Brain: retrieves knowledge
- Skill Ingestion → Knowledge Brain: adds skill graph
src-tauri/src/brain/skillsrc/ingest.rs - Creator → Whiteboard: collaborates visually
README.md - Creator → LAN Sharing: publishes share
README.md - LAN Sharing → Share Routes: routes requests
src-tauri/src/lanshare/server.rs - LAN Visitor → LAN Sharing: opens shared site
README.md - Creator → User Documentation: consults guides
README.md - Script Runtime API → Editor Engine: forwards host calls