Skip to content

Repository files navigation

crosbynews.com

Live weather and local news for Crosby, Texas — fast, ad-free, no trackers. The whole site is a single Cloudflare Worker with no framework and no runtime dependencies.

What it does

  • Weather — current conditions, a 12-hour strip, a 7-day forecast, and any active alerts for Crosby, TX (northeast Harris County), refreshed every 15 minutes from the U.S. National Weather Service (api.weather.gov). The homepage is a hub with the highlights of everything below.
  • Hourly — the full 48-hour forecast table.
  • Radar — the NWS KHGX (Houston-Galveston) radar loop, which covers Crosby.
  • Alerts — active NWS alerts plus a plain-language severe-weather guide, with opt-in push notifications for life-threatening warnings.
  • Water Levels — live river/bayou flood gauges for the waters around Crosby (NOAA/NWS NWPS).
  • Fishing — live USGS water conditions (temperature, dissolved oxygen, pH, clarity) for the waters people fish near Crosby: Lake Houston, the San Jacinto forks, the Trinity River, and nearby bayous.
  • Tropics — the Atlantic tropical outlook from the National Hurricane Center.
  • Air Quality — the measured U.S. Air Quality Index for the Houston-Galveston-Brazoria area (which includes Crosby) from EPA/AirNow monitors, with a per-pollutant breakdown and health guidance.
  • Pollen & Mold — the Houston Health Department's measured daily tree, weed, grass, and mold count for the Crosby area, published weekday mornings.
  • Traffic — road incidents and lane closures on the Crosby-area corridors, from Houston TranStar.
  • News — local headlines for Crosby and nearby communities.
  • School Calendar — Crosby ISD calendar (holidays, early-release, testing, athletics) with one-tap subscribe links.
  • Emergency — emergency numbers, alert channels, flood tools, and hurricane-prep resources for NE Harris County.
  • About — what the site is and where the data comes from; Developers — the API/agent surface on one page.
  • Privacy — no cookies, no trackers, no personal data; Contact — general and security addresses; Sitemap — every page and endpoint.

Every page is also available in Mexican Spanish (es-MX) under an /es prefix — e.g. /es, /es/hourly, /es/alerts.

Built for agents, too

Every page is content-negotiated — send Accept: text/markdown (or add ?format=md to any URL) for a clean Markdown rendering. The site also exposes:

Connect the MCP server from Claude Code:

claude mcp add --transport http crosbynews https://crosbynews.com/mcp

Stack

  • Cloudflare Workers (ES modules) + Workers KV for the cached forecast.
  • No framework and no runtime dependencies — the Worker imports nothing. The source under src/ is bundled by Wrangler (esbuild) at deploy time, which CI exercises on every pull request via wrangler deploy --dry-run. wrangler.jsonc is the config.
  • A 15-minute cron refreshes the cached NWS forecast and alerts (and, on a slower cadence, the school calendar, river gauges, and tropical outlook).
  • Data: U.S. National Weather Service (public domain), NOAA NWPS and NHC, EPA (UV), EPA/AirNow (measured air quality, Open-Meteo modeled fallback), the Houston Health Department (pollen & mold), the U.S. Geological Survey (fishing-water conditions), Houston TranStar (traffic), Crosby ISD, and Google News.

Develop

npm install
npx wrangler dev      # run locally
npx wrangler deploy   # deploy (CI also deploys on push to main)

Independent project — not affiliated with the National Weather Service, NOAA, or any government agency. Weather data courtesy of the U.S. National Weather Service.