-
Notifications
You must be signed in to change notification settings - Fork 140
Description
π Description
First responders need to capture incident data at the scene β in basements, forests, and areas with no connectivity. The current FireForm interface requires a station connection, making it unusable in the field. This feature proposes a mobile companion app that works completely offline and syncs automatically when officers return to the station.
π‘ Rationale
FireForm's "Report Once, File Everywhere" promise only holds if officers can report from where incidents actually happen. Without offline capture, officers resort to paper notes and manual re-entry β exactly the redundant work FireForm was built to eliminate.
π οΈ Proposed Solution
A Progressive Web App (PWA) served at /mobile by the existing FastAPI server β installable on any phone via "Add to Home Screen", no app store required.
- New
mobile/folder withindex.html,manifest.json,sw.js - Service Worker caches app shell for offline loading
- Voice recording and text notes stored in IndexedDB
- GPS coordinates captured offline via device GPS
- Auto-sync to station on WiFi reconnection
- Audio transcribed via faster-whisper, combined with notes
- Mount
mobile/as StaticFiles inapi/main.py
β Acceptance Criteria
- PWA installable on Android and iOS
- App loads from cache with zero connectivity
- Voice and text captured offline, persists across app close
- GPS coordinates captured without internet
- Auto-syncs when WiFi restored
- Filled PDFs downloadable from mobile after sync
- Documentation updated in
docs/
π Additional Context
Future extensions: photo/video capture for scene documentation, multi-officer report unification by incident ID, push notifications when PDFs are ready.