Site tools

Update ATHRECS with Grok

Publish the site from the Grok App Builder, then keep fixtures fresh here: ask Grok to extract races, paste the JSON, or bulk-load a CSV. Live listings use the same Race cards as the public Events page.

Database status

Checking database…

1. Go live (publish)

  1. In this Grok chat, use Publish so the app deploys to a public URL (Vercel).
  2. Optional: attach your domain (e.g. athrecs.com) in the host’s domain settings after the first successful publish.
  3. For lasting multi-user data, set a Postgres DATABASE_URL (Neon) on the deployment — otherwise each serverless cold start can reset to the built-in seed + this session’s imports.

2. Grok extract → paste JSON

Open a new Grok chat, paste the prompt, add a race URL or fixture list, then paste Grok’s JSON below and import.

3. CSV bulk import

Header row required. One row per race-day (distance). Same event name groups into one series with multiple editions.

4. Results import (append-only)

Paste { results: [...] } JSON. Creates athletes/clubs as needed and upserts finish times against an existing edition. Does not wipe the seed.

Catalogue ( events)

View public Events
EventSportCityEditionsLatest date

Public listing preview