AeroGuard Compliance is a professional-grade flight crew logging and compliance tracking application. It is designed to handle complex FAA Part 135 and Part 91 regulatory profiles, providing real-time legality checks, fatigue risk monitoring, and automated AI-powered flight plan importing.
- Regulatory Compliance Engine: Real-time checking against FAA regulations:
- Part 135.267 (Unscheduled 1-2 Pilots)
- Part 135.269 (Augmented Crew)
- Part 135.265 (Scheduled)
- Part 135.271 (HEMES)
- Part 91 (General Aviation)
- Smart Event Logging: Intuitive timeline interface for logging Report, Block Out, Block In, and Release events.
- Fatigue Risk Management (FRMS): Built-in heuristics to calculate fatigue scores based on WOCL (Window of Circadian Low), sector count, time zones crossed, and rest efficiency.
- AI Flight Plan Import: Paste raw dispatch releases or emails, and Google Gemini 2.5 extracts the schedule, airports, and aircraft details automatically.
- Fleet Statistics: Tracks flight time by aircraft tail number and engine count (Single vs. Multi-engine).
- Offline Capable: Uses local storage persistence to ensure data is available even at 35,000 ft.
- Frontend: React 19, TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- AI Integration: Google GenAI SDK (Gemini 2.5 Flash)
- Date Handling: date-fns
- Build Tool: Vite
- Node.js (v18+)
- Google Gemini API Key
-
Clone the repository
git clone https://github.com/your-username/aeroguard.git cd aeroguard -
Install dependencies
npm install
-
Configure Environment Create a
.envfile in the root directory and add your API key:API_KEY=your_google_gemini_api_key
-
Run Development Server
npm run dev
- Report: Start your duty day.
- Block Out: Enter the tail number and engine count (auto-filled from previous legs).
- Block In: Record arrival time and time zones crossed.
- Release: End your duty period.
Click the Import button in the header. Paste unstructured text (e.g., "KPHX to KSDL at 1400Z, N12345"). The system will parse legs, times, and aircraft details.
The dashboard updates in real-time. It visualizes:
- Rolling 24h, 7-day, monthly, and annual flight time limits.
- Required rest periods (looking back 24h).
- Duty time limitations based on the selected crew complement.
This project is licensed under the MIT License - see the LICENSE file for details.