The repo is organized around the static site root, with optional subdirectories for the embed widget (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/samgutentag/sbburgerweek/llms.txt
Use this file to discover all available pages before exploring further.
/embed), stats dashboard (/stats), GitHub Actions (/.github/workflows), and the Cloudflare Worker (/workers/track). There is no src/ or dist/ directory — what you see in the repo root is exactly what gets served by GitHub Pages.
Complete file tree
Files to edit when forking
When creating a new event map from this repo, these are the only files you need to change:| File | What to change |
|---|---|
config.js | All event identity fields (eventName, eventDates, emoji, siteUrl, mapCenter, etc.), integration keys (trackUrl, cfAnalyticsToken), and event dates (eventStartDate, eventEndDate, dataLiveDate) |
data.js | Skeleton restaurant list — names, addresses, coordinates, and area assignments (no menu details yet) |
data-YYYY.js | Full restaurant data file with menu items — create a new file named after your event year (e.g. data-2027.js) |
workers/track/wrangler.toml | Replace ACCOUNT_ID with your Cloudflare account ID and rename the dataset value to match your event |
.github/workflows/fetch-hours.yml | Uncomment the schedule: block and update the cron date range to match your event dates |
.github/workflows/snapshot-tracking.yml | Uncomment the schedule: block and update the cron date range |
venmo_qr.png | Replace with your own Venmo QR code image (any square PNG works) |
config.js, always run python3 apply-theme.py — this propagates your config changes into the HTML files, OG image, CNAME, README, and Worker SQL dates.
Files managed by apply-theme.py
The following files are auto-generated or auto-patched byapply-theme.py and should not be edited manually. Any manual edits will be overwritten the next time apply-theme.py runs:
og-image.svg— event name, dates, emoji, and domain are written fromconfig.jsog-image.png— rendered fromog-image.svgusing ImageMagick with Twemoji emoji compositingCNAME— custom domain derived fromTHEME.siteUrlindex.html— analytics snippet (Cloudflare Web Analytics token), favicon emoji, and the concluded-event bannerembed/index.html— favicon emoji and showcase titleembed/map/index.html— favicon emoji, embed bar title, full map link, and contact emailadmin/index.html— event-specific fields for the admin search query viewerstats/index.html— favicon emoji, page title, and concluded-event bannerREADME.md— Hits badge domain URL and embed iframe snippetworkers/track/index.js— event start date in the SQLWHERE timestamp >=filters
Generated at runtime / do not commit from a fork
| File / path | Why it should not be committed from a fork |
|---|---|
tracking-snapshot.js | Contains serialized stats from the previous event; stale data will appear on /stats |
snapshots/tracking-YYYY-MM-DD.json | Auto-committed by snapshot-tracking.yml during your event; old snapshots from the previous event have no meaning in a fork |
snapshots/hourly-events.json | Created by snapshot-hourly.sh at wind-down; previous event’s hourly data |
snapshots/hourly-labels.json | Created by snapshot-hourly.sh at wind-down; previous event’s per-label hourly data |