How drenzzz/adbkit works
ADBKit is a desktop Android-device toolkit: users select or connect a device, then manage apps and files, inspect device status, run shell/logcat, flash images, or mirror and record with scrcpy. Its setup and settings flows locate or download ADB, Fastboot, and scrcpy and configure preferences. The map preserves these user-facing domains and the Go service layer behind the Wails bindings. Some backend wiring is unsampled; README-documented relationships are cited, and uncertain internal calls are omitted.
Main entry points: app.go Application host · App.tsx Page router · app.ts Wails API bindings · DashboardPage.tsx Dashboard and devices
Components 21
Desktop interface
- Page router
frontend/src/App.tsx - Dashboard and devices
frontend/src/routes/DashboardPage.tsx - App manager
frontend/src/routes/AppsPage.tsx - File explorer
frontend/src/routes/FilesPage.tsx - Flasher
frontend/src/routes/FlasherPage.tsx - Terminal and Logcat
frontend/src/routes/TerminalPage.tsx - Scrcpy controls
frontend/src/routes/ScrcpyPage.tsx - Setup and settings
frontend/src/routes/SettingsPage.tsx
Wails bridge
- Wails API bindings
frontend/bindings/ADBKit/internal/app/app.ts
Go domain services
- Application host
internal/app/app.go - Device operations
internal/device/service.go - Package manager
internal/package_mgr/service.go - File operations
internal/file/service.go - Fastboot and flashing
internal/flasher/fastboot_service.go - Shell and Logcat
internal/shell/terminal_service.go - Mirroring and recording
internal/scrcpy/service.go - Binary discovery
internal/binary/service.go - Managed downloads
internal/download/service.go - Audit logs
internal/audit/audit_log.go
Shared runtime
- Preferences and config
internal/app/settings.go
Other components
- Desktop user
Connections 27
- Desktop user → Page router: uses
README.md - Page router → Dashboard and devices: routes to
frontend/src/App.tsx - Page router → App manager: routes to
frontend/src/App.tsx - Page router → File explorer: routes to
frontend/src/App.tsx - Page router → Flasher: routes to
frontend/src/App.tsx - Page router → Terminal and Logcat: routes to
frontend/src/App.tsx - Page router → Scrcpy controls: routes to
frontend/src/App.tsx - Page router → Setup and settings: routes to
frontend/src/App.tsx - Dashboard and devices → Wails API bindings: requests device work
README.md - App manager → Wails API bindings: requests package work
README.md - File explorer → Wails API bindings: requests file work
- Flasher → Wails API bindings: requests flashing
README.md - Terminal and Logcat → Wails API bindings: requests shell work
README.md - Scrcpy controls → Wails API bindings: requests mirroring
README.md - Setup and settings → Wails API bindings: configures tools
README.md - Wails API bindings → Application host: invokes methods
- Application host → Device operations: delegates device work
- Application host → Package manager: delegates package work
- Application host → File operations: delegates file work
- Application host → Fastboot and flashing: delegates flashing
- Application host → Shell and Logcat: delegates shell work
- Application host → Mirroring and recording: delegates mirroring
- Application host → Binary discovery: checks tool setup
- Application host → Managed downloads: requests downloads
- Application host → Audit logs: records operations
- Application host → Preferences and config: reads and saves
- Binary discovery → Managed downloads: uses managed packages