How subkoks/apple-all-schematic works
BoardVault downloads schematic and boardview files from public Telegram channels, then helps users organize and search their local library. Its principal workflow is channel and filter selection, Telegram authentication and retrieval, followed by file classification and organization; the CLI also supports resume and undo. The product has three front ends: Qt, a native SwiftUI app with a Python sidecar, and the original CLI. The graph preserves their documented capabilities, but some native and GUI connections are based on README or source-index references because their implementation excerpts are incomplete.
Main entry points: main_window.py Qt main window · BoardVaultApp.swift SwiftUI application · AppModel.swift Native app model · tg_schematic_downloader.py Telegram downloader
Components 28
User interfaces
- Qt application
src/gui/app.py - Qt main window
src/gui/ui/main_window.py - Download view
src/gui/ui/download_view.py - Login dialog
src/gui/ui/login_dialog.py - Organize view
src/gui/ui/organize_view.py - Settings dialog
src/gui/ui/settings_dialog.py - SwiftUI application
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - Native app model
native/BoardVault/Sources/BoardVault/AppModel.swift - Native downloads
native/BoardVault/Sources/BoardVault/DownloadView.swift - Native organize
native/BoardVault/Sources/BoardVault/OrganizeView.swift - Native library
native/BoardVault/Sources/BoardVault/LibraryView.swift - Native settings
native/BoardVault/Sources/BoardVault/SettingsView.swift - CLI entry point
src/tg_schematic_downloader.py
Download engine
- Native sidecar adapter
src/native_engine.py - Qt download controller
src/gui/core/backend.py - Telegram login
src/gui/core/auth.py - Telegram downloader
src/tg_schematic_downloader.py
Library management
- Native search filters
src/native_search.py - File organizer
src/organize_downloads.py - Qt organize controller
src/gui/core/organizer.py - Library index
native/BoardVault/Sources/BoardVaultCore/LibraryIndex.swift
Configuration and state
- User preferences
src/gui/core/settings.py - Download configuration
src/gui/core/config.py - Data paths
src/gui/core/paths.py
Other components
- Desktop user
- Native user
- CLI operator
- Telegram channels
Connections 36
- Desktop user → Qt application: uses
README.md - Qt application → Qt main window: creates
src/gui/app.py - Qt main window → Download view: shows
src/gui/ui/main_window.py - Qt main window → Login dialog: opens
src/gui/ui/main_window.py - Qt main window → Organize view: shows
src/gui/ui/main_window.py - Qt main window → Settings dialog: opens
src/gui/ui/main_window.py - Download view → Qt download controller: starts downloads
src/gui/ui/download_view.py - Qt main window → Qt download controller: ensures login
src/gui/ui/main_window.py - Qt download controller → Telegram login: authenticates
src/gui/core/backend.py - Telegram login → Telegram channels: signs in
src/gui/core/auth.py - Qt download controller → Telegram downloader: runs downloads
src/gui/core/backend.py - Telegram downloader → Telegram channels: retrieves files
README.md - Qt main window → Qt organize controller: requests organize
src/gui/ui/main_window.py - Qt organize controller → File organizer: plans and moves
src/gui/core/organizer.py - Native user → SwiftUI application: uses
README.md - SwiftUI application → Native app model: creates
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - SwiftUI application → Native downloads: shows
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - SwiftUI application → Native organize: shows
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - SwiftUI application → Native library: shows
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - SwiftUI application → Native settings: shows
native/BoardVault/Sources/BoardVault/BoardVaultApp.swift - Native app model → Native sidecar adapter: starts operations
native/BoardVault/Sources/BoardVault/AppModel.swift - Native sidecar adapter → Telegram downloader: dispatches operations
src/native_engine.py - Native sidecar adapter → Telegram channels: connects through engine
- Native app model → File organizer: organizes files
- Native app model → Library index: loads library
native/BoardVault/Sources/BoardVault/LibraryView.swift - Native library → Library index: queries
native/BoardVault/Sources/BoardVault/LibraryView.swift - Native app model → Native search filters: applies search
- CLI operator → CLI entry point: runs
README.md - CLI entry point → Telegram downloader: downloads
README.md - CLI operator → File organizer: organizes or undoes
README.md - Settings dialog → User preferences: edits preferences
src/gui/ui/settings_dialog.py - Qt application → Data paths: configures paths
src/gui/app.py - Data paths → Telegram downloader: sets download path
src/gui/core/paths.py - Data paths → File organizer: sets library path
src/gui/core/paths.py - Download view → Download configuration: uses settings
src/gui/ui/download_view.py - Download configuration → User preferences: loads overrides
src/gui/core/config.py