How win12-online/win12 works
Win12 Online is a browser-based simulation of a graphical desktop operating system, with a Tauri desktop edition. The user-facing path begins at the online boot experience, continues through login and desktop initialization, and opens windows for built-in applications; users can also personalize the shell and place widgets. The README documents settings, a file system, browser, AI, and other apps. Sampled code confirms desktop initialization and native login integration, but most runtime wiring is unsampled, so uncertain connections are omitted or shown as unverified.
Main entry points: desktop.js Desktop runtime · apps.js Application runtime · boot.html Boot experience · window.js Window management
Components 20
Desktop shell
- Boot experience
boot.html - Desktop runtime
desktop.js - Window management
module/window.js - Window templates
data/window-templates.js - Context menus
data/context-menus.js - Taskbar and tasks
data/tasks.js
Built-in apps
- Application runtime
module/apps.js - File explorer
module/apps.js - Edge browser
module/apps.js - Terminal
scripts/terminal.js - Calculator
scripts/calculator_kernel.js - AI Copilot
scripts/AI Copilot service
Personalization
- Desktop widgets
module/widget.js - Now playing
module/nowPlaying.js - Settings and themes
module/apps.js
Platform services
- Localization
scripts/i18n-boot.js - Offline and caching
sw.js - Tauri API bridge
tauri/tauri_api.js - Tauri host
Other components
- User
Connections 19
- User → Boot experience: opens
README.md - Boot experience → Desktop runtime: starts
- Desktop runtime → Application runtime: initializes
desktop.js - Desktop runtime → Tauri API bridge: requests login status
desktop.js - Tauri API bridge → Tauri host: invokes commands
tauri/tauri_api.js - Desktop runtime → Window management: opens windows
- Window management → Window templates: uses templates
- Desktop runtime → Context menus: registers menus
- Desktop runtime → Taskbar and tasks: shows tasks
- Application runtime → File explorer: provides
module/apps.js - Application runtime → Edge browser: provides
module/apps.js - Application runtime → Terminal: provides
- Application runtime → Calculator: provides
- Application runtime → AI Copilot: provides
- Desktop runtime → Desktop widgets: initializes
- Desktop widgets → Now playing: includes player
- Desktop runtime → Settings and themes: loads theme
desktop.js - Desktop runtime → Localization: uses translations
- User → Offline and caching: uses offline app