Skip to content

About

Browser-based editor for aircraft checklist files — Garmin .ace, ForeFlight .fmd, Dynon SkyView, Markdown, DOCX, PDF. Client-side PWA with Sling POH templates.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Aviation Checklist Editor (ACE)

A browser-based editor for aircraft checklist files. Create, edit, validate, and export checklists for Garmin (G3X, G5, GI 275, etc.), ForeFlight, Dynon SkyView, and more — all from a single tool.

Everything runs client-side — no backend, no upload. Installable as a PWA for offline use in the cockpit.

The package name is ace-checklist-editor; the repository is garmin-ace-editor (the Garmin .ace format was the original target).

Quick Start

npm install
npm run dev

Opens at http://localhost:5173.

Production Build

npm run build      # tsc -b && vite build
npm run preview

Develop & Test

npm run lint       # eslint .

Unit tests sit next to the code they cover (src/ace/parse.test.ts, src/ace/validate.test.ts, src/io/docxExport.test.ts, src/io/pdfExport.test.ts). vitest is installed as a dev dependency; there is no test npm script and no test block in vite.config.ts, so run them directly with npx vitest run (configure jsdom if a test needs the DOM).

Features

File Management

  • Load .ace files with full binary compatibility (CP1252 encoding, prefix/suffix byte preservation)
  • Create from templates — start from 5 built-in Sling aircraft POH checklists (Sling 4 TSi, Sling LSA, Sling 2, Sling 4, Sling 4 HW) or a blank checklist
  • Import from .docx — converts Word checklist tables into ACE structure (via mammoth)
  • Auto-save to localStorage — your work persists across browser sessions with a visible Saved/Unsaved indicator
  • Filename editing — set the export filename directly in the toolbar

Editing

  • Full checklist structure editing — groups, checklists, and items with all ACE item types:
    • r (challenge/response), c (checkbox), w (warning), a (caution/alert), n (note), t (title/subtitle), p (plain text, optional centered flag)
  • Drag-and-drop reordering within checklists (dnd-kit)
  • Duplicate groups and checklists
  • Undo / redo with full history (Ctrl+Z / Ctrl+Shift+Z, also Ctrl+Y)
  • Inline validation — fields with errors highlighted in red, warnings in orange
  • Click-to-navigate — click a validation issue to jump to the offending field
  • Graceful error handling — malformed files show structured error messages with fix suggestions

Export Formats

All exports available from a single Export dropdown:

Format Extension Target
Garmin ACE .ace Garmin G3X, G5, GI 275, and other Garmin avionics
ForeFlight .fmd ForeFlight EFB app (AES-128-CBC encrypted JSON)
Dynon SkyView .txt Dynon SkyView (UTF-8 numbered checklists)
Markdown .md Documentation, version control, sharing
PDF .pdf Print-ready A5 booklet with cover, table of contents, and page numbers (jsPDF)
Word .docx Editable A5 booklet with dot leaders and keep-together formatting (docx)

UI & Accessibility

  • Keyboard shortcuts — Ctrl+S (export .ace), Ctrl+Z / Ctrl+Shift+Z / Ctrl+Y (undo/redo), Ctrl+/ (shortcuts help)
  • Shortcuts help overlay — Ctrl+/ to view all shortcuts
  • PWA support — installable on desktop and mobile, works offline with precached templates and fonts (vite-plugin-pwa)

Aircraft Templates

The editor ships with 5 Sling Aircraft POH checklists ready to use: Sling 4 TSi, Sling LSA, Sling 2, Sling 4, and Sling 4 HW.

.ACE Format Reference

The .ace format is Garmin's checklist format used across their avionics line:

GARMIN CHECKLIST PN ...    (header, 5 lines)
<0Group Name               (group start)
(0Checklist Name           (checklist start)
r0Prompt Text~Response     (item: type + indent + prompt ~ response)
)                          (checklist end)
>                          (group end)
END

Item types: r (challenge/response), c (checkbox), w (warning), a (caution/alert), n (note), t (title/subtitle), p (plain text, with an optional C centered flag).

Default constraints (UI validation, DEFAULT_CONSTRAINTS in src/ace/types.ts): group names ≤ 32 chars, checklist names ≤ 32 chars, prompts ≤ 48 chars, responses ≤ 24 chars. Text is encoded as CP1252 with CRLF line endings.

Project Structure

src/
  ace/         # .ace format — parse + encode (parse.ts), validate, CP1252 codec, humanize, types
  io/          # import/export — docxImport, docxExport, pdfExport, fmdExport, dynonExport, mdExport, download
  components/  # editor UI — TopBar, Sidebar(Tree/Validation), ChecklistEditor, ChecklistItemRow,
               #             HeaderEditor, ExportDialog, ShortcutsDialog/Binder, ErrorBoundary
  store/       # editor state — EditorContext, useEditorStore
  hooks/       # useKeyboardShortcuts
  App.tsx      # app shell
  main.tsx     # entry point
samples/       # example .ace and .docx checklist files

Parsing and serialization both live in src/ace/parse.ts (parseAceBytes / parseAceBytesResult and encodeAceFile); there is no separate serialize.ts.

Tech Stack

React 19 + TypeScript 5.9 + Vite 7. No backend required — everything runs client-side.

Key libraries: jspdf (PDF export), docx (DOCX export), @dnd-kit (drag-and-drop), mammoth (DOCX import), vite-plugin-pwa (service worker + manifest).

About

Browser-based editor for aircraft checklist files — Garmin .ace, ForeFlight .fmd, Dynon SkyView, Markdown, DOCX, PDF. Client-side PWA with Sling POH templates.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages