How pvzcxw/cai-install-reborn-opensrc works
Cai Install Reborn is a Windows desktop manager for Steam game-library files and related launch workflows. The user works through a WebView UI; its JavaScript calls the Python desktop API, which delegates game, configuration, update, and file-management work to the backend. The principal path is game search → AppID selection → manifest/depot processing → managed-file installation and task logs. Other documented branches cover library launch, multiplayer assistance, SteamTools management, announcements, and appearance settings. Relationships for unsampled features are based on README statements, not inspected implementations.
Main entry points: main.py Desktop API · app.js UI interactions · backend.py Manifest processing · index.html WebView pages
Components 18
Desktop interface
- WebView pages
gui/index.html - UI interactions
gui/js/app.js
Desktop services
- Desktop API
main.py - Launcher core
main.py - Business backend
backend.py
Game workflows
- Game library
backend.py - AppID search
backend.py - Manifest processing
backend.py - Managed files
backend.py - Multiplayer launch
main.py
Management and operations
- User settings
config.json - SteamTools files
backend.py - Settings and theme
gui/js/app.js - Updates and notices
backend.py - Logs and task status
main.py
Other components
- User
- Steam client
- Online sources
Connections 25
- User → WebView pages: uses
README.md - WebView pages → UI interactions: renders
README.md - UI interactions → Desktop API: calls API
gui/js/app.js - Desktop API → Business backend: delegates
main.py - Desktop API → Launcher core: controls
main.py - UI interactions → AppID search: searches
gui/js/app.js - UI interactions → Manifest processing: starts install
gui/js/app.js - Desktop API → AppID search: dispatches
README.md - Desktop API → Manifest processing: runs task
main.py - Manifest processing → Online sources: fetches resources
README.md - Manifest processing → Managed files: writes files
README.md - UI interactions → Game library: shows library
README.md - Desktop API → Game library: serves library
README.md - UI interactions → Multiplayer launch: controls launch
gui/js/app.js - Multiplayer launch → Steam client: launches game
README.md - Desktop API → SteamTools files: manages files
README.md - UI interactions → SteamTools files: changes file state
gui/js/app.js - UI interactions → Settings and theme: edits settings
README.md - Settings and theme → Desktop API: reads and saves
gui/js/app.js - Desktop API → User settings: reads and writes
README.md - Desktop API → Updates and notices: checks updates
README.md - Updates and notices → Online sources: checks releases
README.md - UI interactions → Logs and task status: polls status
gui/js/app.js - Desktop API → Logs and task status: records output
main.py - Business backend → Steam client: detects install
backend.py