2025 · Author
Hangar CLI
A fleet operations tool for drone teams — battery lifecycles, flight-hour accounting, and maintenance gates in six boring commands.
- commands total
- 6
- commands total
- status snapshot
- 90 ms
- status snapshot
- cloud dependencies
- 0
- cloud dependencies
Reactions
Small drone fleets run on a spreadsheet, a shared calendar, and a mechanic's memory. That works until a battery that needs retirement takes off anyway. Hangar is the tool I wished existed on every team I've worked on: boring, local, and impossible to argue with.
Six commands
hangar log flight <airframe> --hours 1.4 --pilot m.hameed
hangar battery cycle <pack-id> # counts against rated life
hangar gate check # exits non-zero if anything is overdue
hangar report week # flight hours, cells retired, tail numbers down
No server. A single SQLite file in the repo — versioned like the code it guards. The CI idea that matters: gate check in a pre-flight script turns "the airframe is grounded" from an argument into an exit code.
Design rules I held to
- No cloud, no accounts, no dashboards. If the hangar Wi-Fi is down, the tool works better than the alternative.
- The ledger is the product. Every command appends; nothing is deleted, audit lives forever, which is exactly what an aviation regulator wants.
- Non-zero exits are safety features. In automation, a green light must mean verified, not probably fine.
Why it exists in public
Because every operations team I've joined rebuilt some version of this at 2 a.m. before a demo. If that's your Tuesday, steal it, or tell me what the seventh command should be.
Related work
CollectKit
Field data collection that works where the signal doesn't — offline-first capture, typed schemas, instant sync.
Expo / React Native / FastAPI / PostgreSQL / PostGIS
Risk-Aware Path Planning
Multiresolution UAV risk-map path planning — a layered quadtree, risk-aware A*, and a simulator built for a master's thesis.
Python / Cesium / Unity3D / NumPy