How viscouspot/gitsync works
GitSync is a Flutter mobile Git client with a Rust Git core. The principal workflow is to configure a repository and credentials, clone or select a local repository, then sync changes between its directory and a remote; users can also resolve conflicts and manage Git state in-app. README capabilities include background and manual sync triggers, repository browsing and editing, provider issue/PR features, and AI assistance. Rust handles Git operations through the Dart bridge. The graph follows documented capabilities and available paths; implementation wiring for unsampled Dart subsystems is not inferred.
Main entry points: main.dart Flutter app · git_manager.dart Git API facade · git_manager.rs Git operations · gitsync_service.dart Background and manual sync
Components 19
App experience
- Flutter app
lib/main.dart - Setup and auth
lib/ui/page/onboarding_setup.dart - Browse and edit
lib/ui/page/file_explorer.dart - Git management
lib/ui/page/actions_page.dart - Repository settings
lib/ui/page/settings_main.dart
Repository workflow
- Clone repository
lib/ui/page/clone_repo_main.dart - Repository management
lib/api/manager/repo_manager.dart - Provider auth
lib/api/manager/auth/git_provider_manager.dart
Sync runtime
- Git API facade
lib/api/manager/git_manager.dart - Rust bridge
lib/src/rust/api/git_manager.dart - Git operations
rust/src/api/git_manager.rs - Local repositories
- Background and manual sync
lib/gitsync_service.dart - Platform triggers
android/app/src/main/kotlin/com/viscouspot/gitsync/GitTileSyncService.kt - App storage
lib/api/manager/storage.dart
Extended features
- Issues and pull requests
lib/ui/page/issues_page.dart - AI assistance
lib/api/ai_chat_service.dart
Other components
- Mobile user
- Git remote
Connections 21
- Mobile user → Flutter app: uses
- Flutter app → Setup and auth: configures
- Setup and auth → Provider auth: authenticates
- Flutter app → Clone repository: starts clone
- Clone repository → Git API facade: requests clone
- Flutter app → Repository management: manages repositories
- Repository management → App storage: persists settings
- Flutter app → Background and manual sync: configures sync
- Platform triggers → Background and manual sync: activates
- Background and manual sync → Git API facade: requests sync
- Flutter app → Git API facade: requests Git actions
- Git API facade → Rust bridge: calls
- Rust bridge → Git operations: dispatches
- Git operations → Local repositories: reads and writes
- Git operations → Git remote: fetches and pushes
- Provider auth → Git remote: provides credentials
- Flutter app → Browse and edit: browses files
- Flutter app → Git management: manages Git state
- Flutter app → Repository settings: sets preferences
- Flutter app → Issues and pull requests: uses provider features
- Flutter app → AI assistance: requests assistance