Bali has thousands of events a week, scattered across Instagram stories, Telegram chats and venue websites. We built a calendar that gathers them into one place. This post is about how it stays fresh without a heavy backend.
The shape of the system
A bot collects events from public sources and exports one JSON file.
An Astro site turns that file into roughly 11,800 static pages: areas, categories, venues, days and guides.
A Cloudflare Worker with D1 and KV handles the small dynamic parts, such as subscriptions and counters.
A scheduled job rebuilds and deploys the site every hour, then pings search engines about changed URLs.
Why static
Event pages are read far more than they are written. Static HTML on a CDN is cheap, fast on slow mobile networks, and easy to crawl.…