How altstoreio/altstore works
AltStore is an iOS alternative app store backed by AltServer on macOS. Users browse app sources, select an app, and AltStore downloads, signs, and sends it to AltServer for installation over Wi‑Fi; background refresh repeats the signing/install path to prevent expiration. The repository also includes app discovery and updates, source management, social/fediverse interactions, and a shared Core Data model. Paths and documented workflow are supported by the tree and README; sampled source excerpts support selected component links, while unsampled subsystems are represented at their known directory paths.
Main entry points: AppManager.swift App Manager · Operations App Operations · FederationManager.swift Federation Manager · FeaturedViewController.swift Browse Catalog
Components 20
iOS Storefront
- Browse Catalog
AltStore/Browse/FeaturedViewController.swift - App Details
AltStore/App Detail/AppViewController.swift - Manage Sources
AltStore/Sources - My Apps
AltStore/My Apps/MyAppsViewController.swift
App Lifecycle
- App Manager
AltStore/Managing Apps/AppManager.swift - App Operations
AltStore/Operations - App Patching
AltStore/Operations/Patch App - Review Permissions
AltStore/Permissions/ReviewPermissionsViewController.swift - Background Refresh
AltStore/Operations/BackgroundRefreshAppsOperation.swift
Desktop Server
- Server Discovery
AltStore/Server/ServerManager.swift - Server Connection
AltStore/Server/ServerConnection.swift - AltServer
AltServer - Device Installation
AltServer/Devices/ALTDeviceManager+Installation.swift - JIT Support
AltServer/JIT/JITManager.swift
Shared Services
- App Data
AltStoreCore/Model/DatabaseManager.swift - Store Models
AltStoreCore/Model/StoreApp.swift - Credentials
AltStoreCore/Components/Keychain.swift
Social Features
- Federation Manager
AltStore/Fediverse/FederationManager.swift - Social APIs
AltStore/Fediverse
Other components
- Device User
Connections 20
- Device User → Browse Catalog: browses
README.md - Device User → Manage Sources: adds sources
README.md - Browse Catalog → App Details: opens app
AltStore/Browse/FeaturedViewController.swift - Browse Catalog → Store Models: fetches apps
AltStore/Browse/FeaturedViewController.swift - App Details → App Manager: requests action
AltStore/App Detail/AppViewController.swift - My Apps → App Manager: manages apps
AltStore/My Apps/MyAppsViewController.swift - App Manager → App Operations: runs operations
- App Manager → App Data: updates records
- App Operations → Server Discovery: finds server
AltStore/Server/ServerManager.swift - Server Discovery → Server Connection: creates connection
AltStore/Server/ServerManager.swift - Server Connection → AltServer: sends app
README.md - AltServer → Device Installation: installs app
README.md - Device Installation → JIT Support: supports JIT
AltServer/Devices/ALTDeviceManager+Installation.swift - Background Refresh → App Manager: refreshes apps
- App Operations → Review Permissions: verifies permissions
AltStore/Permissions/ReviewPermissionsViewController.swift - App Operations → App Patching: patches apps
AltStore/Operations/Patch App/PatchViewController.swift - Store Models → App Data: persists models
AltStoreCore/Model/DatabaseManager.swift - Federation Manager → Social APIs: calls APIs
AltStore/Fediverse/FederationManager.swift - Federation Manager → App Data: updates interactions
AltStore/Fediverse/FederationManager.swift - Federation Manager → Credentials: uses credentials
AltStore/Fediverse/FederationManager.swift