Buffalo Trace Bourbon Availability Tracker
Buffalo Trace Distillery rotates allocated bourbons (Blanton’s, E.H. Taylor, Eagle Rare, Weller) at its Frankfort, KY Gift Shop each morning. I built a zero-dependency Python pipeline on GitHub Actions that polls the distillery during morning release windows, deduplicates state changes, dispatches instant mobile push and BCC email alerts, and streams the live JSON feed directly into the dashboard below.
Live Distillery Gift Shop Lineup
Automatically synced from last_state.json in the tracker repository.
Fetching today’s bourbon availability…
How the pipeline works
- Dual-layer parser: Extracts structured
in_stockbooleans directly from Buffalo Trace’s embedded Next.js React Server Components (RSC) payload, with an automatic fallback to rendered HTML and SVG badge inspection. - Gift Shop window polling: Polls every 15 minutes during release hours (7:45–9:15 AM ET Monday–Saturday; 7:45–11:30 AM ET Sunday) with off-peak cron scheduling to avoid GitHub runner congestion.
- State-based deduplication: Compares the live bottle list against
last_state.jsonso it alerts the exact minute the morning lineup flips without sending duplicate spam on subsequent 15-minute checks.
Multi-channel alerting & live feed
- Personalized wishlist routing: Matches in-stock bottles against each subscriber's profile in
subscribers.jsonso recipients only receive alerts for the bottles they want. - Instant lock-screen push: Dispatches high-priority mobile notifications via
ntfy.sh(replacing retired carrier email-to-SMS gateways like AT&T). - Private email delivery: Sends personalized HTML + plain-text availability emails via Gmail SMTP with full recipient privacy.
- Zero-rebuild web integration: Commits the updated product snapshot to
last_state.jsonon GitHub, which this page fetches client-side on load.