How hikkywannafly/steam-workshop-download works
Steam Workshop Downloader is a Tauri desktop app for downloading Workshop items without owning the game. The main flow is: enter item URLs or IDs, select a game and destination, then start and monitor a download. The UI bridges to Rust commands for Steam lookups, settings, and downloads; the backend delegates downloads to DepotDownloaderMod and persists settings/history as JSON. The map also includes network diagnostics and app information. Some frontend and downloader internals were not excerpted, so uncertain connections are omitted.
Main entry points: DownloaderPage.tsx Downloader page · App.tsx App shell · system.rs System commands · tauri.ts Tauri API wrappers
Components 23
Desktop interface
- App shell
src/App.tsx - Downloader page
src/components/pages/DownloaderPage.tsx - Game selector
src/components/ui/GameSelector.tsx - Account selector
src/components/ui/AccountSelector.tsx - Path selector
src/components/ui/PathSelector.tsx - Workshop preview
src/components/ui/WorkshopPreview.tsx - Download console
src/components/ui/ConsoleOutput.tsx - Settings page
src/components/pages/SettingsPage.tsx - Network diagnostics
src/components/pages/NetworkPage.tsx - About page
src/components/pages/AboutPage.tsx - Toast notifications
src/components/ui/ToastContainer.tsx
Tauri command bridge
- Tauri API wrappers
src/lib/tauri.ts - Toast utility
src/lib/notifications.ts
Rust backend
- System commands
src-tauri/src/commands/system.rs - Download command
src-tauri/src/commands/download.rs - Downloader service
src-tauri/src/services/downloader.rs - Settings and history
src-tauri/src/services/storage.rs - Settings model
src-tauri/src/models/settings.rs
External services
- Steam Store API
- Steam Workshop API
- DepotDownloaderMod
- Steam Workshop site
Other components
- User
Connections 26
- User → App shell: uses
README.md - App shell → Downloader page: shows
src/App.tsx - App shell → Network diagnostics: shows
src/App.tsx - App shell → Settings page: shows
src/App.tsx - App shell → About page: shows
src/App.tsx - App shell → Toast notifications: renders
src/App.tsx - Downloader page → Game selector: renders
src/components/pages/DownloaderPage.tsx - Downloader page → Account selector: renders
src/components/pages/DownloaderPage.tsx - Downloader page → Path selector: renders
src/components/pages/DownloaderPage.tsx - Downloader page → Workshop preview: renders
src/components/pages/DownloaderPage.tsx - Downloader page → Download console: renders
src/components/pages/DownloaderPage.tsx - Downloader page → Tauri API wrappers: invokes
src/components/pages/DownloaderPage.tsx - Downloader page → Toast utility: notifies
src/components/pages/DownloaderPage.tsx - Workshop preview → Tauri API wrappers: fetches details
src/components/ui/WorkshopPreview.tsx - Workshop preview → Steam Workshop site: opens item
src/components/ui/WorkshopPreview.tsx - Network diagnostics → Tauri API wrappers: tests Steam
src/components/pages/NetworkPage.tsx - Toast notifications → Toast utility: receives toasts
src/components/ui/ToastContainer.tsx - Tauri API wrappers → System commands: invokes
src/lib/tauri.ts - Tauri API wrappers → Download command: invokes
src/lib/tauri.ts - System commands → Settings and history: loads and saves
src-tauri/src/commands/system.rs - Settings and history → Settings model: persists
src-tauri/src/services/storage.rs - Download command → Downloader service: delegates
src-tauri/src/commands/download.rs - System commands → Downloader service: checks runtime
src-tauri/src/commands/system.rs - System commands → Steam Store API: searches games
src-tauri/src/commands/system.rs - System commands → Steam Workshop API: fetches details
src-tauri/src/commands/system.rs - Downloader service → DepotDownloaderMod: runs downloads
README.md