🧭 Overview
- Cloudflare Workers site powering the I-House Pub’s web presence at pub.ihnyc-rc.org
- Serves a public landing page, an in-venue TV signage display, and a live
/api/eventsendpoint backed by Notion - A resident-led initiative; operated by Affective Technologies LLC in partnership with AVI Foodsystems
Sources: worker.js, wrangler.toml, public/index.html
📄 Pages
| Path | Purpose |
|---|---|
/ | Public landing page — pub hours widget, navigation links |
/tv/ | TV signage display for in-venue screens |
/menu/ | Menu (placeholder) |
/specials/ | Drink specials (placeholder) |
/events/ | Events (placeholder) |
/announcements/ | Announcements (placeholder) |
/pub-tenders/ | Pub Tenders (placeholder) |
/resources/ | Resources (placeholder) |
/tutorials/ | Tutorials (placeholder) |
Sources: public/index.html, public/tv/index.html, worker.js, wrangler.toml
🔑 Key Features
- Live event data —
/api/eventsreturns today’s events, the week ahead, announcements, pub hours, and on-duty tender from a Notion-backed worker response cached for 2 minutes at the edge - TV display — full-screen 16:9 dark-theme signage board with auto-scrolling panels, live status badges, and a per-minute event re-evaluation cycle
- Serving-hours widgets — both
/and/tv/keep overnight shifts attached to the originating shift day usingAmerica/New_Yorktime, even after midnight - RC classification — events tagged
RC-Direct(organized by an RC member) orRC-Affiliate(resident-led, RC-supported) display a branded badge with the RC logo - Pub tender footer — shows who’s on duty, serving hours, and live shift state (Setting up → On duty → Last call → Cleaning / closed)
- Edge caching — API responses cached for 2 minutes at the Cloudflare edge