How yakuda-stack/osc-dreamchatbox works
OSC-DreamChatbox is a native desktop companion for sending configured chatbox content to VRChat. Users configure status, media, hardware, and custom content in the app; the main window coordinates runtime services, and OSC sends the resulting chatbox updates. Separate branches cover speech and translation, discovery/input, plugins, profiles, themes, and terminal operation. Some branches are documented by the README or indexed imports rather than shown call sites, so the graph avoids asserting unsampled implementation links.
Main entry points: mainwindow.py Main window · speechtotext.py Speech recognition · translators.py Translation services · plugins.py Plugin manager
Components 26
Chatbox content
- Personal status
ui/pages/apps_page.py - Now playing
ui/pages/apps_page.py - Hardware stats
ui/pages/apps_page.py - Combined layouts
ui/aio_edit.py - Custom box
ui/pages/custom_box.py - Node canvas
ui/nodegraph.py - Node evaluation
core/nodegraph_eval.py - AFK handling
core/afk.py
Runtime services
- Main window
ui/mainwindow.py - OSCQuery discovery
core/oscquery.py - OSC input
core/oscin.py
Speech and translation
- Speech recognition
core/speechtotext.py - Microphone groups
core/micgroups.py - PipeWire audio
core/backends/mic_pactl.py - Translation services
core/translators.py - AI translation
core/ai_translator.py - Custom translation
core/custom_translator.py
App and extensions
- Plugin page
ui/pages/plugins_page.py - Plugin manager
core/plugins.py - Plugin store
core/plugin_store.py - Options and themes
ui/pages/options_page.py - Profiles
core/profiles.py - Terminal mode
core/headless.py - Atomic file writes
core/atomicfile.py
Other components
- User
- VRChat
Connections 33
- User → Main window: configures
- Main window → Personal status: offers
ui/mainwindow.py - Main window → Now playing: offers
ui/mainwindow.py - Main window → Hardware stats: offers
ui/mainwindow.py - Main window → Combined layouts: offers
- Main window → Custom box: offers
ui/mainwindow.py - Main window → Node canvas: offers
- Node canvas → Node evaluation: evaluates
- Main window → AFK handling: coordinates
ui/mainwindow.py - Main window → OSCQuery discovery: starts
ui/mainwindow.py - OSCQuery discovery → VRChat: discovers
core/oscquery.py - VRChat → OSC input: sends parameters
- Main window → OSC input: coordinates
ui/mainwindow.py - Main window → Speech recognition: coordinates
ui/mainwindow.py - Speech recognition → Microphone groups: uses devices
core/speechtotext.py - Microphone groups → PipeWire audio: queries audio
core/micgroups.py - Speech recognition → Translation services: translates speech
core/speechtotext.py - Translation services → AI translation: uses backend
core/translators.py - Translation services → Custom translation: uses backend
core/translators.py - Main window → Plugin manager: loads enabled
ui/mainwindow.py - Plugin page → Plugin store: manages packages
ui/pages/plugins_page.py - Plugin page → Plugin manager: manages plugins
ui/pages/plugins_page.py - Main window → Options and themes: offers
ui/mainwindow.py - Main window → Profiles: supports profiles
- Main window → Terminal mode: supports terminal mode
core/headless.py - Profiles → Atomic file writes: persists through
core/profiles.py - Plugin manager → Atomic file writes: persists through
core/plugins.py - Personal status → VRChat: sends chatbox text
- Now playing → VRChat: sends chatbox text
- Hardware stats → VRChat: sends chatbox text
- Combined layouts → VRChat: sends combined text
- Custom box → VRChat: frames chatbox
- AFK handling → VRChat: uses AFK parameter