How ikrevedko0-hash/ye-studio works
Ye!Studio is a Windows desktop workshop for creating, editing, checking, and publishing SIGame .siq packs. The central workflow is the renderer’s pack editor, bridged through preload IPC to Electron’s main process for pack files and media operations; domain modules handle validation, preview, poster generation, and content enrichment. README capabilities support additional AI, word, image, media-search, and component-management branches, though their detailed internal wiring is not sampled here. The graph reflects documented capabilities and sampled entry points; uncertain internal calls are omitted.
Main entry points: App.tsx Workshop UI · main/index.ts Electron main · preload/index.ts IPC bridge · Publish.tsx Publish tools
Components 29
Pack authoring
- Workshop UI
app/src/renderer/src/App.tsx - Board editor
app/src/renderer/src/Board.tsx - Question editor
app/src/renderer/src/QuestionEditor.tsx - Undo history
app/src/core/history.ts - Pack model
app/src/core/siq/model.ts - SIQ archive I/O
app/src/core/siq/zip.ts - Pack checker UI
app/src/renderer/src/PackCheck.tsx - Pack validation
app/src/core/siq/check.ts - Game preview
app/src/renderer/src/GamePreview.tsx - Publish tools
app/src/renderer/src/Publish.tsx - Poster and export
app/src/core/siq/publish.ts
Media and images
- Media center
app/src/renderer/src/MediaCenter.tsx - Media editor
app/src/renderer/src/MediaEditor.tsx - Media providers
app/src/core/media/providers/registry.ts - Downloaded library
app/src/core/media/library.ts - Media processing
app/src/core/media/ffmpeg.ts - Image studio
app/src/renderer/src/ImageStudio.tsx - Image generation
app/src/core/ai/image.ts
Content enrichment
- Word studio
app/src/renderer/src/WordStudio.tsx - Word generators
app/src/core/words/generators/registry.ts - AI chat and settings
app/src/core/ai/chat.ts - Assistant setup
app/src/main/assistantKit.ts
Desktop services
- IPC bridge
app/src/preload/index.ts - Electron main
app/src/main/index.ts - Component manager
app/src/main/components.ts
External support
- Beta service
server/yestudio_server.py - AI providers
- SIGame ecosystem
Other components
- Pack author
Connections 32
- Pack author → Workshop UI: edits packs
- Workshop UI → Board editor: renders editor
- Workshop UI → Question editor: edits questions
- Workshop UI → Undo history: tracks changes
- Workshop UI → Pack model: updates model
- Workshop UI → Pack checker UI: opens checker
- Pack checker UI → Pack validation: checks pack
- Workshop UI → Game preview: previews questions
- Workshop UI → Publish tools: opens publishing
- Publish tools → Poster and export: builds poster
- Workshop UI → IPC bridge: invokes IPC
- IPC bridge → Electron main: dispatches requests
- Electron main → SIQ archive I/O: opens and saves
- Electron main → Publish tools: renders poster
- Pack author → Media center: finds media
- Media center → IPC bridge: requests search
- Electron main → Media providers: searches providers
- Electron main → Downloaded library: stores downloads
- Pack author → Media editor: edits media
- Media editor → IPC bridge: requests processing
- Electron main → Media processing: processes media
- Pack author → Image studio: creates images
- Image studio → IPC bridge: requests generation
- Electron main → Image generation: generates images
- Pack author → Word studio: builds word themes
- Word studio → Word generators: generates words
- Workshop UI → AI chat and settings: uses AI features
- AI chat and settings → AI providers: calls providers
- Pack author → Assistant setup: sets up assistant
- Electron main → Component manager: manages components
- Electron main → Beta service: sends telemetry
- Publish tools → SIGame ecosystem: exports for SIGame