How molodecofficial/moloflow works
MoloFlow appears to be a Nuxt-based enterprise workspace with a windowed desktop, dynamic modules, document storage, and a companion Telegram bot for code-file previews and animations. The main user flow is opening a window, resolving its content, and—when it is a dynamic module—loading module data for display. Workspace documents and enterprise administration form additional product areas. The graph also shows module compilation and the bot’s animation path. Several subsystems are represented from the file tree alone; those are not connected where the excerpts do not establish runtime calls.
Main entry points: animate.py Animation handler · useWindowManager.ts Window manager · WindowsManager.vue Window rendering · useModuleService.ts Module loader
Components 25
Desktop and windows
- Nuxt app shell
app/app.vue - Window manager
app/composables/window/useWindowManager.ts - Window rendering
app/components/window/WindowsManager.vue - Window frame
app/components/window/MoloWindow.vue - Window content
app/components/window/WindowsContent.vue - Pinned items
app/composables/window/usePinnedItems.ts - Window state types
types/window.ts
Dynamic modules and tools
- Module loader
app/composables/compiler/useModuleService.ts - Module compiler
app/composables/compiler/useModuleCompiler.ts - Module cache
app/composables/compiler/useModuleCache.ts - Module browser
app/layouts/modules/Browser.vue - Style editor
app/components/MoloStyleEditor.vue - Editor files
app/composables/useMonacoFiles.ts
Workspace and enterprise
- Enterprise workspace
app/layouts/company/enterprise/Workspace.vue - Document state
stores/workspaceStore.ts
Server capabilities
- Module endpoints
server/api/enterprises/[id]/dynamicModules/[moduleId]/index.get.ts - Workspace endpoints
server/api/workspace/documents/index.get.ts - Directory endpoints
server/api/directory/items.get.ts - Enterprise endpoints
server/api/enterprises/index.get.ts
Telegram assistant
- Telegram bot
bot/main.py - Animation handler
bot/handlers/animate.py - UI storyboard AI
bot/services/ui_ai.py - Browser renderer
bot/services/browser_animator.py - Bot file store
bot/config.py
Other components
- User
Connections 19
- User → Nuxt app shell: uses
- Window manager → Pinned items: manages pins
app/composables/window/useWindowManager.ts - Window manager → Window state types: uses types
app/composables/window/useWindowManager.ts - Window manager → Window rendering: provides windows
- Window rendering → Window frame: renders
app/components/window/WindowsManager.vue - Window rendering → Window content: renders
app/components/window/WindowsManager.vue - Module loader → Module cache: caches data
app/composables/compiler/useModuleService.ts - Module loader → Module endpoints: fetches module
app/composables/compiler/useModuleService.ts - Module compiler → Module cache: uses cache
app/composables/compiler/useModuleCompiler.ts - Module browser → Module loader: loads modules
- Style editor → Editor files: edits files
- Document state → Workspace endpoints: loads and saves
stores/workspaceStore.ts - Enterprise workspace → Document state: uses documents
- User → Enterprise workspace: uses
- User → Module browser: browses modules
- Telegram bot → Animation handler: registers handler
bot/main.py - Animation handler → Bot file store: reads files
bot/handlers/animate.py - Animation handler → UI storyboard AI: generates storyboard
bot/handlers/animate.py - Animation handler → Browser renderer: renders video
bot/handlers/animate.py