Personal apps

FareHub

Fare tracking

Platform
  • Web
Status
Shipping
Stack
Node, Express

FareHub watches Allegiant Air round-trip fares. Every morning a scheduled run on APP11 prices each saved search from several origin airports to one destination for the exact dates and party size, stores the result, and emails a report. The left side of each table shows what Allegiant is charging; the right side shows what the trip actually costs, airfare for the whole party plus the drive to and from each airport at the configured mileage rate, and when you would have to leave home and when you would be back. Rows sort by total cost, the cheapest is highlighted, and a delta against the previous run shows whether a fare rose or fell.

Allegiant has no public API and its booking site sits behind a bot check, so the run drives a real Chrome window with a persistent profile, borrows the headers the site’s own client uses, and issues the fare query from inside the page. The page itself is never scraped. One session serves every origin with a short pause between calls, and a failed origin does not stop the others.

The web UI manages searches, airports, and settings without a login. Airport drive miles and minutes are looked up from Google on demand, never during a fare run, and each lookup records where it measured from and what it matched so a stale or wrong figure is visible. Dashboard shows the latest results with a thirty-day airfare chart per search and a Check now button; Runs lists every run with its status; Schedule shows what the Windows task is set to do. All history is kept in SQLite and never pruned. The email is table-based HTML with inlined CSS and Font Awesome icons attached as images, so it survives Outlook and Gmail.