How ambartsumov/unified-workstation works
Unified Workstation is a local-first, cross-platform workstation coordinator. The main workflow is to launch its app or CLI, configure and pair machines, then manage a shared work folder and optional keyboard/mouse, Home, and Cloud services while reporting readiness and supporting recovery. The graph preserves the README’s major capabilities and the central modules named in the SOURCE INDEX. Some subsystem links are documented only at a high level; unsampled implementation details are not inferred.
Main entry points: main.py Command line · syncer.py Sync coordination · backend.py App backend · server.py Application window
Components 30
Entry and interface
- Application window
suw/app/server.py - Window UI
suw/app/static/app.js - App backend
suw/app/backend.py - Command line
suw/cli/main.py
Workspace and coordination
- First-run setup
suw/core/onboarding.py - Explicit pairing
suw/core/pairing.py - Shared work folder
suw/integrations/worksync.py - Sync coordination
suw/core/syncer.py - Git reconciliation
suw/core/gitsync.py - Project management
suw/core/projects.py - Workstation mode
suw/core/modes.py - Workspace applications
suw/integrations/apps.py
Servers and integrations
- Keyboard and clipboard
suw/integrations/peripherals.py - Cloud server
suw/cloud/__init__.py - Cloud projects
suw/cloud/project.py - SSH integration
suw/integrations/ssh.py - Private networking
suw/integrations/tailscale.py
Health and recovery
- Readiness and health
suw/core/health.py - Diagnostics
suw/core/doctor.py - Recovery and backups
suw/core/backup.py - Change journal
suw/core/journal.py - Update checks
suw/core/update.py
Configuration and platform
- Configuration
suw/core/config.py - Device inventory
suw/core/inventory.py - Local state
suw/core/state.py - Event log
suw/core/events.py - Platform adapters
suw/platform/__init__.py - Background daemon
suw/daemon/suwd.py - Localized text
suw/ui/text.py
Other components
- User
Connections 32
- User → Application window: opens
README.md - User → Command line: runs commands
README.md - Application window → Window UI: serves window
README.md - Application window → App backend: uses backend
suw/app/server.py - Application window → First-run setup: configures setup
- Command line → Shared work folder: manages work
suw/cli/main.py - Command line → Cloud server: manages cloud
suw/cli/cloud_cmd.py - Command line → Diagnostics: diagnoses
suw/core/doctor.py - Command line → Configuration: reads configuration
suw/cli/main.py - Shared work folder → Sync coordination: provides sync transport
suw/core/syncer.py - Sync coordination → Git reconciliation: invokes reconciliation
suw/core/syncer.py - Sync coordination → Project management: uses project records
suw/core/syncer.py - Workstation mode → Workspace applications: launches applications
suw/core/modes.py - Command line → Workstation mode: controls mode
suw/cli/main.py - Explicit pairing → Device inventory: updates devices
- Cloud server → SSH integration: connects over SSH
suw/cloud/__init__.py - Cloud server → Cloud projects: manages projects
suw/cloud/__init__.py - Keyboard and clipboard → Private networking: checks network
suw/integrations/peripherals.py - Diagnostics → Readiness and health: checks health
suw/core/doctor.py - Diagnostics → Git reconciliation: checks repositories
suw/core/doctor.py - App backend → Recovery and backups: supports recovery
suw/app/backend.py - Command line → Recovery and backups: offers recovery
- App backend → Update checks: checks updates
suw/app/backend.py - Command line → Update checks: checks updates
- App backend → Configuration: loads settings
suw/app/backend.py - Configuration → Platform adapters: resolves platform paths
- Sync coordination → Local state: persists sync state
suw/core/syncer.py - Sync coordination → Event log: records events
suw/core/syncer.py - Background daemon → Sync coordination: runs synchronization
suw/daemon/suwd.py - Background daemon → Readiness and health: checks health
suw/daemon/suwd.py - App backend → Localized text: localizes messages
suw/app/backend.py - Command line → Localized text: formats output
suw/cli/main.py