How seetao-sott/desktop-island works
Desktop Island is a Windows desktop companion combining a hover-expanded island, a file-organizing edge shelf, and wallpaper-level widgets. The user workflow spans island alerts and controls, shelf file operations, and widget editing, display, and theming; the rhythm game and screen-edge audio effects are additional product features. The README documents several cross-layer behaviors; source excerpts show the island and widget entry points and selected implementation links. Other subsystem connections are shown only where documented, so unsampled implementation details are not inferred.
Main entry points: main.rs Tauri host · main.ts Widget editor and runtime · shelf_fs.rs Shelf filesystem · rhythm.ts Rhythm game
Components 29
Island and system
- Island interface
src/main.ts - Tauri host
src-tauri/src/main.rs - Media controls
src-tauri/src/media.rs - Pomodoro timer
src-tauri/src/pomodoro.rs - System alerts
src-tauri/src/alerts.rs - Fullscreen detection
src-tauri/src/fullscreen.rs - Desktop controls
src-tauri/src/desktop.rs
Shelf and files
- Shelf interface
src/shelf.ts - Shelf API client
src/shelf-api.ts - Shelf commands
src-tauri/src/shelf_cmds.rs - Shelf filesystem
src-tauri/src/shelf_fs.rs - Safe file operations
src-tauri/src/fileops.rs - Desktop migration
src-tauri/src/shelf_fs/migrate.rs
Desktop widgets
- Widget editor and runtime
src/widgets/main.ts - Widget models
src/widgets/kinds - Widget themes
src/widgets/skins - Widget layout grid
src/widgets/grid.ts - Audio visualization
src/widgets/views/audio.ts - Widget host
src-tauri/src/widgets.rs - Wallpaper theming
src-tauri/src/theme.rs - Wallpaper integration
src-tauri/src/wallpaper.rs
Audio experiences
- Rhythm game
src/widgets/rhythm.ts - Chart loading
src-tauri/src/chart.rs - osu chart parser
src-tauri/src/osu.rs - System audio capture
src-tauri/src/audio.rs - Screen-edge glow
src/edge/edge.ts
Other components
- User
- Windows desktop
- Wallpaper Engine
Connections 32
- User → Island interface: uses
- Island interface → Tauri host: invokes commands
src/main.ts - Tauri host → Media controls: registers
src-tauri/src/main.rs - Tauri host → Pomodoro timer: commands timer
src-tauri/src/main.rs - Tauri host → System alerts: reads alerts
src-tauri/src/main.rs - Tauri host → Fullscreen detection: hides on fullscreen
src-tauri/src/main.rs - Tauri host → Desktop controls: controls desktop
src-tauri/src/main.rs - User → Shelf interface: organizes files
- Shelf interface → Shelf API client: calls
src/shelf.ts - Shelf API client → Shelf commands: invokes commands
- Shelf commands → Shelf filesystem: performs operations
- Shelf filesystem → Safe file operations: moves files
src-tauri/src/shelf_fs.rs - Shelf filesystem → Desktop migration: supports migration
src-tauri/src/shelf_fs/migrate.rs - User → Widget editor and runtime: edits widgets
- Widget editor and runtime → Widget models: creates models
src/widgets/main.ts - Widget editor and runtime → Widget themes: renders with
src/widgets/main.ts - Widget editor and runtime → Widget layout grid: positions on
src/widgets/main.ts - Widget models → Widget themes: provides view data
src/widgets/skins/types.ts - Audio visualization → Widget themes: implements audio view
src/widgets/views/audio.ts - Widget editor and runtime → Audio visualization: uses for audio
src/widgets/main.ts - Widget editor and runtime → Widget host: saves layout
- Widget host → Wallpaper theming: updates theme
- Wallpaper theming → Wallpaper integration: gets wallpaper colors
- Wallpaper integration → Wallpaper Engine: queries wallpaper
- User → Rhythm game: plays charts
- Rhythm game → Chart loading: loads songs
- Chart loading → osu chart parser: parses charts
src-tauri/src/chart.rs - Rhythm game → Tauri host: sets now playing
- User → Screen-edge glow: enables effect
- System audio capture → Screen-edge glow: provides audio
- System audio capture → Audio visualization: feeds visualization
- Windows desktop → System audio capture: provides loopback audio