How sheep-realms/echo-live works
Echo Live is an Echo-based OBS plugin that presents a visual-novel-style dialogue box for silent-streaming virtual hosts. Its main workflow is composing formatted dialogue in the editor and displaying it in the live view; related capabilities include themes, history, settings, statistics, extensions, localization, and optional WebSocket messaging. The README establishes the product purpose, while the tree and sampled files support module roles; most runtime wiring was not sampled, so uncertain connections are omitted.
Main entry points: EchoLive.js Live runtime · editor.js Editor interface · EchoLiveEditor.js Editor behavior · history.js History interface
Components 22
Dialogue authoring
- Editor interface
res/script/editor.js - Editor behavior
res/class/EchoLiveEditor.js - Editor controls
res/data/editor_controller.js - Message formatting
res/class/DataFilter.js
Live display
- Live view
res/script/live.js - Live runtime
res/class/EchoLive.js - Character display
res/class/EchoLiveCharacter.js - Live themes
res/data/live_theme.js - History interface
res/script/history.js - History management
res/class/EchoLiveHistory.js
Application services
- System registry
res/class/EchoLiveSystem.js - Settings interface
res/script/settings.js - Settings management
res/class/SettingsManager.js - Local persistence
res/class/LocalStorageManager.js - Usage statistics
res/class/StatisticManager.js - Localization
res/class/Translator.js - Language data
lang/index.js
Integrations
- Extension manager
res/class/ExtensionManager.js - Broadcast service
res/class/EchoLiveBroadcast.js
Other components
- Host / operator
- WebSocket server
- OBS browser source
Connections 18
- Host / operator → Editor interface: edits dialogue
- Editor interface → Editor behavior: uses editor
- Editor interface → Editor controls: uses controls
- Editor behavior → Message formatting: formats messages
- Live view → Live runtime: starts display
- Live runtime → Character display: updates character
- Live runtime → Live themes: uses theme data
- Host / operator → History interface: reviews history
- History interface → History management: uses history
- Host / operator → Settings interface: changes settings
- Settings interface → Settings management: updates settings
- Settings management → Local persistence: persists settings
- Usage statistics → Local persistence: persists statistics
- Language data → Localization: supplies translations
- Extension manager → Localization: patches localization
- Editor behavior → Broadcast service: broadcasts messages
- WebSocket server → Broadcast service: sends messages
- Live runtime → OBS browser source: renders live view