ุงูู ูุตุฉ ุงูุฑูู ูุฉ ุงูู ุชูุงู ูุฉ ูุนููู ูููุงุฆุญ ุงูุทูุฑุงู ุงูู ุฏูู ุงูุณุนูุฏู
๐ Web App (flygaca.com) โข ๐ค Captain Adel AI โข ๐ฑ iOS Apps โข ๐ข Master Office โข ๐ค Hugging Face
Important
Independent Educational Ecosystem. Fly GACA is an independent educational initiative and is not affiliated with, endorsed by, or operated by the General Authority of Civil Aviation (GACA) or the Government of Saudi Arabia. The authoritative source for all civil aviation regulations is always gaca.gov.sa.
ููุงู ูุงูุง ู ูุธูู ุฉ ุชุนููู ูุฉ ู ุณุชููุฉ. ููู ุบูุฑ ุชุงุจุนุฉ ููููุฆุฉ ุงูุนุงู ุฉ ููุทูุฑุงู ุงูู ุฏูู (GACA) ููุง ู ุนุชู ุฏุฉ ู ููุง. ุงูู ุตุฏุฑ ุงูุฑุณู ู ูุงูู ุนุชู ุฏ ูุฌู ูุน ููุงุฆุญ ูุฃูุธู ุฉ ุงูุทูุฑุงู ุงูู ุฏูู ูู ู ููุน ุงูููุฆุฉ ุงูุฑุณู ู ุฏุงุฆู ูุง.
| Repository | Role | Tech Stack | Status |
|---|---|---|---|
| FlyGACA | Main web platform, 55+ flight tools, 74 GACAR Parts & ground school | React 19, Vite, Express 5, TypeScript | ๐ Live |
| Captain-Adel | AI flight instructor service with cite-or-refuse GACAR grounding | Node.js, Express, Gemini RAG, ALLaM, Python | ๐ Live |
| FlyGACA-ios | Flagship native iOS app suite (ELPT, AIP, Flight Deck) | Swift 5.9+, SwiftUI, SwiftData, SPM | ๐ฑ TestFlight |
| FlyGACA-Family | Family root & ecosystem hub contract | JSON Schemas, Contracts, Shared Assets | ๐ฆ Hub |
| Office | Operations, governance, KSA compliance & headless PDF pipeline | Markdown OS, ZATCA UBL 2.1, Headless Chromium | ๐ข Active |
Fly GACA is the all-in-one flight platform built specifically for Saudi civil aviation:
- ๐ Deep GACAR Regulatory Library: 74 GACAR Parts indexed with 211 reference documents, section anchors (
ยง91.155), and sub-millisecond client lookup. - ๐ค Captain Adel AI Flight Instructor: Multi-provider RAG (Gemini 2.5 Flash + in-Kingdom ALLaM) with strict "Cite-or-Refuse" precision.
- ๐งฎ 55+ Pure Flight Calculators: Crosswind components, true airspeed (TAS), weight & balance CG envelopes, density altitude, fuel planning, and runway performance.
- ๐ Part 141 Ground School: 1,000+ bilingual exam questions across 26 banks with Leitner spaced-repetition flashcards.
- ๐ค๏ธ Live Saudi Aerodrome Weather: Real-time METAR/TAF decoder for 61 Saudi aerodromes with flight category indicators (VFR, MVFR, IFR, LIFR).
- ๐ฑ 100% Offline Capable: Complete mobile flight bag capability with zero internet dependency in the cockpit.
graph TB
subgraph Client["Client Tier (Web SPA & Mobile Flight Bag)"]
UI["React 19 + TypeScript SPA<br/>(Tailwind CSS + Falcon Tokens)"]
Offline["Service Worker & IndexedDB<br/>(100% Offline Capability)"]
i18n["Bilingual Engine (EN โ AR)<br/>(RTL / LTR Native)"]
end
subgraph Backend["API & Edge Tier (Cloud Run me-central2)"]
API["Express 5 REST & SSE API"]
CalcEngine["55+ Flight Calculators<br/>(Pure Math & URL-State)"]
WeatherEngine["NOAA / Saudi METAR & TAF<br/>(61 Aerodromes Decoder)"]
end
subgraph Intelligence["AI & Knowledge Tier"]
Adel["Captain Adel RAG Service<br/>(Cite-or-Refuse Precision)"]
Corpus["GACAR Regulatory Library<br/>(74 Parts, 211 Documents)"]
Models["Gemini 2.5 Flash + ALLaM (KSA)"]
end
subgraph Storage["Data & Security Tier"]
DB[(PostgreSQL / Supabase)]
PDPL["PDPL Compliance Gate<br/>(In-Kingdom Data Residency)"]
end
UI --> API
UI --> CalcEngine
Offline --> UI
i18n --> UI
API --> WeatherEngine
API --> Adel
Adel --> Corpus
Adel --> Models
API --> DB
DB --> PDPL
Fly GACA implements an academically rigorous Leitner 5-box spaced-repetition algorithm verified across web and iOS implementations:
flowchart LR
subgraph LeitnerCycle["Leitner 5-Box Spaced Repetition Engine"]
B0["Box 0<br/>New / Reset"] --> B1["Box 1<br/>Review: 1 Day"]
B1 -->|Correct| B2["Box 2<br/>Review: 3 Days"]
B1 -->|Incorrect| B0
B2 -->|Correct| B3["Box 3<br/>Review: 7 Days"]
B2 -->|Incorrect| B1
B3 -->|Correct| B4["Box 4<br/>Review: 14 Days"]
B3 -->|Incorrect| B1
B4 -->|Correct| B5["Box 5<br/>Mastered: 30 Days"]
B4 -->|Incorrect| B1
end
git clone https://github.com/iflygaca/FlyGACA.git
cd FlyGACA && npm installcp .env.example .env.local
# Add GEMINI_API_KEY (optional โ works in mock mode without it)npm run dev
# ๐ Running at http://localhost:5173| Feature | Description | Coverage / Metrics | Status |
|---|---|---|---|
| GACAR Regulations Index | Searchable regulatory catalog with AST anchors and cross-references | 74 Parts, 211 Documents | โ Production |
| Captain Adel AI | Grounded flight instructor with cite-or-refuse precision and SSE stream | Arabic (ALLaM) + English (Gemini) | โ Production |
| Pure Flight Calculators | Deterministic aerodynamic and navigation algorithms with URL-state sharing | 55+ Verified Calculators | โ Production |
| Aero Weather Center | Real-time METAR/TAF parser, flight categories, and crosswind calculations | 61 Saudi Aerodromes | โ Production |
| Part 141 Exam Prep | Timed mock exams, question explanations, and category breakdowns | 1,000+ Questions, 26 Banks | โ Production |
| B2B Academy Suite | Cohort readiness tracking, instructor analytics, and seat licensing | ATOs, Airlines & ANSPs | โ Production |
| Offline Flight Bag | Full local persistence for cockpit use without cellular connectivity | 100% Offline Capable | โ Production |
| KSA Data Residency | Immutable audit trails and zero PII logging under Saudi PDPL | me-central2 (Dammam) |
โ Production |
Click to expand flight calculator categories & tools
| Category | Tools & Calculators | Input Parameters | GACAR Reference |
|---|---|---|---|
| Altimetry & Atmosphere | Density Altitude, Pressure Altitude, ISA Deviation, True Altitude | QNH, OAT, Field Elevation | GACAR ยง91.119 |
| Airspeed & Dynamics | CAS to TAS, Mach Number, Sound Speed, Dynamic Pressure | IAS, CAS, Altitude, Temp | GACAR ยง91.117 |
| Wind & Drift | Crosswind/Headwind Component, Wind Correction Angle, Groundspeed | Runway Heading, Wind Dir/Speed | GACAR ยง91.155 |
| Weight & Balance | Center of Gravity (CG) Envelope, Zero Fuel Weight, Moment Arm | Station Weights, Empty Weight | GACAR ยง91.103 |
| Fuel & Range | Fuel Burn Rate, Minimum VFR/IFR Reserves, Bingo Fuel, Endurance | Consumption Rate, Contingency | GACAR ยง91.167 |
| Runway Performance | Takeoff Distance Factor, Landing Roll, Climb Gradient, Obstacle Clearance | Weight, Density Alt, Slope | GACAR ยง91.103 |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Client Layer โ
โ React 19 โข TypeScript Strict โข Vite 6 โ
โ Tailwind CSS โข Falcon Design Tokens โข i18n โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Backend Layer โ
โ Express 5 โข Node.js 20+ โข Cloud Run โ
โ Server-Sent Events (SSE) โข Zod Validation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Intelligence Layer โ
โ Captain Adel โข Gemini 2.5 Flash โข ALLaM (KSA) โ
โ Dense Vector (BGE-M3) โข Lexical Inverted (BM25) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Data & Storage Layer โ
โ PostgreSQL โข Supabase pgvector โข IndexedDB โ
โ Forward-Only Migrations โข PDPL-Compliant โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
FlyGACA/
โโโ src/ # React 19 Client SPA (Vite)
โ โโโ components/ # Reusable Falcon design UI components
โ โโโ pages/ # Route-based page views
โ โโโ lib/ # Deterministic flight calculator engines
โ โโโ i18n/ # Bilingual English/Arabic translations
โโโ server/ # Express 5 API Backend
โ โโโ routes/ # RESTful API endpoints & SSE chat
โ โโโ middleware/ # Security, CORS, and auth gates
โ โโโ brain/ # AI retrieval and grounding engine
โโโ content/ # Content authoring pipelines
โ โโโ regulations/ # 74 GACAR Parts (Authoring Markdown AST)
โโโ docs/ # Architectural runbooks and B2B specs
โ โโโ b2b/ # Part 141 ATO Academy platform
โโโ screenshots/ # Automated screenshot pipelines
โโโ terraform/ # GCP cloud monitoring & uptime alerts
โโโ tests/ # Vitest suite (2,392+ unit tests) & Playwright e2e
# ๐งช Quality & Testing
npm run lint # ESLint strict validation
npm run typecheck # Full TypeScript strict verification
npm test # Run Vitest test suite (2,392+ tests)
npm run test:watch # Interactive watch mode for test suites
npm run test:e2e # Playwright end-to-end browser tests
npm run verify # Complete pre-flight validation bundle
# ๐ Development
npm run dev # Vite local dev server with API mock
npm run dev:api # Express API server on :3000
npm run dev:db # Start local PostgreSQL container
# ๐ฆ Build & Production
npm run build # Compile production web client bundle
npm run build:api # Build Express API production artifacts
npm run preview # Locally test the production build
# ๐งฎ Regulatory & Content Pipelines
npm run parse:regulations # Compile content/regulations/*.md into lookup JSON
npm run tools:test # Verify 55+ flight calculator math vectors- โ
In-Kingdom Data Residency: Primary database and compute hosted in Saudi Arabia (
me-central2). - โ Zero PII Logging: Student chat interactions and calculations are scrubbed of personal identifiers.
- โ Immutable Audit Trail: Strict record of regulatory citations without user tracking.
- โ Right to Erasure: Fully compliant with Saudi Personal Data Protection Law (PDPL).
content/regulations/README.mdโ GACAR Markdown AST compiler & lookup tables.docs/b2b/README.mdโ B2B Part 141 Flight Academy platform & cohort analytics.screenshots/README.mdโ Automated screenshot & promotional asset pipeline.terraform/README.mdโ Infrastructure-as-Code & GCP Cloud SLO monitoring.CLAUDE.mdโ AI contributor coding standards & repo conventions.
We warmly welcome contributions from pilots, software engineers, aviation safety experts, and educators:
- Fork the repository (
https://github.com/iflygaca/FlyGACA) - Create your feature branch (
git checkout -b feat/ground-school-module) - Commit your changes (
git commit -m "feat: add weight and balance envelope visualizer") - Test thoroughly (
npm run verify) - Push to your branch and open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
Software components are released under the MIT License. Civil aviation regulations are property of the General Authority of Civil Aviation (GACA) and presented for educational purposes.
Built for pilots. Grounded in regulations. Powered by AI.
Website ยท Ask Captain Adel ยท Report an Issue ยท Star โญ
๐ธ๐ฆ ุตูุน ูู ุงูุณุนูุฏูุฉ ยท Made in Saudi Arabia