How moulendrabalaji/drishti-transit works
Drishti-Transit is a Flutter prototype for transit-based road sensing: bus telemetry and incident detections feed a command-centre workflow for monitoring, triage, investigation, and corridor analysis. The README documents the major capabilities and stack; the sampled source does not include the Dart implementation, so links between core services and screens reflect documented behavior, not verified call sites.
Main entry points: command_center.dart Command state · command_screen.dart Command view · command_room_router.dart Command routing · app.dart App bootstrap
Components 19
App runtime
- Flutter entry
lib/main.dart - App bootstrap
lib/app/app.dart - Command app
lib/app/command_room_app.dart - Field crew app
lib/app/field_crew_app.dart - Command routing
lib/router/command_room_router.dart - Crew routing
lib/router/field_crew_router.dart
Command operations
- Command view
lib/screens/command_screen.dart - Incident detail
lib/screens/incident_detail_screen.dart - Corridor analytics
lib/screens/analytics_screen.dart - Detection feed
lib/screens/detection_feed_screen.dart - Crew mission
lib/screens/mission_screen.dart - Command views
lib/screens/web/web_command_views.dart
Fleet sensing
- Command state
lib/core/command_center.dart - Detection service
lib/core/detection_service.dart - Fleet service
lib/core/fleet_service.dart - Transit models
lib/core/models.dart - Street renderer
lib/core/street_engine.dart
Shared presentation
- Map overlays
lib/ui/map_overlays.dart
Other components
- City operator
Connections 22
- City operator → Flutter entry: opens app
- Flutter entry → App bootstrap: starts
- App bootstrap → Command app: selects command
- App bootstrap → Field crew app: selects crew
- Command app → Command routing: configures routes
- Field crew app → Crew routing: configures routes
- Command routing → Command view: routes to
- Command routing → Corridor analytics: routes to
- Command routing → Incident detail: routes to
- Command view → Map overlays: renders map
- Command view → Command views: shows views
- Crew routing → Crew mission: routes to
- Detection service → Command state: publishes detections
- Fleet service → Command state: publishes telemetry
- Command state → Command view: supplies live state
- Command state → Detection feed: supplies incidents
- Command state → Corridor analytics: supplies metrics
- Command state → Incident detail: supplies incident
- Command state → Crew mission: supplies field data
- Fleet service → Transit models: uses fleet data
- Detection service → Transit models: uses detection data
- Street renderer → Command view: renders scene