Aviary is live — just open it in your browser:
No install, no setup, nothing to download. Register a username + password and you're in. Everything below is for people who want to develop Aviary; if you just want to use it, the link above is all you need.
A multi-user maintenance and flight-hours tracker for general-aviation aircraft owners:
- Status Sheet — track every recurring maintenance item (annual, transponder/pitot-static tests, VOR checks, oil changes, etc.) on a calendar cycle (days/months/years) or an engine-hours cycle. Each row shows last-done, next-due, and live "time left." Enter a Last Done date or hours and the Due Date fills in automatically from the cycle (a Due Date you typed yourself is never overwritten), and Mark complete asks when the work was done (starting from the Due Date), then rolls the Due Date and hours forward one cycle from there. Hours always show a decimal (25.0).
- Hours tracking — Hobbs time and time in service, each with a manual baseline "floor," so log-book activity can only ever raise the displayed hours, never silently lower them.
- Log book — record flights by hand (from/to airport, Hobbs time and time in service out and in) or import a Garmin avionics CSV and let the app derive Hobbs time (oil pressure > 15 psi) and airborne time (groundspeed > 35 kt) for you.
- Aircraft info card — make/model, tail number, owner, and serial number, editable inline.
- Fleets — track up to 25 aircraft in one account. Each plane has its own info card, hours, Status Sheet, and log book; a picker in the header switches between them and shows which ones have items overdue or due soon.
Each account is fully isolated — its own aircraft, Status Sheets, flight logs, and custom maintenance descriptions. Ownership is enforced server-side on every write, and every request names the aircraft it is for, so an action always lands on the plane on screen.
- Register at the link above (or log in).
- Fill in your aircraft info — make/model, tail number, owner, serial.
- More than one plane? Tap the aircraft button in the header → Add aircraft, type the tail number, Save. You land on the new plane, ready for its first maintenance item. Switch planes from the same button; Aviary remembers the last one you looked at.
- Maintenance alerts stay account-wide: one email covers every plane, grouped by tail number.
- Build your Status Sheet — add maintenance items with a calendar or hours cycle. Rows are drag-reorderable, and you can insert title rows to group them.
- Set your hours — enter current Hobbs time and time in service manually, or let the log book keep them current.
- Log flights — add entries by hand, or upload a Garmin CSV and Aviary computes the times and updates your meters.
Aviary is also an MCP server, so an AI assistant can import your existing maintenance records — a spreadsheet, a typed list, another tracker's export — into your Status Sheet.
The easiest way in is the Import with AI button on the dashboard — it shows the address with a Copy button and these same steps.
Connect (one time):
- In your AI assistant, add a custom connector (also called a remote MCP server).
- Paste the address:
https://aviary.danielibarra.com/mcp - When the assistant asks you to sign in, log in to Aviary and click Allow.
You sign in on Aviary's own login page; the assistant never sees your password. The assistant must support remote MCP servers with OAuth sign-in.
Import:
- Give the assistant your records — paste a list or attach a spreadsheet — and ask it to import them into Aviary. If you track more than one aircraft, say which tail number they're for (the assistant can list your aircraft).
- It shows you a proposal first: the items it will add, anything flagged for you to check (unclear dates, no due date, items you already have), and any rows it couldn't use and why.
- Tell it to go ahead. The items are added to the bottom of your Status Sheet. Nothing is added before you confirm, and existing items are never changed or deleted.
Any row with a name can be imported — including on-condition items with no dates. Values that can't be used are left blank with a note.
Disconnect: open Import with AI on the dashboard; your connected assistants are listed with a Disconnect button, plus what each one imported. A disconnected assistant is cut off on its next request.
Aviary is a single Spring Boot 3.4.3 app on Java 21: server-rendered with Thymeleaf, secured with Spring Security (BCrypt, form login), data access through Spring Data JPA / Hibernate, built with Gradle. The active profile decides the database — H2 in-memory locally, PostgreSQL in production:
| Profile | Database | Use |
|---|---|---|
h2 (default) |
In-memory H2, reseeded on every boot | Local dev — zero setup |
main |
Local PostgreSQL (jdbc:postgresql://localhost:5432/AviaryService) |
Local dev against a real DB |
heroku |
Postgres from Heroku's SPRING_DATASOURCE_* vars |
Production |
The default profile (spring.profiles.active=h2) is set in application.properties, so a fresh clone runs with no database to install.
Run the server:
./gradlew bootRunThen open http://localhost:8080. The seeded H2 profile ships two logins you can use immediately:
| Username | Password |
|---|---|
DanielIbarra |
DI |
TomasIbarra |
TI |
Live frontend edits: plain
bootRunserves build-time copies ofstatic/andtemplates/, so CSS/HTML edits won't show until you rebuild. To edit and refresh without restarting, run with the source folders wired in and Thymeleaf caching off:./gradlew bootRun --args='--spring.web.resources.static-locations=file:src/main/resources/static/ --spring.thymeleaf.prefix=file:src/main/resources/templates/ --spring.thymeleaf.cache=false --spring.web.resources.cache.period=0'Java changes still need a recompile — Spring Boot DevTools (already on the classpath) restarts the app when the classes rebuild. Run
./gradlew -t classesin a second terminal for automatic recompiles.
Tests:
./gradlew test # fast unit/integration suite (JUnit)
./gradlew browserTest # full-stack Playwright suite via real Chromium (slow, opt-in)The Playwright suite lives in its own browserTest source set so it doesn't slow down ./gradlew test. First run downloads ~150 MB of browser binaries.
CI lives in .github/workflows/ci.yml and behaves differently per branch:
push to a feature branch (e.g. newfeature)
→ build + run the full unit test suite
push to main
→ build, then deploy to the STAGING Heroku app (aviarist-staging)
- Staging (
aviarist-staging) is deployed on every push tomain, authenticated with theHEROKU_API_KEYGitHub Actions secret. - Production (Heroku app
aviarist-d300b0c36379, served at the link at the top) is a separate app, promoted from staging deliberately once it looks good. - Heroku runs the app from the
Procfile(java -jar build/libs/AviaryService-0.0.1-SNAPSHOT.jar) on Java 21 (system.properties). Schema changes apply via Hibernateddl-auto=update.
/mcp is an MCP server (Spring AI, Streamable HTTP). Aviary is also its own OAuth 2.1 authorization server, so assistants sign in as an owner.
| Endpoint | POST /mcp — needs Authorization: Bearer <token>; without one you get 401 with WWW-Authenticate: Bearer resource_metadata=… |
| Discovery | /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server |
| Sign-in | Authorization code + PKCE (S256). Clients identify with a Client ID Metadata Document (an https client_id URL); Dynamic Client Registration is off |
| Tokens | Opaque, 7 days, stored SHA-256 hashed; checked against the database on every call, so Disconnect is immediate |
| Scopes | aviary.read, aviary.timeline.import |
Tools (each acts only on the signed-in owner's data):
| Tool | What it does |
|---|---|
get_import_format |
Item fields, rules, and an example |
list_aircraft |
The owner's aircraft (each has its own Status Sheet) |
add_aircraft |
Adds an empty aircraft; same rules as the dashboard (tail number unique per account, up to 25). Doesn't change which aircraft the dashboard opens on |
list_status_sheet |
One aircraft's current items |
propose_status_sheet_import |
Validates items into a proposal for one aircraft (24 h); changes nothing. With recordsTailNumber, refuses records for a plane that isn't on the account or isn't the target |
continue_poor_fit |
Continues a proposal where most rows didn't fit, after the owner agrees |
confirm_status_sheet_import |
Adds exactly the proposal's items, all or nothing |
list_flights |
The owner's logged flights |
Config: aviary.oauth.issuer (env AVIARY_OAUTH_ISSUER) is the site's public URL; the MCP address is that plus /mcp. It defaults to http://localhost:8080 locally and https://aviary.danielibarra.com on Heroku — set it on staging to the staging URL, or sign-in there points at production.
Try it locally: run ./gradlew bootRun, then add http://localhost:8080/mcp as a remote MCP server in an MCP client (or use the MCP Inspector) and sign in with a seeded account.
GET /api/public/stats feeds the live Aviary panel on danielibarra.com. It's public (no login) and read-only, and it returns only totals plus up to 10 anonymous, date-only signup lines. It never returns anything about one account.
{"users":11,"aircraft":12,"flights":25,"hoursFlown":0.0,"alertsSent":1,
"signupsLast7Days":0,"signupsLast30Days":0,
"recentSignups":[{"label":"New pilot joined","date":"2026-11-12"}],
"generatedAt":"2026-11-12T18:30:00Z"}- Cached: counts are computed at most once every 15 minutes, and only when someone asks, so the endpoint never wakes the database on a timer. Responses carry
Cache-Control: public, max-age=300. - Rate limited: 60 calls per IP per 10 minutes, then
429. - CORS: only sites in
aviary.public-stats.allowed-origins(envAVIARY_PUBLIC_STATS_ORIGINS, defaulthttps://danielibarra.com,https://www.danielibarra.com) can read it from a browser. Addhttp://localhost:5050to preview the portfolio locally. - Counts: every account is counted, test accounts included for now. Signup dates (
users.created_at) start with accounts created after this shipped; older accounts count as users but never appear in the feed.
Design and contract: specs/004-public-aviary-stats/.
The app is a small, conventional Spring MVC project under src/main/java/com/example/AviaryService/:
controllers/UserController.java— every route: auth pages, the dashboard, Status Sheet CRUD + reordering, hours updates, flight-log CRUD, the Garmin CSV parser, and "Complete Maintenance."entity/—User,StatusSheetItem,FlightLog,DescriptionOption(+ aDTO/for Status Sheet updates).repositories/— Spring Data JPA repositories, all scoped by user.config/—SecurityConfig(login/logout, BCrypt, per-route access, the/mcpbearer-token chain) andDataSeeder(the H2 demo data).oauth/— the OAuth authorization server for MCP sign-in (client metadata documents, hashed token storage, token checks).mcp/— MCP tools;services/imports/+util/StatusSheetImportRules— import proposals, confirm, and the Import with AI page's connections.resources/templates/+resources/static/— Thymeleaf views and the dashboard's CSS/JS.
Deeper design docs live in docs/ — see ARCHITECTURE.md, BACKEND.md, FRONTEND.md, DATABASE.md, and BUILD_AND_DEPLOY.md. A Share/Export feature (print / PDF / email / text) is specced in docs/specs/SHARE_EXPORT_SPEC.md but not yet built.