How mmfoundation/wallpapermachine works
WallpaperMachine is a macOS app for browsing, managing, previewing, and applying Wallpaper Engine scene, video, and web wallpapers. Its main user journey runs from the control panel—selecting a library item or finding one in Workshop or pixiv—through applying it to the desktop. The graph also preserves major supporting capabilities: previews, per-wallpaper options, automation, multi-display behavior, and library storage. Relationships are limited to those stated in the README or shown by the supplied source index; several runtime connections remain unverified because their implementations were not excerpted.
Main entry points: PanelController.swift Panel controller · WallpaperPresentationPolicy.swift Desktop presentation · ControlPanelView.swift Control panel · WorkshopStore.swift Steam Workshop
Components 24
Control panel
- Control panel
App/Views/ControlPanel/ControlPanelView.swift - Panel controller
App/Views/ControlPanel/Model/PanelController.swift - Panel actions
App/Views/ControlPanel/Model - Wallpaper preview
App/Services/Preview - Wallpaper options
Shared/WallpaperEngineOptions.swift
Wallpaper sources
- Installed library
App/Views/ControlPanel/Library/InstalledBrowserModel.swift - Steam Workshop
App/Services/Workshop/WorkshopStore.swift - pixiv browsing
App/Services/Pixiv/PixivStore.swift - Wallpaper import
App/Services/Library/WallpaperImportService.swift
Desktop playback
- Renderer bridge
App/ViewModels/BridgeStore.swift - Scene playback
Renderer/Core/src/engine/mod.rs - Native video playback
App/Services/NativeVideo/NativeVideoWallpaperHost.swift - Web playback
App/Services/WebWallpaper/WebWallpaperHost.swift - Desktop presentation
App/Services/Desktop/WallpaperPresentationPolicy.swift - Still-image display spans
App/Services/Desktop/DisplaySpanStillImageHost.swift - Wallpaper spaces
App/Services/Desktop/WallpaperSpaceMonitor.swift
Library management
- Library storage
App/Services/Library/ClientPaths.swift - Property presets
App/Services/Library/WallpaperPresetStore.swift
Automation and support
- Wallpaper automation
App/Services/Automation/WallpaperAutomationStore.swift - Playlist rotation
App/Services/Playlist/PlaylistScheduler.swift - Diagnostics
App/Services/Diagnostics/DiagnosticsBundle.swift
Other components
- Mac user
- Steam services
- pixiv service
Connections 24
- Mac user → Control panel: opens
README.md - Control panel → Panel controller: presents
README.md - Panel controller → Installed library: browses
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Steam Workshop: browses
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → pixiv browsing: browses
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Wallpaper import: imports
App/Views/ControlPanel/Model/PanelController.swift - Steam Workshop → Steam services: fetches content
README.md - pixiv browsing → pixiv service: searches and fetches
- Mac user → Panel controller: applies wallpaper
README.md - Panel controller → Panel actions: starts actions
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Wallpaper preview: requests preview
README.md - Panel controller → Wallpaper options: edits options
README.md - Panel controller → Renderer bridge: controls playback
App/Views/ControlPanel/Model/PanelController.swift - Renderer bridge → Scene playback: drives scenes
- Mac user → Desktop presentation: applies wallpaper
README.md - Desktop presentation → Native video playback: presents video
App/Services/Desktop/WallpaperPresentationPolicy.swift - Desktop presentation → Web playback: presents web
App/Services/Desktop/WallpaperPresentationPolicy.swift - Desktop presentation → Still-image display spans: spans displays
App/Services/Desktop/WallpaperPresentationPolicy.swift - Desktop presentation → Wallpaper spaces: tracks spaces
App/Services/Desktop/WallpaperPresentationPolicy.swift - Panel controller → Library storage: manages library
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Property presets: manages presets
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Wallpaper automation: configures automation
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Playlist rotation: configures rotation
App/Views/ControlPanel/Model/PanelController.swift - Panel controller → Diagnostics: exports diagnostics
App/Views/ControlPanel/Model/PanelController+Storage.swift