How theeussx/zittodb works
ZittoDB is a local-first Linux desktop GUI for installed Android tools, not a database. Users select an explicit device, invoke typed actions in React, and receive results through the Bridge; Rust validates requests and manages external processes. The graph preserves the documented device, diagnostics, apps/debloat, files, shell/logs, screen, fastboot, history, settings, and update capabilities. Several backend details are unsampled, so subsystem links rely on README architecture statements rather than inferred internal call chains.
Main entry points: bridge.ts Typed Bridge · commands/mod.rs Tauri commands · processes/mod.rs Process management · AppShell.tsx Application shell
Components 23
Desktop interface
- Application shell
src/app/AppShell.tsx - Device views
src/features/devices/DeviceDashboard.tsx - Apps and debloat
src/features/apps/AppsView.tsx - File browser
src/features/files/FilesView.tsx - Shell and logs
src/features/shell/ShellView.tsx - Screen control
src/features/screen/ScreenPanel.tsx - Diagnostics
src/features/diagnostics/DiagnosticsView.tsx - Fastboot view
src/features/fastboot/FastbootView.tsx - History view
src/features/history/HistoryView.tsx - Settings view
src/features/settings/SettingsView.tsx
Bridge and commands
- Typed Bridge
src/services/bridge.ts - Tauri commands
src-tauri/src/commands/mod.rs
Device runtime
- ADB operations
src-tauri/src/adb/operations.rs - Device discovery
src-tauri/src/devices/mod.rs - Fastboot runtime
src-tauri/src/fastboot/mod.rs - Screen runtime
src-tauri/src/scrcpy/mod.rs - Process management
src-tauri/src/processes/mod.rs - Validation and risk
src-tauri/src/security/mod.rs
Local state
- Audit, history, settings
src-tauri/src/storage/mod.rs - Release checker
src/services/updateService.ts
Other components
- User
- ADB / scrcpy / fastboot
- GitHub releases
Connections 27
- User → Application shell: uses
README.md - Application shell → Device views: presents
src/app/AppShell.tsx - Device views → Typed Bridge: requests device actions
src/features/devices/DeviceDashboard.tsx - Apps and debloat → Typed Bridge: requests package actions
src/features/apps/AppsView.tsx - File browser → Typed Bridge: requests file actions
src/features/files/FilesView.tsx - Shell and logs → Typed Bridge: requests sessions
- Screen control → Typed Bridge: requests screen actions
src/features/screen/ScreenPanel.tsx - Diagnostics → Typed Bridge: requests diagnostics
src/features/diagnostics/DiagnosticsView.tsx - Fastboot view → Typed Bridge: requests fastboot actions
README.md - History view → Typed Bridge: reads history
README.md - Settings view → Typed Bridge: reads settings
src/features/settings/SettingsView.tsx - Typed Bridge → Tauri commands: invokes typed commands
README.md - Tauri commands → ADB operations: dispatches operations
src-tauri/src/commands/mod.rs - Tauri commands → Device discovery: dispatches discovery
src-tauri/src/commands/mod.rs - Tauri commands → Fastboot runtime: dispatches fastboot
src-tauri/src/commands/mod.rs - Tauri commands → Screen runtime: dispatches screen control
src-tauri/src/commands/mod.rs - Tauri commands → Audit, history, settings: uses local storage
src-tauri/src/commands/mod.rs - ADB operations → Validation and risk: validates inputs
src-tauri/src/adb/operations.rs - Fastboot runtime → Validation and risk: validates inputs
src-tauri/src/fastboot/mod.rs - Screen runtime → Validation and risk: validates options
src-tauri/src/scrcpy/mod.rs - ADB operations → Process management: runs processes
src-tauri/src/adb/client.rs - Fastboot runtime → Process management: runs processes
src-tauri/src/fastboot/mod.rs - Screen runtime → Process management: manages processes
README.md - Process management → ADB / scrcpy / fastboot: executes installed tools
README.md - Device discovery → ADB / scrcpy / fastboot: queries adb
README.md - Release checker → GitHub releases: checks releases
src/services/updateService.ts - Application shell → Release checker: checks updates
src/App.tsx