A Wisconsin state park sticker costs $28 a year with Wisconsin plates, and it opens 124 places: state parks, forests, trails, recreation areas and wild rivers. The DNR lists every one of them, one page at a time. What it can’t tell you is which of the 124 you can camp at in December, or where the color is best in the second week of October.

So I built getoutwi.com. Pick an activity and a month, and it lists every property where that works, best bets first, with the reason why. Version 1.0.0 shipped on October 11. Version 1.12.0 shipped six days later.

This is the tour of how it works, from the crawler to the badger.

The shape of it

Get Out & Wisconsin is a static site: plain HTML, CSS and JavaScript, no framework, no build step for the browser, hosted on GitHub Pages behind Cloudflare. The app is one hash-routed page (/#/park/devils-lake), and everything it shows comes from JSON files in data/.

The interesting parts are around that core:

Piece What it does
Crawler and builders Rebuild every fact on the site from the DNR’s public pages, every Monday
Maps MapLibre GL with keyless tiles, DNR boundaries and trail lines, 3D terrain
Live data Closures and fire danger straight from the DNR’s ArcGIS feeds; weather through a small Worker
Pre-rendered pages A real HTML page per park, region and month, so search engines and AI crawlers can read it
Ask Badge A chat that answers only from the site’s own content
Badge and the gang An SVG badger with a rig, poses, props and opinions

Facts come from the DNR, every Monday

Nothing about a park is typed in by hand if the DNR already says it. A refresh script rebuilds the whole data layer:

  1. Pull the eight pages of the DNR’s Find a Park list and parse them into the list of properties.
  2. Crawl each property’s pages, breadth first, two links deep, at most 30 pages per property, skipping PDFs, maps and news.
  3. Build boundaries and trail lines from the DNR’s public map services.
  4. Turn the crawled HTML into data/parks.json: activities, seasons, winter camping, admission rules, accessibility facilities.
  5. Pre-render the static pages and the sitemap, then check the sources.

The first thing the script does is protect itself. If the DNR redesigns its Find a Park page, the parser will find nothing, and a naive pipeline would happily publish an empty site:

count=$(python3 -I -c "import json,sys;print(len(json.load(open(sys.argv[1]))))" "$work/properties.json")
if [ "$count" -lt 100 ]; then
  echo "Only $count properties parsed from Find a Park; the DNR page layout may have changed. Not touching data/." >&2
  exit 1
fi

A GitHub Action runs the refresh every Monday. When data changes, it commits through GitHub’s createCommitOnBranch GraphQL mutation, so the commit is signed by GitHub even though it was made by a runner. Then it rebuilds Pages, and it opens an issue when something needs a human: a pass price changed, a property appeared or vanished, or one lost its coordinates.

Pass prices are the one thing I deliberately keep in code. Every price on the site reads from a single PRICES object, and the refresh compares the DNR’s numbers against a fingerprint. A flagged price change is a one-line edit, not a hunt across pages.

Some facts are judgment calls, and those stay conservative. Winter camping flags come only from the DNR’s own text. There’s a third-party “year-round reservations” list out there that would have filled in more of the map, and I didn’t use it: a wrong “yes” in December is worse than a missing one.

Maps that don’t need a key

The explore map is MapLibre GL with tiles that need no API key: USGS’s National Map for topo and imagery, OpenStreetMap, and AWS terrain tiles for the 3D flyovers. On top of that sit the DNR’s real property boundaries and state trail lines, and a season timeline you can scrub or play while a tiny Badge walks along it.

Two lessons from building it:

  • Add layers on style.load, not load. USGS tiles can be slow, and load waits for all of them. On a slow connection, the boundaries never showed up.

    const onStyle = (map, fn) => (map.isStyleLoaded() ? fn() : map.once("style.load", fn));
  • Live data should come from the source, in the browser. Park closures load from the DNR’s public WI_Park_Closures_PUBLIC_VIEW ArcGIS feed, and fire danger from its WisBURN service, at view time, with public fields only. A closure posted at 9 a.m. is on the park page at 9 a.m., not next Monday.

Weather is the exception, because OpenWeatherMap needs a key. A tiny Cloudflare Worker at getoutwi.com/api/* holds the key as a secret, proxies the request and caches the answer at Cloudflare’s edge for 15 minutes. The key never reaches the browser or the repo.

Pages robots can read

A hash-routed single-page app is invisible to search engines, social-media link previews and AI crawlers: they all see one empty page. So the build pre-renders real HTML: a page for each of the 124 properties, each of the six regions and each month. Each has its own title, description, share image and JSON-LD (Park, BreadcrumbList, FAQPage), plus quick answers computed from the data: the best months, which pass you need, winter camping, the closest neighbors.

Each static page hands off to the full app the moment its JavaScript loads, so people get the interactive version and crawlers get the text. A check runs on every pull request: it rebuilds the pages, fails if the committed copies don’t match, and then checks every page for a title, a description, one <h1>, enough words, a canonical URL, alt text and no broken internal links.

Ask Badge: a chatbot that knows when to say “I don’t know”

Every page has an Ask Badge button. Ask “Where can I camp in winter?” or “Do I need a sticker to bike the Elroy-Sparta?” and Badge answers in a few sentences, linking the pages he used.

It’s retrieval-augmented generation (RAG) on Cloudflare, and small on purpose:

  • The page build writes the site’s content as about 750 chunks: every park and its quick answers, the month guides, the pass prices and FAQ.
  • A Worker embeds them into Vectorize and re-indexes itself on a cron whenever they change.
  • For each question, it embeds the question, takes the six closest chunks, drops anything below a similarity score of 0.55, and has Workers AI (Llama 3.1 8B) answer from those chunks alone.

The prompt is where it earns its trust:

Answer ONLY from the CONTEXT below. Never use outside knowledge, and never
invent parks, prices, hours or rules. If the CONTEXT doesn't answer the
question, reply exactly: "That's not covered on this site."

If no chunk clears the score, Badge doesn’t even call the model; he just says it isn’t covered. For anything live, like closures, trail conditions, weather or fire danger, he points to the park page’s live notices instead of guessing.

The guards keep it free and polite. Requests must come from the site itself, an invisible Cloudflare Turnstile check stops bots, each visitor gets 6 questions a minute, and the whole site gets 400 answers a day. After that Badge “is resting after a busy day of questions,” which keeps the bill inside Workers AI’s free daily allowance. Questions are never logged or stored. The only things the Worker writes are a daily counter and the index state.

And if you open the chat and say nothing for ten seconds, Badge types for a moment and tells you a Wisconsin state-symbol fact, sometimes with a little animated scene: reeling in a muskie, or a deer stepping out of the pines. Those come from a file of facts and art, not the AI, so they don’t count toward the cap.

Badge and the gang

Badge the badger chases a squirrel across a Wisconsin ridge at sunset while a rabbit hops the other way, Sasquatch strolls the far ridge, and map pins drop onto the hills.
Badge, the squirrel, the rabbit, the birds and Sasquatch, drawn from the site's own SVG code.

Badge started out as “Bucky.” Bucky Badger belongs to UW–Madison, though, so he became Badge: an original badger with a blaze-orange beanie, a red buffalo-check flannel, pack straps, boots and a park sticker on his chest. No striped sweater, no “W.”

He’s not an image. He’s an SVG rig, built in code. Arms are tubes of ink outline around flannel fill, rooted inside the shoulders and drawn behind the torso, so they can swing without seams. He has poses (waving, walking, running, cheering, shrugging), props that follow the season (a fishing rod in summer, a scarf in winter, a lantern after dark), and eyes that follow your cursor.

His head, on the Ask Badge button, runs on a little antics engine:

const HEAD_ANTICS = [["bobble", 1300, 3], ["wink", 700, 2], ["blink2", 600, 2],
  ["hat", 1700, 2], ["yawn", 2200, 1], ["sniff", 900, 2], ["ears", 900, 2],
  ["turn", 2600, 1], ["tongue", 2600, 2]];

Each entry is an antic, how long it takes and how often it gets picked. My favorite rule: the tongue only comes out when nobody’s looking. If the pointer has been still for six seconds, or the page doesn’t have focus, he might stick his tongue out. Move toward him and it ducks right back in.

Then there’s the gang. On the home page ridge, Badge offers seasonal tips, chases a squirrel off the page, hops after a rabbit, leaps at swooping birds, and lets one perch on his beanie. Above the footer, he plays tag with the rabbit and the squirrel: they hide in bushes and behind trees, and every minute or so Sasquatch chases everyone off the page, comes back to wave at you, and wanders off so the game can start again. Everything respects reduced motion.

The art for this post is built from the same code. The knock at the top and the chase above don’t redraw Badge; they reuse his actual SVG rig and his critters, then add a camera, a pane of glass, and an arm that would really like your attention.

What I’d tell you if you’re building one

  • Let the source of truth rebuild you. A weekly crawl beats a hand-maintained spreadsheet, as long as it refuses to publish when the source breaks.
  • Live data belongs in the browser, straight from the source. Cache only what you have to proxy.
  • Pre-render for robots, hydrate for people. You get a fast app and real pages to share and to find.
  • Make the AI say “I don’t know” before you make it clever. A score threshold and one strict sentence in the prompt did more for trust than any model upgrade would.
  • Give it a character. A list of 124 parks is useful. A badger who knocks on the glass is memorable.

Go get out: getoutwi.com. And if Badge knocks, let him in.