How 4,380 Local Classes Are Listed as Static HTML

Résumé

Pixel shares how Local Class List serves 4,380 hand-checked classes across 43 US cities using static HTML, with no framework, database, or scraping. The announcement explains its verification rules for provider websites, accurate prices and schedules, and local listings—showing how simple engineering choices can support trustworthy community resources.

DEV Community

No framework, no database, no scraping — how I serve 4,380 verified local classes as static HTML

Search for a pottery class in Los Angeles and you will still land on pages that were scraped months ago, list a studio that no longer offers the session, or hide the price behind "call us." I got tired of that, so I built Local Class List: a hand-checked directory of pickleball, mahjong, dance, tennis, pottery, and flower arranging classes across 43 US cities. As of November 2026 the site lists 4,380 classes. Every one of them was checked against the provider's own website. You book on that site, at their price. I don't run checkout, and I don't add a fee. This post is a recap of the product rules that actually matter, and of the deliberately small stack I used to ship them. The hard problem is not rendering pages A local class directory dies when the data goes stale. The engineering work that matters is the set of rules that decide what is allowed to be a listing at all. They are public on the verification page, and they are stricter than a scraper would like: Own website only. A class is listed only if it is published on the provider's own site, and booking stays there. Classes sold only through a third-party ticketing platform are out. Real prices, never guessed. If the provider publishes a price, I copy it from that page. If they don't, the listing still goes up, with "See provider site" in the price slot — never an estimate. A class is marked free only when the provider actually says it is free. Real schedules. Dated sessions have to be in the future. Standing weekly or monthly programs are listed with their cadence, and any dates derived from a cadence are labeled as derived. One program, one listing. A six-week series is one listing with all of its sessions, not six duplicates. Local means local. A class is filed under the metro it belongs to, but the page always names the town where it actually meets. Suburbs are not relabeled as the anchor city. Listings are re-checked on a rolling, seasonal cycle, and each class page shows the month it was last checked. When a price or date is wrong, I go back to the provider's page and fix or remove the row. Those rules are why I did not start with a crawl. A crawler is fast at copying the open web, including the stale copies of the open web. I needed a file I was willing to put my name on. The stack is a JSON source of truth, a Python build, and Cloudflare There is no application server and no database in production. Each verified class lives in structured JSON. A Python build reads that file and writes static HTML: a home page, six category hubs, 43 city pages, 237 city-and-category pages, 4,380 class pages, plus a handful of utility pages (how we verify, for providers, tools, terms). The public sitemap currently has 4,677 URLs. Cloudflare serves those files from the edge. The HTML you get for a city or class page is pre-rendered. There is no React tree, no hydration, and no origin database round-trip on a cache hit. The only dynamic path I need at the edge is /go/{slug}. A booking button goes through that short redirect on my own domain, then 302s to the provider's page. Cache-Control is no-store on that hop, because the destination can change when a provider moves a booking URL. The redirect exists so I can count outbound clicks in aggregate and share totals with the studio they belong to. It is not a checkout. Client-side behavior is one vanilla JavaScript file. It does four jobs: Remember a city preference in localStorage, or guess the nearest metro once from a location prompt. Power site search and the free tools from a single static index, /assets/search-index.json — 4,380 compact records, about 2.8 MB, cached at the edge like everything else. Hide classes that have already ended, so a search result does not keep showing a session between rebuilds. Fire a provider_click analytics event when someone actually leaves to book. Search also folds in a few real-world spellings: "mahjongg," "mah jongg," "pickle ball," "ikebana." That is cheaper than a search appliance, and it is...
How 4,380 Local Classes Are Listed as Static HTML
Powered by Readybot.io

Les dernières actus de Pixel

Incident Response: Look Beyond the Red Alert

Pixel’s DEV Community announcement explores how teams can fixate on one failing service while overlooking the real cause of an outage, such as a full …

Sach: AI Fact-Checks WhatsApp Forwards in India

Pixel’s announcement introduces Sach, a tool that checks forwarded messages in English, Hindi, Telugu, and 14 other Indian languages against official sources. It gives cited …

Java 25 Removes SecurityManager: What to Fix

Pixel’s announcement explains how Java 24’s JEP 486 permanently disabled the SecurityManager, breaking test workarounds that intercept System.exit. It recommends returning exit codes or throwing …